VTK
vtkPolygonalHandleRepresentation3D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolygonalHandleRepresentation3D.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 =========================================================================*/
31 #ifndef vtkPolygonalHandleRepresentation3D_h
32 #define vtkPolygonalHandleRepresentation3D_h
33 
34 #include "vtkInteractionWidgetsModule.h" // For export macro
36 
37 class VTKINTERACTIONWIDGETS_EXPORT vtkPolygonalHandleRepresentation3D
39 {
40 public:
45 
47 
52  void PrintSelf(ostream& os, vtkIndent indent) override;
54 
58  void SetWorldPosition(double p[3]) override;
59 
61 
65  vtkSetVector3Macro( Offset, double );
66  vtkGetVector3Macro( Offset, double );
68 
69 protected:
72 
73  double Offset[3];
74 
75 private:
77  void operator=(const vtkPolygonalHandleRepresentation3D&) = delete;
78 };
79 
80 #endif
void SetWorldPosition(double p[3]) override
Set the position of the point in world and display coordinates.
a simple class to control print indentation
Definition: vtkIndent.h:39
represent a user defined handle geometry in 3D while maintaining a fixed orientation w...
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
represent a user defined handle geometry in 3D space