7 #include "PlusConfigure.h" 10 #include "vtkIGSIOTrackedFrameList.h" 11 #include "vtkIGSIOTransformRepository.h" 12 #include "igsioCommon.h" 39 this->Superclass::PrintSelf( os, indent );
45 XML_VERIFY_ELEMENT( processingElement, this->
GetTagName() );
52 XML_VERIFY_ELEMENT( processingElement, this->
GetTagName() );
67 for (
unsigned int frameIndex = 0; frameIndex < this->
InputFrames->GetNumberOfTrackedFrames(); frameIndex++ )
69 igsioTrackedFrame* inputFrame = this->
InputFrames->GetTrackedFrame( frameIndex );
75 LOG_ERROR(
"Failed to set repository transforms from tracked frame!" );
83 igsioTrackedFrame* outputFrame = this->
OutputFrames->GetTrackedFrame( this->
OutputFrames->GetNumberOfTrackedFrames() - 1 );
virtual PlusStatus Update()
virtual ~vtkPlusTrackedFrameProcessor()
vtkCxxSetObjectMacro(vtkPlusTrackedFrameProcessor, InputFrames, vtkIGSIOTrackedFrameList)
vtkPlusTrackedFrameProcessor()
vtkIGSIOTransformRepository * TransformRepository
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual const char * GetProcessorTypeName()=0
vtkIGSIOTrackedFrameList * InputFrames
virtual PlusStatus ProcessFrame(igsioTrackedFrame *inputFrame, igsioTrackedFrame *outputFrame)=0
Simple interface class to allow running various algorithms that process tracked frame lists.
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *processingElement)
virtual void SetInputFrames(vtkIGSIOTrackedFrameList *inputFrames)
vtkIGSIOTrackedFrameList * OutputFrames
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *processingElement)
static const char * GetTagName()
virtual void SetTransformRepository(vtkIGSIOTransformRepository *transformRepository)