VTK
vtkFocalPlaneContourRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkFocalPlaneContourRepresentation.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 =========================================================================*/
32 #ifndef vtkFocalPlaneContourRepresentation_h
33 #define vtkFocalPlaneContourRepresentation_h
34 
35 #include "vtkInteractionWidgetsModule.h" // For export macro
37 
39 
41 {
42 public:
44 
46  void PrintSelf(ostream& os, vtkIndent indent);
48 
50 
54  int idx, double point[3] );
56 
58 
62  int idx, double point[3] );
64 
67  virtual int GetNthNodeDisplayPosition( int n, double pos[2] );
68 
71  virtual int GetNthNodeWorldPosition( int n, double pos[3] );
72 
77 
80  virtual int UpdateContour();
81 
82  virtual void UpdateLines( int index );
83 
84 protected:
87 
88 private:
90  void operator=(const vtkFocalPlaneContourRepresentation&); //Not implemented
91 };
92 
93 #endif
94 
vtkFocalPlaneContourRepresentation::GetIntermediatePointWorldPosition
virtual int GetIntermediatePointWorldPosition(int n, int idx, double point[3])
vtkFocalPlaneContourRepresentation::UpdateContour
virtual int UpdateContour()
vtkFocalPlaneContourRepresentation
represent a contour drawn on the focal plane.
Definition: vtkFocalPlaneContourRepresentation.h:41
vtkContourRepresentation
represent the vtkContourWidget
Definition: vtkContourRepresentation.h:120
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkHandleRepresentation
abstract class for representing widget handles
Definition: vtkHandleRepresentation.h:58
vtkgl::n
GLclampd n
Definition: vtkgl.h:14370
vtkInteractionWidgetsModule.h
vtkFocalPlaneContourRepresentation::vtkFocalPlaneContourRepresentation
vtkFocalPlaneContourRepresentation()
vtkFocalPlaneContourRepresentation::GetIntermediatePointDisplayPosition
virtual int GetIntermediatePointDisplayPosition(int n, int idx, double point[3])
vtkX3D::point
@ point
Definition: vtkX3D.h:236
vtkFocalPlaneContourRepresentation::UpdateContourWorldPositionsBasedOnDisplayPositions
virtual void UpdateContourWorldPositionsBasedOnDisplayPositions()
vtkFocalPlaneContourRepresentation::UpdateLines
virtual void UpdateLines(int index)
vtkFocalPlaneContourRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkFocalPlaneContourRepresentation::GetNthNodeWorldPosition
virtual int GetNthNodeWorldPosition(int n, double pos[3])
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkContourRepresentation.h
vtkgl::index
GLuint index
Definition: vtkgl.h:11983
VTKINTERACTIONWIDGETS_EXPORT
#define VTKINTERACTIONWIDGETS_EXPORT
Definition: vtkInteractionWidgetsModule.h:15
vtkFocalPlaneContourRepresentation::~vtkFocalPlaneContourRepresentation
~vtkFocalPlaneContourRepresentation()
vtkFocalPlaneContourRepresentation::GetNthNodeDisplayPosition
virtual int GetNthNodeDisplayPosition(int n, double pos[2])