PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
vtkPlusConoProbeLinkCommand.h
Go to the documentation of this file.
1 /*=Plus=header=begin======================================================
2  Program: Plus
3  Copyright (c) Laboratory for Percutaneous Surgery. All rights reserved.
4  See License.txt for details.
5 =========================================================Plus=header=end*/
6 
7 /*=========================================================================
8 Date: Ag 2015
9 Authors include:
10 - Mikael Brudfors [*] brudfors@hggm.es
11 - Javier Pascau [*][ç] jpascau@hggm.es
12 [*] Laboratorio de Imagen Medica, Hospital Gregorio Maranon - http://image.hggm.es/
13 [ç] Departamento de Bioingeniería e Ingeniería Aeroespacial. Universidad Carlos III de Madrid
14 =========================================================================*/
15 
16 #ifndef __vtkPlusConoProbeLinkCommand_h
17 #define __vtkPlusConoProbeLinkCommand_h
18 
19 #include "vtkPlusServerExport.h"
20 
21 #include "vtkPlusCommand.h"
22 
24 
30 class vtkPlusServerExport vtkPlusConoProbeLinkCommand : public vtkPlusCommand
31 {
32 public:
33  static vtkPlusConoProbeLinkCommand* New();
35  virtual void PrintSelf(ostream& os, vtkIndent indent);
36  virtual vtkPlusCommand* Clone() { return New(); }
37 
39  virtual PlusStatus Execute();
40 
42  virtual PlusStatus ReadConfiguration(vtkXMLDataElement* aConfig);
43 
45  virtual PlusStatus WriteConfiguration(vtkXMLDataElement* aConfig);
46 
48  virtual void GetCommandNames(std::list<std::string>& cmdNames);
49 
51  virtual std::string GetDescription(const std::string& commandName);
52 
53  vtkGetStdStringMacro(ConoProbeDeviceId);
54  vtkSetStdStringMacro(ConoProbeDeviceId);
55 
56  void SetNameToShow();
57 
62  vtkPlusOptimetConoProbeMeasurer* GetConoProbeDevice(const std::string& conoProbeDeviceID);
63 
64 protected:
66  virtual ~vtkPlusConoProbeLinkCommand();
67 
68 protected:
69  std::string ConoProbeDeviceId;
70 
71 private:
73  void operator=(const vtkPlusConoProbeLinkCommand&);
74 
75 };
76 
77 #endif
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.
igsioStatus PlusStatus
Definition: PlusCommon.h:40
vtkGetStdStringMacro(Name)
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *aConfig)
vtkSetStdStringMacro(Name)
virtual void GetCommandNames(std::list< std::string > &cmdNames)=0
virtual vtkPlusCommand * Clone()
This command allows for communicating with the OptimetConoProbe device.
Interface for the Optimet ConoProbe This class talks with Optimet ConoProbe over the Optimet Smart32 ...