Go to the documentation of this file.
23 #ifndef vtkMeasurementCubeHandleRepresentation3D_h
24 #define vtkMeasurementCubeHandleRepresentation3D_h
26 #include "vtkInteractionWidgetsModule.h"
123 vtkSetMacro( SelectedLabelVisibility,
vtkTypeBool );
124 vtkGetMacro( SelectedLabelVisibility,
vtkTypeBool );
125 vtkBooleanMacro( SelectedLabelVisibility,
vtkTypeBool );
127 virtual void SetLabelTextInput(
const char * label );
128 virtual char * GetLabelTextInput();
174 void SetSideLength(
double);
175 vtkGetMacro( SideLength,
double );
193 vtkGetMacro( RescaleFactor,
double );
204 void SetMinRelativeCubeScreenArea(
double);
205 vtkGetMacro( MinRelativeCubeScreenArea,
double );
206 void SetMaxRelativeCubeScreenArea(
double);
207 vtkGetMacro( MaxRelativeCubeScreenArea,
double );
214 vtkSetStringMacro(LengthUnit);
215 vtkGetStringMacro(LengthUnit);
233 double LastPickPosition[3];
234 double LastEventPosition[2];
249 virtual void Translate(
double *p1,
double *p2);
250 virtual void Scale(
double *p1,
double *p2,
double eventPos[2]);
251 virtual void MoveFocus(
double *p1,
double *p2);
253 void CreateDefaultProperties();
273 void MoveFocusRequest(
double *p1,
double *p2,
274 double eventPos[2],
double requestedDisplayPos[3] );
281 virtual void SetUniformScale(
double scale );
292 virtual void UpdateHandle();
297 virtual void UpdateLabel();
map vtkPolyData to graphics primitives
a subclass of actor that always faces the camera
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkTypeBool SelectedLabelVisibility
virtual void SetWorldPosition(double pos[3])
abstract class for representing widget handles
Renders pixel-aligned text, facing the camera, anchored at a 3D point.
window superclass for vtkRenderWindow
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMatrix4x4 * HandleTransformMatrix
represents an object (geometry & properties) in a rendered scene
vtkMatrixToLinearTransform * HandleTransform
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
represent a unit cube for measuring/comparing to data.
double MinRelativeCubeScreenArea
vtkCellPicker * HandlePicker
vtkBillboardTextActor3D * LabelText
abstract specification for Viewports
bool LabelAnnotationTextScaleInitialized
abstract superclass for all actors, volumes and annotations
virtual void DeepCopy(vtkProp *prop)
virtual void SetDisplayPosition(double pos[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
vtkTypeBool AdaptiveScaling
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkTypeBool LabelVisibility
vtkProperty * SelectedProperty
vtkPolyDataMapper * Mapper
void ShallowCopy(vtkProp *prop) override
Methods to make this class properly act like a vtkWidgetRepresentation.
represent surface properties of a geometric object
ray-cast cell picker for all kinds of Prop3Ds
vtkTransformPolyDataFilter * HandleTransformFilter
vtkTypeBool HandleVisibility
double MaxRelativeCubeScreenArea