41 #ifndef __vtkWidgetRepresentation_h
42 #define __vtkWidgetRepresentation_h
69 virtual void BuildRepresentation() = 0;
103 virtual int ComputeInteractionState(
int X,
int Y,
int modify=0);
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]);
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 simple class to control print indentation