7 #ifndef __vtkPlusDataCollector_h 8 #define __vtkPlusDataCollector_h 11 #include "igsioCommon.h" 12 #include "vtkPlusDataCollectionExport.h" 16 #include <vtkObject.h> 22 class vtkXMLDataElement;
37 virtual void PrintSelf(ostream& os, vtkIndent indent)
VTK_OVERRIDE;
42 PlusStatus ReadConfiguration(vtkXMLDataElement* aConfig);
43 PlusStatus ReadConfiguration(
const std::string& fileName);
47 PlusStatus WriteConfiguration(vtkXMLDataElement* aConfig);
52 void SetDeviceFactory(vtkSmartPointer<vtkPlusDeviceFactory> factory);
120 PlusStatus DumpBuffersToDirectory(
const char* aDirectory);
127 PlusStatus GetTrackingData(
vtkPlusChannel* aRequestedChannel,
double& aTimestampFrom, vtkIGSIOTrackedFrameList* aTrackedFrameList);
134 virtual PlusStatus GetVideoData(
vtkPlusChannel* aRequestedChannel,
double& aTimestamp, vtkIGSIOTrackedFrameList* aTrackedFrameList);
144 bool GetStarted()
const;
150 bool GetConnected()
const;
153 vtkSetMacro(StartupDelaySec,
double);
155 vtkGetMacro(StartupDelaySec,
double);
Abstract interface for tracker and video devices.
std::vector< vtkPlusDevice * >::const_iterator DeviceCollectionConstIterator
vtkSmartPointer< vtkPlusDeviceFactory > DeviceFactory
std::vector< vtkPlusDevice * > DeviceCollection
Manages devices that record image or positional data.
Factory class of supported devices.
Contains an optional timestamped circular buffer containing the video images and a number of timestam...