37 #ifndef vtkRenderView_h
38 #define vtkRenderView_h
40 #include "vtkViewsInfovisModule.h"
96 INTERACTION_MODE_UNKNOWN
100 vtkGetMacro(InteractionMode,
int);
108 { this->SetInteractionMode(INTERACTION_MODE_2D); }
110 { this->SetInteractionMode(INTERACTION_MODE_3D); }
137 vtkGetMacro(DisplayHoverText,
bool);
154 vtkSetClampMacro(SelectionMode,
int, 0, 1);
155 vtkGetMacro(SelectionMode,
int);
184 vtkSetVector2Macro(IconSize,
int);
185 vtkGetVector2Macro(IconSize,
int);
193 vtkSetVector2Macro(DisplaySize,
int);
215 { this->SetLabelPlacementMode(NO_OVERLAP); }
217 { this->SetLabelPlacementMode(ALL); }
235 { this->SetLabelRenderMode(FREETYPE); }
237 { this->SetLabelRenderMode(QT); }
245 vtkGetMacro(RenderOnMouseMove,
bool);
a actor that draws 2D data
Proxy object to connect input/output ports.
perform mathematical operations on data in field data arrays
represent the vtkBalloonWidget
draw text labels at 2D dataset points
manager for OpenGL-based selection.
a simple class to control print indentation
an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor
Places and renders non-overlapping labels.
abstract base class for most VTK objects
draw vtkPolyData onto the image plane
A base view containing a renderer.
A view containing a renderer.
virtual void SetInteractionModeTo3D()
virtual void SetLabelRenderModeToFreetype()
virtual void UpdateHoverWidgetState()
Enable or disable hovering based on DisplayHoverText ivar and interaction state.
vtkSmartPointer< vtkHoverWidget > HoverWidget
vtkSmartPointer< vtkTexturedActor2D > LabelActor
virtual void GenerateSelection(void *callData, vtkSelection *selection)
Generates the selection based on the view event and the selection mode.
virtual void SetInteractionModeTo2D()
Set the interaction mode for the view.
virtual void SetDisplayHoverText(bool b)
Whether the view should display hover text.
virtual void SetTransform(vtkAbstractTransform *transform)
Set the view's transform.
virtual void SetLabelRenderMode(int mode)
Label render mode.
virtual void SetLabelPlacementModeToAll()
virtual int GetLabelPlacementMode()
virtual vtkInteractorObserver * GetInteractorStyle()
Get the interactor style associated with the render view.
virtual int GetLabelRenderMode()
void SetSelectionModeToSurface()
virtual void SetLabelRenderModeToQt()
bool PickRenderNeedsUpdate
static vtkRenderView * New()
void SetInteractionMode(int mode)
virtual void SetIconTexture(vtkTexture *texture)
Set the icon sheet to use for rendering icons.
vtkSmartPointer< vtkRenderer > LabelRenderer
virtual void PrepareForRendering()
Called by the view when the renderer is about to render.
virtual void Render()
Updates the representations, then calls Render() on the render window associated with this view.
virtual void SetRenderWindow(vtkRenderWindow *win)
Set the render window for this view.
void UpdatePickRender()
Update the pick render for queries for drag selections or hover ballooons.
virtual void ProcessEvents(vtkObject *caller, unsigned long eventId, void *callData)
Called to process events.
vtkSmartPointer< vtkBalloonRepresentation > Balloon
void SetSelectionModeToFrustum()
virtual void AddLabels(vtkAlgorithmOutput *conn)
Add labels from an input connection with an associated text property.
vtkSmartPointer< vtkLabelPlacementMapper > LabelPlacementMapper
void GetDisplaySize(int &dsx, int &dsy)
virtual void ApplyViewTheme(vtkViewTheme *theme)
Applies a view theme to this view.
virtual void SetLabelPlacementMode(int mode)
Label placement mode.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkSmartPointer< vtkHardwareSelector > Selector
vtkAbstractTransform * Transform
void SetRenderOnMouseMove(bool b)
Whether to render on every mouse move.
virtual void RemoveLabels(vtkAlgorithmOutput *conn)
Remove labels from an input connection.
virtual void SetInteractor(vtkRenderWindowInteractor *interactor)
The render window interactor.
virtual void UpdateHoverText()
Called in PrepareForRendering to update the hover text.
virtual void SetLabelPlacementModeToNoOverlap()
virtual void SetInteractorStyle(vtkInteractorObserver *style)
The interactor style associated with the render view.
platform-independent render window interaction including picking and frame rate control.
create a window for renderers to draw into
A node in a selection tree.
represent text properties.
handles properties associated with a texture map
actor that draws 2D data with texture support
Sets theme colors for a graphical view.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.