41 #ifndef vtkWidgetRepresentation_h
42 #define vtkWidgetRepresentation_h
65 vtkBooleanMacro(PickingManaged,
bool);
66 vtkSetMacro(PickingManaged,
bool);
67 vtkGetMacro(PickingManaged,
bool);
81 virtual void BuildRepresentation() = 0;
115 virtual int ComputeInteractionState(
int X,
int Y,
int modify=0);
117 {
return this->InteractionState;}
129 vtkGetMacro(PlaceFactor,
double);
141 vtkSetClampMacro(HandleSize,
double,0.001,1000);
142 vtkGetMacro(HandleSize,
double);
148 vtkGetMacro( NeedToRender,
int );
149 vtkSetClampMacro( NeedToRender,
int, 0, 1 );
150 vtkBooleanMacro( NeedToRender,
int );
186 double StartEventPosition[3];
191 void AdjustBounds(
double bounds[6],
double newBounds[6],
double center[3]);
192 double InitialBounds[6];
209 virtual void RegisterPickers();
212 virtual void UnRegisterPickers();
216 virtual void PickersModified();
235 double SizeHandlesRelativeToViewport(
double factor,
double pos[3]);
236 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