22 #ifndef __vtkFrameWidgetRepresentation_h
23 #define __vtkFrameWidgetRepresentation_h
25 #include "vtkWidgetRepresentation.h"
42 void PrintSelf(ostream& os, vtkIndent indent);
47 vtkTransform* GetTransform();
55 virtual void SetTransform(vtkTransform*
t);
59 virtual void BuildRepresentation();
60 virtual int ComputeInteractionState(
int X,
int Y,
int modify=0);
61 virtual void StartWidgetInteraction(
double e[2]);
62 virtual void WidgetInteraction(
double e[2]);
64 virtual void OnMouseHover(
double e[2]);
65 virtual void HighlightOff();
66 virtual void HighlightActor(vtkDataSet* dataset);
68 virtual double *GetBounds();
70 virtual void GetActors(vtkPropCollection* propCollection);
72 void SetTranslateAxisEnabled(
int axisId,
bool enabled);
73 void SetRotateAxisEnabled(
int axisId,
bool enabled);
77 virtual void ReleaseGraphicsResources(vtkWindow*);
78 virtual int RenderOpaqueGeometry(vtkViewport*);
79 virtual int RenderOverlay(vtkViewport*);
80 virtual int RenderTranslucentPolygonalGeometry(vtkViewport*);
81 virtual int HasTranslucentPolygonalGeometry();
91 void SetInteractionState(
int state);
95 vtkSetMacro(WorldSize,
double);
96 vtkGetMacro(WorldSize,
double);
101 vtkBooleanMacro(UseTubeFilter,
bool);
102 vtkSetMacro(UseTubeFilter,
bool);
103 vtkGetMacro(UseTubeFilter,
bool);
115 double LastEventPosition[2];
116 double InteractionStartWorldPoint[3];
120 virtual void Translate(
double e[2]);
121 virtual void TranslateInPlane(
double e[2]);
122 virtual void Rotate(
double e[2]);
127 vtkInternal* Internal;
#define VTKDRCFILTERS_EXPORT