VTK  9.1.0
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=========================================================================*/
28#ifndef vtkPolygonalHandleRepresentation3D_h
29#define vtkPolygonalHandleRepresentation3D_h
30
32#include "vtkInteractionWidgetsModule.h" // For export macro
33
34class VTKINTERACTIONWIDGETS_EXPORT vtkPolygonalHandleRepresentation3D
36{
37public:
42
44
48 void PrintSelf(ostream& os, vtkIndent indent) override;
50
54 void SetWorldPosition(double p[3]) override;
55
57
61 vtkSetVector3Macro(Offset, double);
62 vtkGetVector3Macro(Offset, double);
64
65protected:
68
69 double Offset[3];
70
71private:
73 void operator=(const vtkPolygonalHandleRepresentation3D&) = delete;
74};
75
76#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:113
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.