41 #ifndef __vtkWidgetRepresentation_h
42 #define __vtkWidgetRepresentation_h
69 virtual void BuildRepresentation() = 0;
103 virtual int ComputeInteractionState(
int X,
int Y,
int modify=0);
104 virtual int GetInteractionState()
105 {
return this->InteractionState;}
117 vtkGetMacro(PlaceFactor,
double);
129 vtkSetClampMacro(HandleSize,
double,0.001,1000);
130 vtkGetMacro(HandleSize,
double);
136 vtkGetMacro( NeedToRender,
int );
137 vtkSetClampMacro( NeedToRender,
int, 0, 1 );
138 vtkBooleanMacro( NeedToRender,
int );
174 double StartEventPosition[3];
179 void AdjustBounds(
double bounds[6],
double newBounds[6],
double center[3]);
180 double InitialBounds[6];
194 double SizeHandlesRelativeToViewport(
double factor,
double pos[3]);
195 double SizeHandlesInPixels(
double factor,
double pos[3]);