40 #ifndef vtkRenderView_h
41 #define vtkRenderView_h
45 #include "vtkViewsInfovisModule.h"
99 INTERACTION_MODE_UNKNOWN
102 void SetInteractionMode(
int mode);
103 vtkGetMacro(InteractionMode,
int);
137 virtual void SetDisplayHoverText(
bool b);
138 vtkGetMacro(DisplayHoverText,
bool);
139 vtkBooleanMacro(DisplayHoverText,
bool);
156 vtkSetClampMacro(SelectionMode,
int, 0, 1);
157 vtkGetMacro(SelectionMode,
int);
178 virtual void SetIconTexture(
vtkTexture* texture);
186 vtkSetVector2Macro(IconSize,
int);
187 vtkGetVector2Macro(IconSize,
int);
195 vtkSetVector2Macro(DisplaySize,
int);
196 int* GetDisplaySize();
197 void GetDisplaySize(
int& dsx,
int& dsy);
214 virtual void SetLabelPlacementMode(
int mode);
215 virtual int GetLabelPlacementMode();
232 virtual void SetLabelRenderMode(
int mode);
233 virtual int GetLabelRenderMode();
242 void SetRenderOnMouseMove(
bool b);
243 vtkGetMacro(RenderOnMouseMove,
bool);
244 vtkBooleanMacro(RenderOnMouseMove,
bool);
261 virtual void GenerateSelection(
void* callData,
vtkSelection* selection);
271 virtual void UpdateHoverText();
277 virtual void UpdateHoverWidgetState();
283 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
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