14 #ifndef vtkMeasurementCubeHandleRepresentation3D_h
15 #define vtkMeasurementCubeHandleRepresentation3D_h
18 #include "vtkInteractionWidgetsModule.h"
20 VTK_ABI_NAMESPACE_BEGIN
115 vtkBooleanMacro(SelectedLabelVisibility,
vtkTypeBool);
117 virtual void SetLabelTextInput(
const char* label);
118 virtual char* GetLabelTextInput();
164 void SetSideLength(
double);
165 vtkGetMacro(SideLength,
double);
183 vtkGetMacro(RescaleFactor,
double);
194 void SetMinRelativeCubeScreenArea(
double);
195 vtkGetMacro(MinRelativeCubeScreenArea,
double);
196 void SetMaxRelativeCubeScreenArea(
double);
197 vtkGetMacro(MaxRelativeCubeScreenArea,
double);
204 vtkSetStringMacro(LengthUnit);
205 vtkGetStringMacro(LengthUnit);
223 double LastPickPosition[3];
224 double LastEventPosition[2];
239 virtual void Scale(
const double* p1,
const double* p2,
const double eventPos[2]);
240 virtual void MoveFocus(
const double* p1,
const double* p2);
242 void CreateDefaultProperties();
262 void MoveFocusRequest(
263 const double* p1,
const double* p2,
const double eventPos[2],
double requestedDisplayPos[3]);
270 virtual void SetUniformScale(
double scale);
281 virtual void UpdateHandle();
286 virtual void UpdateLabel();
301 VTK_ABI_NAMESPACE_END
abstract superclass for all actors, volumes and annotations
virtual void SetWorldPosition(double pos[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
represents an object (geometry & properties) in a rendered scene
vtkPolyDataMapper * Mapper
represent and manipulate 4x4 transformation matrices
abstract class for representing widget handles
vtkTypeBool AdaptiveScaling
abstract specification for Viewports
represent surface properties of a geometric object
Renders pixel-aligned text, facing the camera, anchored at a 3D point.
vtkMatrixToLinearTransform * HandleTransform
double MinRelativeCubeScreenArea
concrete dataset represents vertices, lines, polygons, and triangle strips
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
vtkBillboardTextActor3D * LabelText
window superclass for vtkRenderWindow
bool LabelAnnotationTextScaleInitialized
vtkProperty * SelectedProperty
vtkTypeBool LabelVisibility
virtual void SetDisplayPosition(double pos[2])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
a simple class to control print indentation
vtkTypeBool SelectedLabelVisibility
double MaxRelativeCubeScreenArea
vtkTransformPolyDataFilter * HandleTransformFilter
vtkMatrix4x4 * HandleTransformMatrix
represent a unit cube for measuring/comparing to data.
virtual void DeepCopy(vtkProp *prop)
Methods to make this class properly act like a vtkWidgetRepresentation.
map vtkPolyData to graphics primitives
a subclass of actor that always faces the camera
vtkTypeBool HandleVisibility
ray-cast cell picker for all kinds of Prop3Ds
void ShallowCopy(vtkProp *prop) override
Methods to make this class properly act like a vtkWidgetRepresentation.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkCellPicker * HandlePicker