-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvtkMRMLRobotDisplayNode.h
More file actions
99 lines (68 loc) · 2.56 KB
/
Copy pathvtkMRMLRobotDisplayNode.h
File metadata and controls
99 lines (68 loc) · 2.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/*=auto=========================================================================
Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
See Doc/copyright/copyright.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Program: 3D Slicer
Module: $RCSfile: vtkMRMLCurveAnalysisNode.h,v $
Date: $Date: 2006/03/19 17:12:29 $
Version: $Revision: 1.3 $
=========================================================================auto=*/
#ifndef __vtkMRMLRobotDisplayNodee_h
#define __vtkMRMLRobotDisplayNodee_h
#include "vtkMRML.h"
#include "vtkMRMLNode.h"
#include "vtkMRMLStorageNode.h"
#include "vtkObject.h"
#include "vtkProstateNavWin32Header.h"
class VTK_PROSTATENAV_EXPORT vtkMRMLRobotDisplayNode : public vtkMRMLNode
{
public:
//----------------------------------------------------------------
// Constants Definitions
//----------------------------------------------------------------
//BTX
// Events
enum {
ConnectedEvent = 118944,
DisconnectedEvent = 118945,
ActivatedEvent = 118946,
DeactivatedEvent = 118947,
ReceiveEvent = 118948,
NewDeviceEvent = 118949,
};
//ETX
public:
//----------------------------------------------------------------
// Standard methods for MRML nodes
//----------------------------------------------------------------
static vtkMRMLRobotDisplayNode *New();
vtkTypeMacro(vtkMRMLRobotDisplayNode,vtkMRMLNode);
void PrintSelf(ostream& os, vtkIndent indent);
virtual vtkMRMLNode* CreateNodeInstance();
// Description:
// Set node attributes
virtual void ReadXMLAttributes( const char** atts);
// Description:
// Write this node's information to a MRML file in XML format.
virtual void WriteXML(ostream& of, int indent);
// Description:
// Copy the node's attributes to this object
virtual void Copy(vtkMRMLNode *node);
// Description:
// Get node XML tag name (like Volume, Model)
virtual const char* GetNodeTagName()
{return "RobotDisplay";};
// method to propagate events generated in mrml
virtual void ProcessMRMLEvents ( vtkObject *caller, unsigned long event, void *callData );
protected:
//----------------------------------------------------------------
// Constructor and destroctor
//----------------------------------------------------------------
vtkMRMLRobotDisplayNode();
~vtkMRMLRobotDisplayNode();
vtkMRMLRobotDisplayNode(const vtkMRMLRobotDisplayNode&);
void operator=(const vtkMRMLRobotDisplayNode&);
public:
private:
};
#endif