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 
36 
38 
40 {
41 public:
43 
45  void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
52  virtual int GetIntermediatePointWorldPosition( int n,
53  int idx, double point[3] );
55 
57 
60  virtual int GetIntermediatePointDisplayPosition( int n,
61  int idx, double point[3] );
63 
66  virtual int GetNthNodeDisplayPosition( int n, double pos[2] );
67 
70  virtual int GetNthNodeWorldPosition( int n, double pos[3] );
71 
75  virtual void UpdateContourWorldPositionsBasedOnDisplayPositions();
76 
79  virtual int UpdateContour();
80 
81  virtual void UpdateLines( int index );
82 
83 protected:
86 
87 private:
89  void operator=(const vtkFocalPlaneContourRepresentation&); //Not implemented
90 };
91 
92 #endif
93 
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
a simple class to control print indentation
Definition: vtkIndent.h:37
represent a contour drawn on the focal plane.
#define VTK_WIDGETS_EXPORT
virtual void UpdateLines(int index)
virtual int GetNthNodeWorldPosition(int n, double pos[3])
virtual int GetNthNodeDisplayPosition(int n, double pos[2])