41 #ifndef vtkWidgetRepresentation_h
42 #define vtkWidgetRepresentation_h
65 vtkBooleanMacro(PickingManaged,
bool);
66 vtkSetMacro(PickingManaged,
bool);
67 vtkGetMacro(PickingManaged,
bool);
84 virtual void BuildRepresentation() = 0;
118 virtual int ComputeInteractionState(
int X,
int Y,
int modify=0);
120 {
return this->InteractionState;}
132 vtkGetMacro(PlaceFactor,
double);
144 vtkSetClampMacro(HandleSize,
double,0.001,1000);
145 vtkGetMacro(HandleSize,
double);
151 vtkGetMacro( NeedToRender,
int );
152 vtkSetClampMacro( NeedToRender,
int, 0, 1 );
153 vtkBooleanMacro( NeedToRender,
int );
189 double StartEventPosition[3];
194 void AdjustBounds(
double bounds[6],
double newBounds[6],
double center[3]);
195 double InitialBounds[6];
212 virtual void RegisterPickers();
215 virtual void UnRegisterPickers();
219 virtual void PickersModified();
238 double SizeHandlesRelativeToViewport(
double factor,
double pos[3]);
239 double SizeHandlesInPixels(
double factor,
double pos[3]);
abstract superclass for all actors, volumes and annotations
void PrintSelf(ostream &os, vtkIndent indent)
virtual void ShallowCopy(vtkProp *prop)
abstract specification for Viewports
record modification and/or execution time
abstract specification for renderers
window superclass for vtkRenderWindow
a list of nodes that form an assembly path
a simple class to control print indentation
abstract API for pickers that can pick an instance of vtkProp