37 #ifndef vtkRenderView_h 38 #define vtkRenderView_h 42 #include "vtkViewsInfovisModule.h" 96 INTERACTION_MODE_UNKNOWN
99 void SetInteractionMode(
int mode);
100 vtkGetMacro(InteractionMode,
int);
134 virtual void SetDisplayHoverText(
bool b);
135 vtkGetMacro(DisplayHoverText,
bool);
136 vtkBooleanMacro(DisplayHoverText,
bool);
153 vtkSetClampMacro(SelectionMode,
int, 0, 1);
154 vtkGetMacro(SelectionMode,
int);
175 virtual void SetIconTexture(
vtkTexture* texture);
183 vtkSetVector2Macro(IconSize,
int);
184 vtkGetVector2Macro(IconSize,
int);
192 vtkSetVector2Macro(DisplaySize,
int);
193 int* GetDisplaySize();
194 void GetDisplaySize(
int& dsx,
int& dsy);
211 virtual void SetLabelPlacementMode(
int mode);
212 virtual int GetLabelPlacementMode();
229 virtual void SetLabelRenderMode(
int mode);
230 virtual int GetLabelRenderMode();
239 void SetRenderOnMouseMove(
bool b);
240 vtkGetMacro(RenderOnMouseMove,
bool);
241 vtkBooleanMacro(RenderOnMouseMove,
bool);
258 virtual void GenerateSelection(
void* callData,
vtkSelection* selection);
268 virtual void UpdateHoverText();
274 virtual void UpdateHoverWidgetState();
280 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