36 #ifndef vtkFixedSizeHandleRepresentation3D_h
37 #define vtkFixedSizeHandleRepresentation3D_h
39 #include "vtkInteractionWidgetsModule.h"
42 VTK_ABI_NAMESPACE_BEGIN
74 vtkSetMacro(HandleSizeInPixels,
double);
75 vtkGetMacro(HandleSizeInPixels,
double);
86 vtkSetMacro(HandleSizeToleranceInPixels,
double);
87 vtkGetMacro(HandleSizeToleranceInPixels,
double);
118 VTK_ABI_NAMESPACE_END
~vtkFixedSizeHandleRepresentation3D() override
void PrintSelf(ostream &os, vtkIndent indent) override
Standard vtk methods.
void WorldToDisplay(double w[4], double d[4])
Convenience method to convert from world to display.
double HandleSizeInPixels
void DisplayToWorld(double d[4], double w[4])
Convenience method to convert from display to world.
static vtkFixedSizeHandleRepresentation3D * New()
Instantiate this class.
vtkFixedSizeHandleRepresentation3D()
double HandleSizeToleranceInPixels
vtkSphereSource * SphereSource
void BuildRepresentation() override
Recomputes the handle world size based on the set display size.
a simple class to control print indentation
represent a user defined handle geometry in 3D space
create a polygonal sphere centered at the origin