Go to the documentation of this file.
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);
138 vtkBooleanMacro(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);
246 vtkBooleanMacro(RenderOnMouseMove,
bool);
259 void* callData)
override;
264 virtual void GenerateSelection(
275 virtual void UpdateHoverText();
281 virtual void UpdateHoverWidgetState();
287 void UpdatePickRender();
virtual void SetInteractionModeTo2D()
Set the interaction mode for the view.
draw vtkPolyData onto the image plane
A view containing a renderer.
virtual void SetLabelPlacementModeToNoOverlap()
virtual void ProcessEvents(vtkObject *caller, unsigned long eventId, void *callData)
Called to process events.
perform mathematical operations on data in field data arrays
actor that draws 2D data with texture support
virtual void Render()
Updates the representations, then calls Render() on the render window associated with this view.
abstract base class for most VTK objects
Places and renders non-overlapping labels.
virtual void SetInteractionModeTo3D()
data object that represents a "selection" in VTK.
an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor
virtual void SetRenderWindow(vtkRenderWindow *win)
Set the render window for this view.
vtkSmartPointer< vtkHardwareSelector > Selector
Sets theme colors for a graphical view.
virtual void SetInteractor(vtkRenderWindowInteractor *)
vtkSmartPointer< vtkRenderer > LabelRenderer
virtual void SetLabelPlacementModeToAll()
handles properties associated with a texture map
vtkSmartPointer< vtkTexturedActor2D > LabelActor
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool PickRenderNeedsUpdate
a simple class to control print indentation
virtual void ApplyViewTheme(vtkViewTheme *vtkNotUsed(theme))
Apply a theme to the view.
void SetSelectionModeToFrustum()
A base view containing a renderer.
platform-independent render window interaction including picking and frame rate control.
represent the vtkBalloonWidget
virtual void PrepareForRendering()
Called by the view when the renderer is about to render.
represent text properties.
static vtkRenderViewBase * New()
a actor that draws 2D data
virtual void SetLabelRenderModeToQt()
vtkSmartPointer< vtkBalloonRepresentation > Balloon
draw text labels at 2D dataset points
Proxy object to connect input/output ports.
create a window for renderers to draw into
void SetSelectionModeToSurface()
vtkSmartPointer< vtkHoverWidget > HoverWidget
virtual void SetLabelRenderModeToFreetype()
vtkAbstractTransform * Transform
vtkSmartPointer< vtkLabelPlacementMapper > LabelPlacementMapper