VTK  9.3.20240328
vtkPolygonalHandleRepresentation3D.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
19 #ifndef vtkPolygonalHandleRepresentation3D_h
20 #define vtkPolygonalHandleRepresentation3D_h
21 
23 #include "vtkInteractionWidgetsModule.h" // For export macro
24 
25 VTK_ABI_NAMESPACE_BEGIN
26 class VTKINTERACTIONWIDGETS_EXPORT vtkPolygonalHandleRepresentation3D
28 {
29 public:
34 
36 
40  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
46  void SetWorldPosition(double p[3]) override;
47 
49 
53  vtkSetVector3Macro(Offset, double);
54  vtkGetVector3Macro(Offset, double);
56 
57 protected:
60 
61  double Offset[3];
62 
63 private:
65  void operator=(const vtkPolygonalHandleRepresentation3D&) = delete;
66 };
67 
68 VTK_ABI_NAMESPACE_END
69 #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:108
represent a user defined handle geometry in 3D space
~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.
static vtkPolygonalHandleRepresentation3D * New()
Instantiate this class.