46 #ifndef vtkWidgetRepresentation_h
47 #define vtkWidgetRepresentation_h
49 #include "vtkInteractionWidgetsModule.h"
56 VTK_ABI_NAMESPACE_BEGIN
83 vtkBooleanMacro(PickingManaged,
bool);
84 void SetPickingManaged(
bool managed);
85 vtkGetMacro(PickingManaged,
bool);
107 virtual void BuildRepresentation() = 0;
142 virtual void PlaceWidget(
double vtkNotUsed(bounds)[6]);
146 virtual int ComputeInteractionState(
int X,
int Y,
int modify = 0);
182 vtkGetMacro(PlaceFactor,
double);
195 vtkSetClampMacro(HandleSize,
double, 0.001, 1000);
196 vtkGetMacro(HandleSize,
double);
233 virtual void RegisterPickers();
238 virtual void UnRegisterPickers();
271 double StartEventPosition[3];
276 void AdjustBounds(
double bounds[6],
double newBounds[6],
double center[3]);
277 double InitialBounds[6];
309 bool NearbyEvent(
int X,
int Y,
double bounds[6]);
315 double SizeHandlesRelativeToViewport(
double factor,
double pos[3]);
316 double SizeHandlesInPixels(
double factor,
double pos[3]);
327 void UpdatePropPose(
vtkProp3D* prop,
const double* pos1,
const double* orient1,
328 const double* pos2,
const double* orient2);
337 VTK_ABI_NAMESPACE_END
abstract superclass for all actors, volumes and annotations
represent and manipulate 4x4 transformation matrices
Class defines API to manage the picking process.
virtual void ShallowCopy(vtkProp *prop)
Shallow copy of this vtkProp.
abstract specification for Viewports
record modification and/or execution time
abstract specification for renderers
represents an 3D object for placement in a rendered scene
window superclass for vtkRenderWindow
platform-independent render window interaction including picking and frame rate control.
a list of nodes that form an assembly path
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
#define VTK_SIZEHINT(...)
abstract API for pickers that can pick an instance of vtkProp
define API for picking subclasses