7 #ifndef __vtkPlusVirtualVolumeReconstructor_h 8 #define __vtkPlusVirtualVolumeReconstructor_h 10 #include "vtkPlusDataCollectionExport.h" 28 void PrintSelf(ostream& os, vtkIndent indent);
33 virtual PlusStatus GetReconstructedVolumeFromFile(
const std::string& inputSeqFilename, vtkImageData* reconstructedVolume, std::string& errorMessage);
39 PlusStatus GetReconstructedVolume(vtkImageData* reconstructedVolume, std::string& outErrorMessage,
bool applyHoleFilling =
true);
46 PlusStatus UpdateTransformRepository(vtkIGSIOTransformRepository* sharedTransformRepository);
52 vtkGetMacro(EnableReconstruction,
bool);
57 void SetEnableReconstruction(
bool aValue);
66 vtkSetStdStringMacro(OutputVolFilename);
67 vtkGetStdStringMacro(OutputVolFilename);
70 vtkSetStdStringMacro(OutputVolDeviceName);
71 vtkGetStdStringMacro(OutputVolDeviceName);
74 void SetOutputOrigin(
double* origin);
77 void SetOutputSpacing(
double* spacing);
80 void SetOutputExtent(
int* extent);
82 vtkGetMacro(TotalFramesRecorded,
long int);
105 void SetRequestedFrameRate(
double aValue);
106 vtkGetMacro(RequestedFrameRate,
double);
116 PlusStatus AddFrames(vtkIGSIOTrackedFrameList* trackedFrameList);
119 double GetSamplingPeriodSec();
vtkSmartPointer< vtkPlusVolumeReconstructor > VolumeReconstructor
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkPlusDataCollector * DataCollector
virtual void InternalWriteOutputChannels(vtkXMLDataElement *rootXMLElement)
virtual vtkPlusDataCollector * GetDataCollector()
Abstract interface for tracker and video devices.
virtual bool IsVirtual() const
bool EnableReconstruction
virtual PlusStatus InternalConnect()
virtual bool IsTracker() const
double m_NextFrameToBeRecordedTimestamp
long int TotalFramesRecorded
virtual double GetAcquisitionRate() const
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *)
double m_LastAlreadyRecordedFrameTimestamp
virtual PlusStatus Reset()
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *)
Manages devices that record image or positional data.
std::string OutputVolDeviceName
std::string OutputVolFilename
const int m_SamplingFrameRate
Reconstructs a volume from tracked frames.
double RequestedFrameRate
vtkSmartPointer< vtkIGSIORecursiveCriticalSection > VolumeReconstructorAccessMutex
virtual PlusStatus NotifyConfigured()
virtual PlusStatus InternalDisconnect()
vtkSmartPointer< vtkIGSIOTransformRepository > TransformRepository
virtual int OutputChannelCount() const
double LastRecordedFrameTimestamp
virtual PlusStatus InternalUpdate()
static vtkPlusDevice * New()