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 
53  virtual int GetIntermediatePointWorldPosition( int n,
54  int idx, double point[3] );
56 
58 
61  virtual int GetIntermediatePointDisplayPosition( int n,
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 
76  virtual void UpdateContourWorldPositionsBasedOnDisplayPositions();
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 
virtual int UpdateContour()
void PrintSelf(ostream &os, vtkIndent indent)
abstract class for representing widget handles
virtual int GetIntermediatePointWorldPosition(int n, int idx, double point[3])
represent the vtkContourWidget
#define VTKINTERACTIONWIDGETS_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
represent a contour drawn on the focal plane.
virtual void UpdateLines(int index)
virtual int GetNthNodeWorldPosition(int n, double pos[3])
virtual int GetNthNodeDisplayPosition(int n, double pos[2])