VTK  9.2.6
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
35#include "vtkInteractionWidgetsModule.h" // For export macro
36
37class VTKINTERACTIONWIDGETS_EXPORT vtkPolygonalHandleRepresentation3D
39{
40public:
45
47
51 void PrintSelf(ostream& os, vtkIndent indent) override;
53
57 void SetWorldPosition(double p[3]) override;
58
60
64 vtkSetVector3Macro(Offset, double);
65 vtkGetVector3Macro(Offset, double);
67
68protected:
71
72 double Offset[3];
73
74private:
76 void operator=(const vtkPolygonalHandleRepresentation3D&) = delete;
77};
78
79#endif
represent a user defined handle geometry in 3D while maintaining a fixed orientation w....
a simple class to control print indentation
Definition: vtkIndent.h:40
represent a user defined handle geometry in 3D space
static vtkPolygonalHandleRepresentation3D * New()
Instantiate this class.
~vtkPolygonalHandleRepresentation3D() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
void SetWorldPosition(double p[3]) override
Set the position of the point in world and display coordinates.