24 #ifndef vtkRenderView_h
25 #define vtkRenderView_h
29 #include "vtkViewsInfovisModule.h"
31 VTK_ABI_NAMESPACE_BEGIN
84 INTERACTION_MODE_UNKNOWN
87 void SetInteractionMode(
int mode);
88 vtkGetMacro(InteractionMode,
int);
122 virtual void SetDisplayHoverText(
bool b);
123 vtkGetMacro(DisplayHoverText,
bool);
124 vtkBooleanMacro(DisplayHoverText,
bool);
141 vtkSetClampMacro(SelectionMode,
int, 0, 1);
142 vtkGetMacro(SelectionMode,
int);
163 virtual void SetIconTexture(
vtkTexture* texture);
171 vtkSetVector2Macro(IconSize,
int);
172 vtkGetVector2Macro(IconSize,
int);
180 vtkSetVector2Macro(DisplaySize,
int);
181 int* GetDisplaySize();
182 void GetDisplaySize(
int& dsx,
int& dsy);
199 virtual void SetLabelPlacementMode(
int mode);
200 virtual int GetLabelPlacementMode();
217 virtual void SetLabelRenderMode(
int mode);
218 virtual int GetLabelRenderMode();
227 void SetRenderOnMouseMove(
bool b);
228 vtkGetMacro(RenderOnMouseMove,
bool);
229 vtkBooleanMacro(RenderOnMouseMove,
bool);
246 virtual void GenerateSelection(
void* callData,
vtkSelection* selection);
256 virtual void UpdateHoverText();
262 virtual void UpdateHoverWidgetState();
268 void UpdatePickRender();
298 VTK_ABI_NAMESPACE_END
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
data object that represents a "selection" in VTK.
virtual void SetLabelPlacementModeToAll()
Label placement mode.
virtual void SetInteractionModeTo2D()
Set the interaction mode for the view.
A base view containing a renderer.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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.
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()
static vtkRenderViewBase * New()
Places and renders non-overlapping labels.
draw vtkPolyData onto the image plane