34 #ifndef vtkRenderView_h 35 #define vtkRenderView_h 37 #include "vtkViewsInfovisModule.h" 93 INTERACTION_MODE_UNKNOWN
96 void SetInteractionMode(
int mode);
97 vtkGetMacro(InteractionMode,
int);
105 { this->SetInteractionMode(INTERACTION_MODE_2D); }
107 { this->SetInteractionMode(INTERACTION_MODE_3D); }
133 virtual void SetDisplayHoverText(
bool b);
134 vtkGetMacro(DisplayHoverText,
bool);
135 vtkBooleanMacro(DisplayHoverText,
bool);
151 vtkSetClampMacro(SelectionMode,
int, 0, 1);
152 vtkGetMacro(SelectionMode,
int);
173 virtual void SetIconTexture(
vtkTexture* texture);
181 vtkSetVector2Macro(IconSize,
int);
182 vtkGetVector2Macro(IconSize,
int);
190 vtkSetVector2Macro(DisplaySize,
int);
191 int* GetDisplaySize();
192 void GetDisplaySize(
int &dsx,
int &dsy);
209 virtual void SetLabelPlacementMode(
int mode);
210 virtual int GetLabelPlacementMode();
212 { this->SetLabelPlacementMode(NO_OVERLAP); }
214 { this->SetLabelPlacementMode(ALL); }
229 virtual void SetLabelRenderMode(
int mode);
230 virtual int GetLabelRenderMode();
232 { this->SetLabelRenderMode(FREETYPE); }
234 { this->SetLabelRenderMode(QT); }
241 void SetRenderOnMouseMove(
bool b);
242 vtkGetMacro(RenderOnMouseMove,
bool);
243 vtkBooleanMacro(RenderOnMouseMove,
bool);
256 void* callData)
override;
261 virtual void GenerateSelection(
272 virtual void UpdateHoverText();
278 virtual void UpdateHoverWidgetState();
284 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
A node in a selection tree.
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()
manager for OpenGL-based selection.
static vtkRenderViewBase * New()
Places and renders non-overlapping labels.
draw vtkPolyData onto the image plane