37 #ifndef vtkRenderView_h
38 #define vtkRenderView_h
40 #include "vtkViewsInfovisModule.h"
96 INTERACTION_MODE_UNKNOWN
99 void SetInteractionMode(
int mode);
100 vtkGetMacro(InteractionMode,
int);
108 { this->SetInteractionMode(INTERACTION_MODE_2D); }
110 { this->SetInteractionMode(INTERACTION_MODE_3D); }
136 virtual void SetDisplayHoverText(
bool b);
137 vtkGetMacro(DisplayHoverText,
bool);
154 vtkSetClampMacro(SelectionMode,
int, 0, 1);
155 vtkGetMacro(SelectionMode,
int);
176 virtual void SetIconTexture(
vtkTexture* texture);
184 vtkSetVector2Macro(IconSize,
int);
185 vtkGetVector2Macro(IconSize,
int);
193 vtkSetVector2Macro(DisplaySize,
int);
194 int* GetDisplaySize();
195 void GetDisplaySize(
int &dsx,
int &dsy);
212 virtual void SetLabelPlacementMode(
int mode);
213 virtual int GetLabelPlacementMode();
215 { this->SetLabelPlacementMode(NO_OVERLAP); }
217 { this->SetLabelPlacementMode(ALL); }
232 virtual void SetLabelRenderMode(
int mode);
233 virtual int GetLabelRenderMode();
235 { this->SetLabelRenderMode(FREETYPE); }
237 { this->SetLabelRenderMode(QT); }
244 void SetRenderOnMouseMove(
bool b);
245 vtkGetMacro(RenderOnMouseMove,
bool);
264 virtual void GenerateSelection(
275 virtual void UpdateHoverText();
281 virtual void UpdateHoverWidgetState();
287 void UpdatePickRender();
virtual void ApplyViewTheme(vtkViewTheme *vtkNotUsed(theme))
Apply a theme to the view.
abstract base class for most VTK objects
actor that draws 2D data with texture support
void SetSelectionModeToFrustum()
Sets the selection mode for the render view.
virtual void Render()
Updates the representations, then calls Render() on the render window associated with this view...
perform mathematical operations on data in field data arrays
virtual void SetRenderWindow(vtkRenderWindow *win)
Set the render window for this view.
a actor that draws 2D data
vtkSmartPointer< vtkBalloonRepresentation > Balloon
draw text labels at 2D dataset points
A node in a selection tree.
virtual void SetLabelPlacementModeToAll()
Label placement mode.
virtual void SetInteractionModeTo2D()
Set the interaction mode for the view.
A base view containing a renderer.
virtual void SetInteractor(vtkRenderWindowInteractor *)
The render window interactor.
Proxy object to connect input/output ports.
an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor ...
void SetSelectionModeToSurface()
Sets the selection mode for the render view.
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)
Called to process events.
vtkAbstractTransform * Transform
vtkSmartPointer< vtkLabelPlacementMapper > LabelPlacementMapper
a simple class to control print indentation
virtual void SetLabelPlacementModeToNoOverlap()
Label placement mode.
handles properties associated with a texture map
vtkSmartPointer< vtkHoverWidget > HoverWidget
virtual void SetLabelRenderModeToFreetype()
Label render mode.
virtual void SetLabelRenderModeToQt()
Label render mode.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
bool PickRenderNeedsUpdate
virtual void PrepareForRendering()
Called by the view when the renderer is about to render.
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.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkRenderViewBase * New()
Places and renders non-overlapping labels.
draw vtkPolyData onto the image plane