39 #ifndef vtkRenderView_h
40 #define vtkRenderView_h
91 INTERACTION_MODE_UNKNOWN
94 void SetInteractionMode(
int mode);
95 vtkGetMacro(InteractionMode,
int);
102 { this->SetInteractionMode(INTERACTION_MODE_2D); }
104 { this->SetInteractionMode(INTERACTION_MODE_3D); }
123 virtual void SetDisplayHoverText(
bool b);
124 vtkGetMacro(DisplayHoverText,
bool);
125 vtkBooleanMacro(DisplayHoverText,
bool);
140 vtkSetClampMacro(SelectionMode,
int, 0, 1);
141 vtkGetMacro(SelectionMode,
int);
156 virtual void SetIconTexture(
vtkTexture* texture);
162 vtkSetVector2Macro(IconSize,
int);
163 vtkGetVector2Macro(IconSize,
int);
170 vtkSetVector2Macro(DisplaySize,
int);
171 int* GetDisplaySize();
172 void GetDisplaySize(
int &dsx,
int &dsy);
188 virtual void SetLabelPlacementMode(
int mode);
189 virtual int GetLabelPlacementMode();
191 { this->SetLabelPlacementMode(NO_OVERLAP); }
193 { this->SetLabelPlacementMode(ALL); }
207 virtual void SetLabelRenderMode(
int mode);
208 virtual int GetLabelRenderMode();
210 { this->SetLabelRenderMode(FREETYPE); }
212 { this->SetLabelRenderMode(QT); }
217 void SetRenderOnMouseMove(
bool b);
218 vtkGetMacro(RenderOnMouseMove,
bool);
219 vtkBooleanMacro(RenderOnMouseMove,
bool);
236 virtual void GenerateSelection(
244 virtual void UpdateHoverText();
248 virtual void UpdateHoverWidgetState();
252 void UpdatePickRender();
virtual void ApplyViewTheme(vtkViewTheme *vtkNotUsed(theme))
abstract base class for most VTK objects
actor that draws 2D data with texture support
void SetSelectionModeToFrustum()
perform mathematical operations on data in field data arrays
virtual void SetRenderWindow(vtkRenderWindow *win)
a actor that draws 2D data
vtkSmartPointer< vtkBalloonRepresentation > Balloon
draw text labels at 2D dataset points
A node in a selection tree. Used to store selection results.
virtual void SetLabelPlacementModeToAll()
virtual void SetInteractionModeTo2D()
A base view containing a renderer.
virtual void SetInteractor(vtkRenderWindowInteractor *)
Proxy object to connect input/output ports.
an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor ...
void SetSelectionModeToSurface()
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)
vtkAbstractTransform * Transform
vtkSmartPointer< vtkLabelPlacementMapper > LabelPlacementMapper
a simple class to control print indentation
virtual void SetLabelPlacementModeToNoOverlap()
handles properties associated with a texture map
vtkSmartPointer< vtkHoverWidget > HoverWidget
virtual void SetLabelRenderModeToFreetype()
virtual void SetLabelRenderModeToQt()
void PrintSelf(ostream &os, vtkIndent indent)
bool PickRenderNeedsUpdate
virtual void PrepareForRendering()
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
#define VTKVIEWSINFOVIS_EXPORT