Go to the documentation of this file.
42 #ifndef vtkWidgetRepresentation_h
43 #define vtkWidgetRepresentation_h
45 #include "vtkInteractionWidgetsModule.h"
76 vtkBooleanMacro(PickingManaged,
bool);
77 void SetPickingManaged(
bool managed);
78 vtkGetMacro(PickingManaged,
bool);
100 virtual void BuildRepresentation() = 0;
139 virtual int ComputeInteractionState(
int X,
int Y,
int modify=0);
141 {
return this->InteractionState;}
166 virtual int ComputeComplexInteractionState(
169 unsigned long event,
void *callData,
int modify = 0);
181 vtkGetMacro(PlaceFactor,
double);
194 vtkSetClampMacro(HandleSize,
double,0.001,1000);
195 vtkGetMacro(HandleSize,
double);
204 vtkSetClampMacro( NeedToRender,
vtkTypeBool, 0, 1 );
232 virtual void RegisterPickers();
237 virtual void UnRegisterPickers();
251 double StartEventPosition[3];
256 void AdjustBounds(
double bounds[6],
double newBounds[6],
double center[3]);
257 double InitialBounds[6];
291 double SizeHandlesRelativeToViewport(
double factor,
double pos[3]);
292 double SizeHandlesInPixels(
double factor,
double pos[3]);
304 const double *pos1,
const double *orient1,
305 const double *pos2,
const double *orient2);
represents an 3D object for placement in a rendered scene
record modification and/or execution time
a list of nodes that form an assembly path
window superclass for vtkRenderWindow
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_SIZEHINT(...)
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
virtual void ShallowCopy(vtkProp *prop)
Shallow copy of this vtkProp.
platform-independent render window interaction including picking and frame rate control.
abstract specification for Viewports
abstract API for pickers that can pick an instance of vtkProp
abstract superclass for all actors, volumes and annotations
abstract specification for renderers