7 #ifndef __vtkPlusStartStopRecordingCommand_h 8 #define __vtkPlusStartStopRecordingCommand_h 10 #include "vtkPlusServerExport.h" 28 virtual void PrintSelf(ostream& os, vtkIndent indent);
44 virtual std::string
GetDescription(
const std::string& commandName);
55 vtkGetMacro(EnableCompression,
bool);
56 vtkSetMacro(EnableCompression,
bool);
58 vtkGetMacro(PauseOnStart,
bool);
59 vtkSetMacro(PauseOnStart,
bool);
64 void SetNameToStart();
65 void SetNameToSuspend();
66 void SetNameToResume();
68 void SetNameToHeader();
87 bool EnableCompression;
89 std::string CodecFourCC;
90 std::string OutputFilename;
91 std::string CaptureDeviceId;
92 std::string ChannelId;
94 std::map<std::string, std::string> RequestedCustomHeaders;
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
This is an abstract superclass for commands in the OpenIGTLink network interface for Plus.
vtkGetStdStringMacro(Name)
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *aConfig)
vtkSetStdStringMacro(Name)
virtual vtkPlusCommand * Clone()=0
virtual void GetCommandNames(std::list< std::string > &cmdNames)=0
Manages devices that record image or positional data.
This command starts and stops capturing with a vtkPlusVirtualCapture capture on the server side.