41 #ifndef __vtkWidgetRepresentation_h
42 #define __vtkWidgetRepresentation_h
44 #include "vtkInteractionWidgetsModule.h"
70 virtual void BuildRepresentation() = 0;
104 virtual int ComputeInteractionState(
int X,
int Y,
int modify=0);
105 virtual int GetInteractionState()
106 {
return this->InteractionState;}
118 vtkGetMacro(PlaceFactor,
double);
130 vtkSetClampMacro(HandleSize,
double,0.001,1000);
131 vtkGetMacro(HandleSize,
double);
137 vtkGetMacro( NeedToRender,
int );
138 vtkSetClampMacro( NeedToRender,
int, 0, 1 );
139 vtkBooleanMacro( NeedToRender,
int );
175 double StartEventPosition[3];
180 void AdjustBounds(
double bounds[6],
double newBounds[6],
double center[3]);
181 double InitialBounds[6];
195 double SizeHandlesRelativeToViewport(
double factor,
double pos[3]);
196 double SizeHandlesInPixels(
double factor,
double pos[3]);