VTK
vtkContourRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkContourRepresentation.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
59 #ifndef vtkContourRepresentation_h
60 #define vtkContourRepresentation_h
61 
62 #include "vtkInteractionWidgetsModule.h" // For export macro
64 #include <vector> // STL Header; Required for vector
65 
68 class vtkPointPlacer;
69 class vtkPolyData;
70 class vtkIdList;
71 
72 //----------------------------------------------------------------------
73 //BTX
75 {
76 public:
77  double WorldPosition[3];
79 
80  // The point id. This is blank except in the case of
81  // vtkPolygonalSurfaceContourLineInterpolator
83 };
84 
86 {
87 public:
88  double WorldPosition[3];
89  double WorldOrientation[9];
91  int Selected;
92  std::vector<vtkContourRepresentationPoint*> Points;
93 
94  // The point id. This is blank except in the case of
95  // vtkPolygonalSurfaceContourLineInterpolator
97 };
98 
100 {
101 public:
102  std::vector<vtkContourRepresentationNode*> Nodes;
103  void ClearNodes()
104  {
105  for(unsigned int i=0;i<this->Nodes.size();i++)
106  {
107  for (unsigned int j=0;j<this->Nodes[i]->Points.size();j++)
108  {
109  delete this->Nodes[i]->Points[j];
110  }
111  this->Nodes[i]->Points.clear();
112  delete this->Nodes[i];
113  }
114  this->Nodes.clear();
115  }
116 };
117 //ETX
118 
120 {
121  //BTX
122  friend class vtkContourWidget;
123  //ETX
124 public:
126 
128  void PrintSelf(ostream& os, vtkIndent indent);
130 
132 
134  virtual int AddNodeAtWorldPosition( double x, double y, double z);
135  virtual int AddNodeAtWorldPosition( double worldPos[3] );
136  virtual int AddNodeAtWorldPosition( double worldPos[3],
137  double worldOrient[9] );
139 
141 
144  virtual int AddNodeAtDisplayPosition( double displayPos[2] );
145  virtual int AddNodeAtDisplayPosition( int displayPos[2] );
146  virtual int AddNodeAtDisplayPosition( int X, int Y );
148 
150 
153  virtual int ActivateNode( double displayPos[2] );
154  virtual int ActivateNode( int displayPos[2] );
155  virtual int ActivateNode( int X, int Y );
157 
158  // Descirption:
159  // Move the active node to a specified world position.
160  // Will return 0 if there is no active node or the node
161  // could not be moved to that position. 1 will be returned
162  // on success.
163  virtual int SetActiveNodeToWorldPosition( double pos[3] );
164  virtual int SetActiveNodeToWorldPosition( double pos[3],
165  double orient[9] );
166 
168 
172  virtual int SetActiveNodeToDisplayPosition( double pos[2] );
173  virtual int SetActiveNodeToDisplayPosition( int pos[2] );
174  virtual int SetActiveNodeToDisplayPosition( int X, int Y );
176 
178 
180  virtual int GetActiveNodeSelected();
181  virtual int GetNthNodeSelected(int);
182  virtual int SetNthNodeSelected(int);
184 
187  virtual int GetActiveNodeWorldPosition( double pos[3] );
188 
191  virtual int GetActiveNodeWorldOrientation( double orient[9] );
192 
195  virtual int GetActiveNodeDisplayPosition( double pos[2] );
196 
198  virtual int GetNumberOfNodes();
199 
202  virtual int GetNthNodeDisplayPosition( int n, double pos[2] );
203 
206  virtual int GetNthNodeWorldPosition( int n, double pos[3] );
207 
208  //BTX
210 
212  //ETX
214 
217  virtual int GetNthNodeWorldOrientation( int n, double orient[9] );
218 
220 
225  virtual int SetNthNodeDisplayPosition( int n, int X, int Y );
226  virtual int SetNthNodeDisplayPosition( int n, int pos[2] );
227  virtual int SetNthNodeDisplayPosition( int n, double pos[2] );
229 
231 
234  virtual int SetNthNodeWorldPosition( int n, double pos[3] );
235  virtual int SetNthNodeWorldPosition( int n, double pos[3],
236  double orient[9] );
238 
241  virtual int GetNthNodeSlope( int idx, double slope[3] );
242 
243  // Descirption:
244  // For a given node n, get the number of intermediate
245  // points between this node and the node at
246  // (n+1). If n is the last node and the loop is
247  // closed, this is the number of intermediate points
248  // between node n and node 0. 0 is returned if n is
249  // out of range.
250  virtual int GetNumberOfIntermediatePoints( int n );
251 
253 
257  int idx, double point[3] );
259 
261 
265  double point[3] );
267 
269 
273  double point[3], vtkIdType ptId );
275 
278  virtual int DeleteLastNode();
279 
282  virtual int DeleteActiveNode();
283 
285  virtual int DeleteNthNode( int n );
286 
288  virtual void ClearAllNodes();
289 
292  virtual int AddNodeOnContour( int X, int Y );
293 
295 
297  vtkSetClampMacro(PixelTolerance,int,1,100);
298  vtkGetMacro(PixelTolerance,int);
300 
302 
304  vtkSetClampMacro(WorldTolerance, double, 0.0, VTK_DOUBLE_MAX);
305  vtkGetMacro(WorldTolerance, double);
307 
308 //BTX -- used to communicate about the state of the representation
309  enum {
310  Outside=0,
311  Nearby
312  };
313 
314  enum {
315  Inactive = 0,
318  Scale
319  };
320 //ETX
321 
323 
325  vtkGetMacro( CurrentOperation, int );
326  vtkSetClampMacro( CurrentOperation, int,
330  { this->SetCurrentOperation( vtkContourRepresentation::Inactive ); }
332  { this->SetCurrentOperation( vtkContourRepresentation::Translate ); }
334  {this->SetCurrentOperation( vtkContourRepresentation::Shift ); }
336  {this->SetCurrentOperation( vtkContourRepresentation::Scale ); }
338 
339  // Descirption:
340  // Set / get the Point Placer. The point placer is
341  // responsible for converting display coordinates into
342  // world coordinates according to some constraints, and
343  // for validating world positions.
346 
348 
353 
355 
356  virtual void BuildRepresentation()=0;
357  virtual int ComputeInteractionState(int X, int Y, int modified=0)=0;
358  virtual void StartWidgetInteraction(double e[2])=0;
359  virtual void WidgetInteraction(double e[2])=0;
361 
363 
365  virtual int RenderOverlay(vtkViewport *viewport)=0;
366  virtual int RenderOpaqueGeometry(vtkViewport *viewport)=0;
370 
372 
374  void SetClosedLoop( int val );
375  vtkGetMacro( ClosedLoop, int );
376  vtkBooleanMacro( ClosedLoop, int );
378 
380 
382  virtual void SetShowSelectedNodes(int);
383  vtkGetMacro( ShowSelectedNodes, int );
384  vtkBooleanMacro( ShowSelectedNodes, int );
386 
387 //BTX
389 
391 //ETX
393 
397 
398  vtkSetMacro(RebuildLocator,bool);
399 
400 protected:
403 
404  // Selection tolerance for the handles
407 
410 
412 
415 
416  // A flag to indicate whether to show the Selected nodes
418 
420 
421  void AddNodeAtPositionInternal( double worldPos[3],
422  double worldOrient[9], int displayPos[2] );
423  void AddNodeAtPositionInternal( double worldPos[3],
424  double worldOrient[9], double displayPos[2] );
425  void SetNthNodeWorldPositionInternal( int n, double worldPos[3],
426  double worldOrient[9] );
427 
429 
432  double worldOrient[9], int displayPos[2] );
434  double worldOrient[9], double displayPos[2] );
436 
437  virtual void UpdateLines( int index );
438  void UpdateLine( int idx1, int idx2 );
439 
440  virtual int FindClosestPointOnContour( int X, int Y,
441  double worldPos[3],
442  int *idx );
443 
444  virtual void BuildLines()=0;
445 
446  // This method is called when something changes in the point
447  // placer. It will cause all points to
448  // be updates, and all lines to be regenerated.
449  // Should be extended to detect changes in the line interpolator
450  // too.
451  virtual int UpdateContour();
453 
454  void ComputeMidpoint( double p1[3], double p2[3], double mid[3] )
455  {
456  mid[0] = (p1[0] + p2[0])/2;
457  mid[1] = (p1[1] + p2[1])/2;
458  mid[2] = (p1[2] + p2[2])/2;
459  }
460 
470  virtual void Initialize( vtkPolyData *, vtkIdList *);
471 
474  virtual void Initialize( vtkPolyData *);
475 
480 
484 
487  void ResetLocator();
488 
489  void BuildLocator();
490 
492 
493 
494 private:
495  vtkContourRepresentation(const vtkContourRepresentation&); //Not implemented
496  void operator=(const vtkContourRepresentation&); //Not implemented
497 };
498 
499 #endif
500 
vtkContourRepresentation::SetCurrentOperationToInactive
void SetCurrentOperationToInactive()
Definition: vtkContourRepresentation.h:329
vtkWidgetRepresentation.h
vtkgl::z
GLdouble GLdouble z
Definition: vtkgl.h:11754
vtkContourRepresentation::GetNthNodeSelected
virtual int GetNthNodeSelected(int)
vtkContourRepresentation::SetActiveNodeToDisplayPosition
virtual int SetActiveNodeToDisplayPosition(int pos[2])
vtkContourRepresentation::GetActiveNodeDisplayPosition
virtual int GetActiveNodeDisplayPosition(double pos[2])
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkContourRepresentation::ToggleActiveNodeSelected
virtual int ToggleActiveNodeSelected()
vtkContourRepresentation::SetActiveNodeToDisplayPosition
virtual int SetActiveNodeToDisplayPosition(double pos[2])
vtkContourRepresentation::SetNthNodeDisplayPosition
virtual int SetNthNodeDisplayPosition(int n, int pos[2])
vtkContourRepresentation::BuildLocator
void BuildLocator()
vtkContourRepresentation::GetContourRepresentationAsPolyData
virtual vtkPolyData * GetContourRepresentationAsPolyData()=0
vtkContourRepresentation::SetPointPlacer
void SetPointPlacer(vtkPointPlacer *)
vtkContourRepresentationNode::NormalizedDisplayPosition
double NormalizedDisplayPosition[2]
Definition: vtkContourRepresentation.h:90
vtkPointPlacer
Abstract interface to translate 2D display positions to world coordinates.
Definition: vtkPointPlacer.h:49
vtkContourRepresentation::GetActiveNodeWorldPosition
virtual int GetActiveNodeWorldPosition(double pos[3])
vtkContourRepresentation::DeleteActiveNode
virtual int DeleteActiveNode()
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkContourRepresentationInternals::ClearNodes
void ClearNodes()
Definition: vtkContourRepresentation.h:103
vtkContourRepresentation::SetNthNodeDisplayPosition
virtual int SetNthNodeDisplayPosition(int n, int X, int Y)
vtkContourRepresentation::SetActiveNodeToDisplayPosition
virtual int SetActiveNodeToDisplayPosition(int X, int Y)
vtkContourRepresentation::ResetLocator
void ResetLocator()
vtkContourLineInterpolator
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
Definition: vtkContourLineInterpolator.h:43
vtkContourRepresentation::AddNodeAtDisplayPosition
virtual int AddNodeAtDisplayPosition(double displayPos[2])
vtkContourRepresentation::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *w)=0
vtkContourRepresentation::Initialize
virtual void Initialize(vtkPolyData *, vtkIdList *)
vtkContourRepresentationInternals
Definition: vtkContourRepresentation.h:100
vtkTimeStamp
record modification and/or execution time
Definition: vtkTimeStamp.h:35
vtkContourRepresentationNode::WorldPosition
double WorldPosition[3]
Definition: vtkContourRepresentation.h:88
vtkContourRepresentation
represent the vtkContourWidget
Definition: vtkContourRepresentation.h:120
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkWidgetRepresentation
abstract class defines interface between the widget and widget representation classes
Definition: vtkWidgetRepresentation.h:54
vtkContourRepresentation::StartWidgetInteraction
virtual void StartWidgetInteraction(double e[2])=0
vtkgl::n
GLclampd n
Definition: vtkgl.h:14370
vtkContourRepresentation::AddNodeAtPositionInternal
void AddNodeAtPositionInternal(double worldPos[3], double worldOrient[9], double displayPos[2])
vtkContourWidget
create a contour with a set of points
Definition: vtkContourWidget.h:139
vtkContourRepresentation::FindClosestPointOnContour
virtual int FindClosestPointOnContour(int X, int Y, double worldPos[3], int *idx)
vtkInteractionWidgetsModule.h
vtkContourRepresentation::SetLineInterpolator
void SetLineInterpolator(vtkContourLineInterpolator *)
vtkgl::x
GLint GLint GLint GLint GLint x
Definition: vtkgl.h:11318
vtkContourRepresentation::GetActiveNodeWorldOrientation
virtual int GetActiveNodeWorldOrientation(double orient[9])
vtkContourRepresentation::GetNumberOfIntermediatePoints
virtual int GetNumberOfIntermediatePoints(int n)
vtkContourRepresentation::SetCurrentOperationToShift
void SetCurrentOperationToShift()
Definition: vtkContourRepresentation.h:333
vtkContourRepresentation::RenderOverlay
virtual int RenderOverlay(vtkViewport *viewport)=0
vtkContourRepresentation::ComputeMidpoint
void ComputeMidpoint(double p1[3], double p2[3], double mid[3])
Definition: vtkContourRepresentation.h:454
vtkContourRepresentation::ContourBuildTime
vtkTimeStamp ContourBuildTime
Definition: vtkContourRepresentation.h:452
vtkContourRepresentation::GetRendererComputedDisplayPositionFromWorldPosition
void GetRendererComputedDisplayPositionFromWorldPosition(double worldPos[3], double worldOrient[9], double displayPos[2])
vtkContourRepresentation::AddNodeAtWorldPosition
virtual int AddNodeAtWorldPosition(double worldPos[3], double worldOrient[9])
vtkContourRepresentation::SetNthNodeDisplayPosition
virtual int SetNthNodeDisplayPosition(int n, double pos[2])
vtkContourRepresentation::GetIntermediatePointWorldPosition
virtual int GetIntermediatePointWorldPosition(int n, int idx, double point[3])
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:34
vtkContourRepresentation::GetNodePolyData
void GetNodePolyData(vtkPolyData *poly)
vtkContourRepresentationInternals::Nodes
std::vector< vtkContourRepresentationNode * > Nodes
Definition: vtkContourRepresentation.h:102
vtkContourRepresentation::GetRendererComputedDisplayPositionFromWorldPosition
void GetRendererComputedDisplayPositionFromWorldPosition(double worldPos[3], double worldOrient[9], int displayPos[2])
vtkgl::val
GLuint GLfloat * val
Definition: vtkgl.h:13789
vtkContourRepresentation::AddNodeAtPositionInternal
void AddNodeAtPositionInternal(double worldPos[3], double worldOrient[9], int displayPos[2])
vtkContourRepresentationNode::PointId
vtkIdType PointId
Definition: vtkContourRepresentation.h:96
vtkSetClampMacro
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:143
vtkX3D::point
@ point
Definition: vtkX3D.h:236
vtkContourRepresentationNode::Points
std::vector< vtkContourRepresentationPoint * > Points
Definition: vtkContourRepresentation.h:92
vtkContourRepresentation::GetNthNode
virtual vtkContourRepresentationNode * GetNthNode(int n)
vtkContourRepresentation::~vtkContourRepresentation
~vtkContourRepresentation()
vtkContourRepresentation::SetShowSelectedNodes
virtual void SetShowSelectedNodes(int)
vtkIncrementalOctreePointLocator
Incremental octree in support of both point location and point insertion.
Definition: vtkIncrementalOctreePointLocator.h:63
vtkContourRepresentation::SetCurrentOperationToTranslate
void SetCurrentOperationToTranslate()
Definition: vtkContourRepresentation.h:331
vtkContourRepresentation::ActivateNode
virtual int ActivateNode(int displayPos[2])
vtkContourRepresentation::SetNthNodeWorldPosition
virtual int SetNthNodeWorldPosition(int n, double pos[3], double orient[9])
vtkContourRepresentation::AddNodeAtWorldPosition
virtual int AddNodeAtWorldPosition(double x, double y, double z)
vtkContourRepresentation::GetNumberOfNodes
virtual int GetNumberOfNodes()
vtkContourRepresentation::Shift
@ Shift
Definition: vtkContourRepresentation.h:317
vtkContourRepresentation::AddNodeAtDisplayPosition
virtual int AddNodeAtDisplayPosition(int displayPos[2])
vtkContourRepresentation::vtkContourRepresentation
vtkContourRepresentation()
vtkContourRepresentation::Locator
vtkIncrementalOctreePointLocator * Locator
Definition: vtkContourRepresentation.h:483
vtkContourRepresentation::RenderOpaqueGeometry
virtual int RenderOpaqueGeometry(vtkViewport *viewport)=0
vtkContourRepresentation::UpdateLine
void UpdateLine(int idx1, int idx2)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkContourRepresentation::SetClosedLoop
void SetClosedLoop(int val)
vtkContourRepresentation::SetNthNodeSelected
virtual int SetNthNodeSelected(int)
vtkContourRepresentation::PixelTolerance
int PixelTolerance
Definition: vtkContourRepresentation.h:405
vtkContourRepresentation::PointPlacer
vtkPointPlacer * PointPlacer
Definition: vtkContourRepresentation.h:408
vtkContourRepresentation::ComputeInteractionState
virtual int ComputeInteractionState(int X, int Y, int modified=0)=0
vtkIdList
list of point or cell ids
Definition: vtkIdList.h:36
vtkContourRepresentationNode::Selected
int Selected
Definition: vtkContourRepresentation.h:91
vtkContourRepresentation::ActivateNode
virtual int ActivateNode(double displayPos[2])
vtkContourRepresentation::SetActiveNodeToWorldPosition
virtual int SetActiveNodeToWorldPosition(double pos[3], double orient[9])
vtkContourRepresentation::SetNthNodeWorldPosition
virtual int SetNthNodeWorldPosition(int n, double pos[3])
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkContourRepresentation::CurrentOperation
int CurrentOperation
Definition: vtkContourRepresentation.h:413
vtkViewport
abstract specification for Viewports
Definition: vtkViewport.h:47
vtkContourRepresentation::GetNthNodeWorldOrientation
virtual int GetNthNodeWorldOrientation(int n, double orient[9])
vtkContourRepresentation::RebuildLocator
bool RebuildLocator
Definition: vtkContourRepresentation.h:491
vtkContourRepresentation::BuildLines
virtual void BuildLines()=0
vtkContourRepresentation::InitializeContour
virtual void InitializeContour(vtkPolyData *, vtkIdList *)
vtkContourRepresentationNode::WorldOrientation
double WorldOrientation[9]
Definition: vtkContourRepresentation.h:89
vtkContourRepresentation::BuildRepresentation
virtual void BuildRepresentation()=0
vtkContourRepresentation::Internal
vtkContourRepresentationInternals * Internal
Definition: vtkContourRepresentation.h:419
vtkContourRepresentation::ActivateNode
virtual int ActivateNode(int X, int Y)
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkContourRepresentation::DeleteNthNode
virtual int DeleteNthNode(int n)
vtkgl::index
GLuint index
Definition: vtkgl.h:11983
vtkContourRepresentation::GetNthNodeSlope
virtual int GetNthNodeSlope(int idx, double slope[3])
vtkContourRepresentation::RenderTranslucentPolygonalGeometry
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)=0
vtkContourRepresentationPoint::PointId
vtkIdType PointId
Definition: vtkContourRepresentation.h:82
vtkContourRepresentation::AddIntermediatePointWorldPosition
virtual int AddIntermediatePointWorldPosition(int n, double point[3], vtkIdType ptId)
vtkContourRepresentation::AddNodeOnContour
virtual int AddNodeOnContour(int X, int Y)
VTKINTERACTIONWIDGETS_EXPORT
#define VTKINTERACTIONWIDGETS_EXPORT
Definition: vtkInteractionWidgetsModule.h:15
vtkgl::y
GLint GLint GLint GLint GLint GLint y
Definition: vtkgl.h:11318
vtkContourRepresentation::WorldTolerance
double WorldTolerance
Definition: vtkContourRepresentation.h:406
vtkContourRepresentation::ClosedLoop
int ClosedLoop
Definition: vtkContourRepresentation.h:414
vtkContourRepresentation::ShowSelectedNodes
int ShowSelectedNodes
Definition: vtkContourRepresentation.h:417
vtkContourRepresentation::Scale
@ Scale
Definition: vtkContourRepresentation.h:318
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
vtkContourRepresentation::ActiveNode
int ActiveNode
Definition: vtkContourRepresentation.h:411
vtkContourRepresentationNode
Definition: vtkContourRepresentation.h:86
vtkContourRepresentation::ClearAllNodes
virtual void ClearAllNodes()
vtkContourRepresentation::Translate
@ Translate
Definition: vtkContourRepresentation.h:316
vtkContourRepresentation::SetActiveNodeToWorldPosition
virtual int SetActiveNodeToWorldPosition(double pos[3])
vtkContourRepresentation::GetActiveNodeSelected
virtual int GetActiveNodeSelected()
vtkContourRepresentation::UpdateContour
virtual int UpdateContour()
vtkgl::w
GLubyte GLubyte GLubyte GLubyte w
Definition: vtkgl.h:12054
vtkContourRepresentation::DeleteLastNode
virtual int DeleteLastNode()
vtkContourRepresentation::Initialize
virtual void Initialize(vtkPolyData *)
vtkContourRepresentation::GetNthNodeWorldPosition
virtual int GetNthNodeWorldPosition(int n, double pos[3])
vtkContourRepresentation::LineInterpolator
vtkContourLineInterpolator * LineInterpolator
Definition: vtkContourRepresentation.h:409
vtkContourRepresentation::SetCurrentOperationToScale
void SetCurrentOperationToScale()
Definition: vtkContourRepresentation.h:335
vtkContourRepresentation::Inactive
@ Inactive
Definition: vtkContourRepresentation.h:315
vtkContourRepresentationPoint
Definition: vtkContourRepresentation.h:75
vtkContourRepresentation::SetNthNodeWorldPositionInternal
void SetNthNodeWorldPositionInternal(int n, double worldPos[3], double worldOrient[9])
vtkContourRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkContourRepresentationPoint::WorldPosition
double WorldPosition[3]
Definition: vtkContourRepresentation.h:77
vtkContourRepresentation::WidgetInteraction
virtual void WidgetInteraction(double e[2])=0
vtkContourRepresentation::UpdateLines
virtual void UpdateLines(int index)
vtkContourRepresentation::AddNodeAtDisplayPosition
virtual int AddNodeAtDisplayPosition(int X, int Y)
VTK_DOUBLE_MAX
#define VTK_DOUBLE_MAX
Definition: vtkType.h:142
vtkContourRepresentation::AddIntermediatePointWorldPosition
virtual int AddIntermediatePointWorldPosition(int n, double point[3])
vtkContourRepresentation::AddNodeAtWorldPosition
virtual int AddNodeAtWorldPosition(double worldPos[3])
vtkContourRepresentationPoint::NormalizedDisplayPosition
double NormalizedDisplayPosition[2]
Definition: vtkContourRepresentation.h:78
vtkContourRepresentation::HasTranslucentPolygonalGeometry
virtual int HasTranslucentPolygonalGeometry()=0
vtkContourRepresentation::GetNthNodeDisplayPosition
virtual int GetNthNodeDisplayPosition(int n, double pos[2])