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 =========================================================================*/
33 #ifndef vtkFocalPlaneContourRepresentation_h
34 #define vtkFocalPlaneContourRepresentation_h
35 
36 #include "vtkInteractionWidgetsModule.h" // For export macro
38 
40 
41 class VTKINTERACTIONWIDGETS_EXPORT vtkFocalPlaneContourRepresentation : public vtkContourRepresentation
42 {
43 public:
45 
49  void PrintSelf(ostream& os, vtkIndent indent) override;
51 
59  int idx, double point[3] ) override;
60 
68  int idx, double point[3] );
69 
75  int GetNthNodeDisplayPosition( int n, double pos[2] ) override;
76 
82  int GetNthNodeWorldPosition( int n, double pos[3] ) override;
83 
89 
94  int UpdateContour() override;
95 
96  void UpdateLines( int index ) override;
97 
98 protected:
101 
102 private:
104  void operator=(const vtkFocalPlaneContourRepresentation&) = delete;
105 };
106 
107 #endif
108 
vtkFocalPlaneContourRepresentation
represent a contour drawn on the focal plane.
Definition: vtkFocalPlaneContourRepresentation.h:42
vtkContourRepresentation
represent the vtkContourWidget
Definition: vtkContourRepresentation.h:121
vtkHandleRepresentation
abstract class for representing widget handles
Definition: vtkHandleRepresentation.h:59
vtkFocalPlaneContourRepresentation::vtkFocalPlaneContourRepresentation
vtkFocalPlaneContourRepresentation()
vtkFocalPlaneContourRepresentation::GetIntermediatePointDisplayPosition
virtual int GetIntermediatePointDisplayPosition(int n, int idx, double point[3])
Get the world position of the intermediate point at index idx between nodes n and (n+1) (or n and 0 i...
vtkX3D::point
@ point
Definition: vtkX3D.h:236
vtkFocalPlaneContourRepresentation::UpdateContourWorldPositionsBasedOnDisplayPositions
virtual void UpdateContourWorldPositionsBasedOnDisplayPositions()
The class maintains its true contour locations based on display co-ords This method syncs the world c...
vtkFocalPlaneContourRepresentation::UpdateLines
void UpdateLines(int index) override
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkContourRepresentation.h
vtkFocalPlaneContourRepresentation::~vtkFocalPlaneContourRepresentation
~vtkFocalPlaneContourRepresentation() override
vtkFocalPlaneContourRepresentation::GetIntermediatePointWorldPosition
int GetIntermediatePointWorldPosition(int n, int idx, double point[3]) override
Get the world position of the intermediate point at index idx between nodes n and (n+1) (or n and 0 i...
vtkFocalPlaneContourRepresentation::GetNthNodeWorldPosition
int GetNthNodeWorldPosition(int n, double pos[3]) override
Get the nth node's world position.
vtkFocalPlaneContourRepresentation::UpdateContour
int UpdateContour() override
The method must be called whenever the contour needs to be updated, usually from RenderOpaqueGeometry...
vtkX3D::index
@ index
Definition: vtkX3D.h:246
vtkFocalPlaneContourRepresentation::GetNthNodeDisplayPosition
int GetNthNodeDisplayPosition(int n, double pos[2]) override
Get the nth node's display position.
vtkFocalPlaneContourRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.