7 #ifndef __vtkPlusReconstructVolumeCommand_h 8 #define __vtkPlusReconstructVolumeCommand_h 10 #include "vtkPlusServerExport.h" 29 virtual void PrintSelf(ostream& os, vtkIndent indent);
45 virtual std::string
GetDescription(
const std::string& commandName);
67 vtkSetVector3Macro(OutputSpacing,
double);
69 vtkGetVector3Macro(OutputSpacing,
double);
75 vtkSetVector3Macro(OutputOrigin,
double);
77 vtkGetVector3Macro(OutputOrigin,
double);
83 vtkSetVector6Macro(OutputExtent,
int);
85 vtkGetVector6Macro(OutputExtent,
int);
87 vtkGetMacro(ApplyHoleFilling,
bool);
88 vtkSetMacro(ApplyHoleFilling,
bool);
90 void SetNameToReconstruct();
91 void SetNameToStart();
93 void SetNameToSuspend();
94 void SetNameToResume();
95 void SetNameToGetSnapshot();
99 PlusStatus ProcessImageReply(vtkImageData* volumeToSend,
const std::string& outputVolFilename,
const std::string& outputVolDeviceName, std::string& resultMessage);
113 double OutputOrigin[3];
114 double OutputSpacing[3];
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual std::string GetDescription(const std::string &commandName)=0
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *aConfig)
virtual PlusStatus Execute()=0
std::string InputSeqFilename
This is an abstract superclass for commands in the OpenIGTLink network interface for Plus.
vtkGetStdStringMacro(Name)
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *aConfig)
std::string OutputVolDeviceName
std::string VolumeReconstructorDeviceId
vtkSetStdStringMacro(Name)
std::string OutputVolFilename
virtual void GetCommandNames(std::list< std::string > &cmdNames)=0
Reconstructs a volume from tracked frames.
This command reconstructs a volume from an image sequence and saves it to disk or sends it to the cli...
virtual vtkPlusCommand * Clone()