39 #ifndef __vtkRenderView_h
40 #define __vtkRenderView_h
90 INTERACTION_MODE_UNKNOWN
93 void SetInteractionMode(
int mode);
94 vtkGetMacro(InteractionMode,
int);
101 { this->SetInteractionMode(INTERACTION_MODE_2D); }
103 { this->SetInteractionMode(INTERACTION_MODE_3D); }
122 virtual void SetDisplayHoverText(
bool b);
123 vtkGetMacro(DisplayHoverText,
bool);
124 vtkBooleanMacro(DisplayHoverText,
bool);
139 vtkSetClampMacro(SelectionMode,
int, 0, 1);
140 vtkGetMacro(SelectionMode,
int);
155 virtual void SetIconTexture(
vtkTexture* texture);
161 vtkSetVector2Macro(IconSize,
int);
162 vtkGetVector2Macro(IconSize,
int);
169 vtkSetVector2Macro(DisplaySize,
int);
170 int* GetDisplaySize();
171 void GetDisplaySize(
int &dsx,
int &dsy);
187 virtual void SetLabelPlacementMode(
int mode);
188 virtual int GetLabelPlacementMode();
190 { this->SetLabelPlacementMode(NO_OVERLAP); }
192 { this->SetLabelPlacementMode(ALL); }
206 virtual void SetLabelRenderMode(
int mode);
207 virtual int GetLabelRenderMode();
209 { this->SetLabelRenderMode(FREETYPE); }
211 { this->SetLabelRenderMode(QT); }
216 void SetRenderOnMouseMove(
bool b);
217 vtkGetMacro(RenderOnMouseMove,
bool);
218 vtkBooleanMacro(RenderOnMouseMove,
bool);
235 virtual void GenerateSelection(
243 virtual void UpdateHoverText();
247 virtual void UpdateHoverWidgetState();
251 void UpdatePickRender();
virtual void ApplyViewTheme(vtkViewTheme *vtkNotUsed(theme))
abstract base class for most VTK objects
actor that draws 2D data with texture support
void SetSelectionModeToFrustum()
perform mathematical operations on data in field data arrays
virtual void SetRenderWindow(vtkRenderWindow *win)
a actor that draws 2D data
vtkSmartPointer< vtkBalloonRepresentation > Balloon
draw text labels at 2D dataset points
A node in a selection tree. Used to store selection results.
virtual void SetLabelPlacementModeToAll()
virtual void SetInteractionModeTo2D()
A base view containing a renderer.
virtual void SetInteractor(vtkRenderWindowInteractor *)
Proxy object to connect input/output ports.
an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor ...
void SetSelectionModeToSurface()
platform-independent render window interaction including picking and frame rate control.
Sets theme colors for a graphical view.
virtual void ProcessEvents(vtkObject *caller, unsigned long eventId, void *callData)
vtkAbstractTransform * Transform
vtkSmartPointer< vtkLabelPlacementMapper > LabelPlacementMapper
a simple class to control print indentation
virtual void SetLabelPlacementModeToNoOverlap()
handles properties associated with a texture map
vtkSmartPointer< vtkHoverWidget > HoverWidget
virtual void SetLabelRenderModeToFreetype()
virtual void SetLabelRenderModeToQt()
void PrintSelf(ostream &os, vtkIndent indent)
bool PickRenderNeedsUpdate
virtual void PrepareForRendering()
represent text properties.
represent the vtkBalloonWidget
vtkSmartPointer< vtkHardwareSelector > Selector
create a window for renderers to draw into
vtkSmartPointer< vtkRenderer > LabelRenderer
A view containing a renderer.
vtkSmartPointer< vtkTexturedActor2D > LabelActor
virtual void SetInteractionModeTo3D()
manager for OpenGL-based selection.
static vtkRenderViewBase * New()
Places and renders non-overlapping labels.
draw vtkPolyData onto the image plane