23 #ifndef vtkPVAxesWidget_h 24 #define vtkPVAxesWidget_h 26 #include "vtkInteractorObserver.h" 27 #include "vtkPVVTKExtensionsRenderingModule.h" 30 class vtkKWApplication;
33 class vtkPVAxesWidgetObserver;
36 class VTKPVVTKEXTENSIONSRENDERING_EXPORT
vtkPVAxesWidget :
public vtkInteractorObserver
41 void PrintSelf(ostream& os, vtkIndent indent);
46 static const int RendererLayer = 1;
59 virtual void SetEnabled(
int);
65 void SetParentRenderer(vtkRenderer* ren);
66 vtkRenderer* GetParentRenderer();
73 vtkGetObjectMacro(Renderer, vtkRenderer);
80 void ExecuteEvent(vtkObject* o,
unsigned long event,
void* calldata);
86 void SetInteractive(
int state);
87 vtkGetMacro(Interactive,
int);
88 vtkBooleanMacro(Interactive,
int);
96 void SetOutlineColor(
double r,
double g,
double b);
97 double* GetOutlineColor();
104 void SetAxisLabelColor(
double r,
double g,
double b);
105 double* GetAxisLabelColor();
112 void SetViewport(
double minX,
double minY,
double maxX,
double maxY);
113 double* GetViewport();
127 static void ProcessEvents(
128 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
135 int StartPosition[2];
139 void UpdateCursorIcon();
140 void SetMouseCursor(
int cursorState);
154 void OnButtonPress();
156 void OnButtonRelease();
159 void ResizeTopLeft();
160 void ResizeTopRight();
161 void ResizeBottomLeft();
162 void ResizeBottomRight();
164 void SquareRenderer();