#include <vtkRenderView.h>
vtkRenderView is a view which contains a vtkRenderer. You may add vtkActors directly to the renderer, or add certain vtkDataRepresentation subclasses to the renderer. The render view supports drag selection with the mouse to select cells.
This class is also the parent class for any more specialized view which uses a renderer.
Definition at line 65 of file vtkRenderView.h.
typedef vtkView vtkRenderView::Superclass |
Reimplemented from vtkView.
Reimplemented in vtkContextView, vtkGeoView, vtkGeoView2D, vtkGraphLayoutView, vtkHierarchicalGraphView, vtkIcicleView, vtkParallelCoordinatesView, vtkTreeAreaView, vtkTreeMapView, and vtkTreeRingView.
Definition at line 69 of file vtkRenderView.h.
anonymous enum |
Definition at line 95 of file vtkRenderView.h.
anonymous enum |
anonymous enum |
anonymous enum |
vtkRenderView::vtkRenderView | ( | ) | [protected] |
vtkRenderView::~vtkRenderView | ( | ) | [protected] |
static vtkRenderView* vtkRenderView::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkView.
Reimplemented in vtkContextView, vtkGeoView, vtkGeoView2D, vtkGraphLayoutView, vtkHierarchicalGraphView, vtkIcicleView, vtkParallelCoordinatesView, vtkTreeAreaView, vtkTreeMapView, and vtkTreeRingView.
virtual const char* vtkRenderView::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkView.
Reimplemented in vtkContextView, vtkGeoView, vtkGeoView2D, vtkGraphLayoutView, vtkHierarchicalGraphView, vtkIcicleView, vtkParallelCoordinatesView, vtkTreeAreaView, vtkTreeMapView, and vtkTreeRingView.
static int vtkRenderView::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkView.
Reimplemented in vtkContextView, vtkGeoView, vtkGeoView2D, vtkGraphLayoutView, vtkHierarchicalGraphView, vtkIcicleView, vtkParallelCoordinatesView, vtkTreeAreaView, vtkTreeMapView, and vtkTreeRingView.
virtual int vtkRenderView::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkView.
Reimplemented in vtkContextView, vtkGeoView, vtkGeoView2D, vtkGraphLayoutView, vtkHierarchicalGraphView, vtkIcicleView, vtkParallelCoordinatesView, vtkTreeAreaView, vtkTreeMapView, and vtkTreeRingView.
static vtkRenderView* vtkRenderView::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkView.
Reimplemented in vtkContextView, vtkGeoView, vtkGeoView2D, vtkGraphLayoutView, vtkHierarchicalGraphView, vtkIcicleView, vtkParallelCoordinatesView, vtkTreeAreaView, vtkTreeMapView, and vtkTreeRingView.
void vtkRenderView::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkView.
Reimplemented in vtkContextView, vtkGeoView, vtkGeoView2D, vtkGraphLayoutView, vtkHierarchicalGraphView, vtkIcicleView, vtkParallelCoordinatesView, vtkTreeAreaView, vtkTreeMapView, and vtkTreeRingView.
virtual vtkRenderer* vtkRenderView::GetRenderer | ( | ) | [virtual] |
Gets the renderer for this view.
virtual vtkRenderWindow* vtkRenderView::GetRenderWindow | ( | ) | [virtual] |
Get a handle to the render window.
virtual vtkRenderWindowInteractor* vtkRenderView::GetInteractor | ( | ) | [virtual] |
The render window interactor.
virtual void vtkRenderView::SetInteractor | ( | vtkRenderWindowInteractor * | interactor | ) | [virtual] |
The render window interactor.
virtual void vtkRenderView::SetInteractorStyle | ( | vtkInteractorObserver * | style | ) | [virtual] |
The interactor style associated with the render view.
virtual vtkInteractorObserver* vtkRenderView::GetInteractorStyle | ( | ) | [virtual] |
The interactor style associated with the render view.
virtual void vtkRenderView::SetInteractionMode | ( | int | mode | ) | [virtual] |
Set the interaction mode for the view. Choices are: vtkRenderView::INTERACTION_MODE_2D - 2D interactor vtkRenderView::INTERACTION_MODE_3D - 3D interactor
Reimplemented in vtkContextView.
virtual int vtkRenderView::GetInteractionMode | ( | ) | [virtual] |
Set the interaction mode for the view. Choices are: vtkRenderView::INTERACTION_MODE_2D - 2D interactor vtkRenderView::INTERACTION_MODE_3D - 3D interactor
virtual void vtkRenderView::SetInteractionModeTo2D | ( | ) | [inline, virtual] |
Set the interaction mode for the view. Choices are: vtkRenderView::INTERACTION_MODE_2D - 2D interactor vtkRenderView::INTERACTION_MODE_3D - 3D interactor
Definition at line 109 of file vtkRenderView.h.
virtual void vtkRenderView::SetInteractionModeTo3D | ( | ) | [inline, virtual] |
Set the interaction mode for the view. Choices are: vtkRenderView::INTERACTION_MODE_2D - 2D interactor vtkRenderView::INTERACTION_MODE_3D - 3D interactor
Definition at line 111 of file vtkRenderView.h.
virtual void vtkRenderView::ApplyViewTheme | ( | vtkViewTheme * | theme | ) | [virtual] |
Applies a view theme to this view.
Reimplemented in vtkGeoView2D, and vtkParallelCoordinatesView.
virtual void vtkRenderView::SetTransform | ( | vtkAbstractTransform * | transform | ) | [virtual] |
Set the view's transform. All vtkRenderedRepresentations added to this view should use this transform.
virtual vtkAbstractTransform* vtkRenderView::GetTransform | ( | ) | [virtual] |
Set the view's transform. All vtkRenderedRepresentations added to this view should use this transform.
Reimplemented in vtkGeoView2D.
virtual void vtkRenderView::SetDisplayHoverText | ( | bool | b | ) | [virtual] |
Whether the view should display hover text.
virtual bool vtkRenderView::GetDisplayHoverText | ( | ) | [virtual] |
Whether the view should display hover text.
virtual void vtkRenderView::DisplayHoverTextOn | ( | ) | [virtual] |
Whether the view should display hover text.
virtual void vtkRenderView::DisplayHoverTextOff | ( | ) | [virtual] |
Whether the view should display hover text.
virtual void vtkRenderView::SetSelectionMode | ( | int | ) | [virtual] |
Sets the selection mode for the render view. SURFACE selection uses vtkHardwareSelector to perform a selection of visible cells. FRUSTUM selection just creates a view frustum selection, which will select everything in the frustum.
virtual int vtkRenderView::GetSelectionMode | ( | ) | [virtual] |
Sets the selection mode for the render view. SURFACE selection uses vtkHardwareSelector to perform a selection of visible cells. FRUSTUM selection just creates a view frustum selection, which will select everything in the frustum.
void vtkRenderView::SetSelectionModeToSurface | ( | ) | [inline] |
Sets the selection mode for the render view. SURFACE selection uses vtkHardwareSelector to perform a selection of visible cells. FRUSTUM selection just creates a view frustum selection, which will select everything in the frustum.
Definition at line 146 of file vtkRenderView.h.
void vtkRenderView::SetSelectionModeToFrustum | ( | ) | [inline] |
Sets the selection mode for the render view. SURFACE selection uses vtkHardwareSelector to perform a selection of visible cells. FRUSTUM selection just creates a view frustum selection, which will select everything in the frustum.
Definition at line 147 of file vtkRenderView.h.
virtual void vtkRenderView::Render | ( | ) | [virtual] |
Updates the representations, then calls Render() on the render window associated with this view.
Reimplemented in vtkContextView, vtkGeoView, and vtkGeoView2D.
virtual void vtkRenderView::ResetCamera | ( | ) | [virtual] |
Updates the representations, then calls ResetCamera() on the renderer associated with this view.
virtual void vtkRenderView::ResetCameraClippingRange | ( | ) | [virtual] |
Updates the representations, then calls ResetCameraClippingRange() on the renderer associated with this view.
virtual void vtkRenderView::AddLabels | ( | vtkAlgorithmOutput * | conn | ) | [virtual] |
Add labels from an input connection with an associated text property. The output must be a vtkLabelHierarchy (normally the output of vtkPointSetToLabelHierarchy).
virtual void vtkRenderView::RemoveLabels | ( | vtkAlgorithmOutput * | conn | ) | [virtual] |
Remove labels from an input connection.
virtual void vtkRenderView::SetIconTexture | ( | vtkTexture * | texture | ) | [virtual] |
Set the icon sheet to use for rendering icons.
virtual vtkTexture* vtkRenderView::GetIconTexture | ( | ) | [virtual] |
Set the icon sheet to use for rendering icons.
virtual void vtkRenderView::SetIconSize | ( | int | , | |
int | ||||
) | [virtual] |
Set the size of each icon in the icon texture.
void vtkRenderView::SetIconSize | ( | int | [2] | ) |
Set the size of each icon in the icon texture.
virtual int* vtkRenderView::GetIconSize | ( | ) | [virtual] |
Set the size of each icon in the icon texture.
virtual void vtkRenderView::GetIconSize | ( | int & | , | |
int & | ||||
) | [virtual] |
Set the size of each icon in the icon texture.
virtual void vtkRenderView::GetIconSize | ( | int | [2] | ) | [virtual] |
Set the size of each icon in the icon texture.
virtual void vtkRenderView::SetLabelPlacementMode | ( | int | mode | ) | [virtual] |
Label placement mode. NO_OVERLAP uses vtkLabelPlacementMapper, which has a faster startup time and works with 2D or 3D labels. ALL displays all labels (Warning: This may cause incredibly slow render times on datasets with more than a few hundred labels).
virtual int vtkRenderView::GetLabelPlacementMode | ( | ) | [virtual] |
Label placement mode. NO_OVERLAP uses vtkLabelPlacementMapper, which has a faster startup time and works with 2D or 3D labels. ALL displays all labels (Warning: This may cause incredibly slow render times on datasets with more than a few hundred labels).
virtual void vtkRenderView::SetLabelPlacementModeToNoOverlap | ( | ) | [inline, virtual] |
Label placement mode. NO_OVERLAP uses vtkLabelPlacementMapper, which has a faster startup time and works with 2D or 3D labels. ALL displays all labels (Warning: This may cause incredibly slow render times on datasets with more than a few hundred labels).
Definition at line 197 of file vtkRenderView.h.
virtual void vtkRenderView::SetLabelPlacementModeToAll | ( | ) | [inline, virtual] |
Label placement mode. NO_OVERLAP uses vtkLabelPlacementMapper, which has a faster startup time and works with 2D or 3D labels. ALL displays all labels (Warning: This may cause incredibly slow render times on datasets with more than a few hundred labels).
Definition at line 199 of file vtkRenderView.h.
virtual void vtkRenderView::SetLabelRenderMode | ( | int | mode | ) | [virtual] |
Label render mode. FREETYPE uses the freetype label rendering. QT uses more advanced Qt-based label rendering.
virtual int vtkRenderView::GetLabelRenderMode | ( | ) | [virtual] |
Label render mode. FREETYPE uses the freetype label rendering. QT uses more advanced Qt-based label rendering.
virtual void vtkRenderView::SetLabelRenderModeToFreetype | ( | ) | [inline, virtual] |
Label render mode. FREETYPE uses the freetype label rendering. QT uses more advanced Qt-based label rendering.
Definition at line 216 of file vtkRenderView.h.
virtual void vtkRenderView::SetLabelRenderModeToQt | ( | ) | [inline, virtual] |
Label render mode. FREETYPE uses the freetype label rendering. QT uses more advanced Qt-based label rendering.
Definition at line 218 of file vtkRenderView.h.
virtual void vtkRenderView::ProcessEvents | ( | vtkObject * | caller, | |
unsigned long | eventId, | |||
void * | callData | |||
) | [protected, virtual] |
Called to process events. Captures StartEvent events from the renderer and calls Update(). This may be overridden by subclasses to process additional events.
Reimplemented from vtkView.
Reimplemented in vtkGraphLayoutView, and vtkParallelCoordinatesView.
virtual void vtkRenderView::GenerateSelection | ( | void * | callData, | |
vtkSelection * | selection | |||
) | [protected, virtual] |
Generates the selection based on the view event and the selection mode.
virtual void vtkRenderView::PrepareForRendering | ( | ) | [protected, virtual] |
Called by the view when the renderer is about to render.
Reimplemented in vtkGeoView, vtkGeoView2D, and vtkParallelCoordinatesView.
virtual void vtkRenderView::UpdateHoverText | ( | ) | [protected, virtual] |
Called in PrepareForRendering to update the hover text.
virtual void vtkRenderView::UpdateHoverWidgetState | ( | ) | [protected, virtual] |
Enable or disable hovering based on DisplayHoverText ivar and interaction state.
void vtkRenderView::UpdatePickRender | ( | ) | [protected] |
Update the pick render for queries for drag selections or hover ballooons.
void vtkRenderView::SetRenderOnMouseMove | ( | bool | b | ) | [protected] |
Whether to render on every mouse move.
virtual bool vtkRenderView::GetRenderOnMouseMove | ( | ) | [protected, virtual] |
Whether to render on every mouse move.
virtual void vtkRenderView::RenderOnMouseMoveOn | ( | ) | [protected, virtual] |
Whether to render on every mouse move.
virtual void vtkRenderView::RenderOnMouseMoveOff | ( | ) | [protected, virtual] |
Whether to render on every mouse move.
vtkRenderer* vtkRenderView::Renderer [protected] |
Definition at line 259 of file vtkRenderView.h.
vtkRenderer* vtkRenderView::LabelRenderer [protected] |
Definition at line 263 of file vtkRenderView.h.
vtkRenderWindow* vtkRenderView::RenderWindow [protected] |
Definition at line 264 of file vtkRenderView.h.
int vtkRenderView::SelectionMode [protected] |
Definition at line 265 of file vtkRenderView.h.
int vtkRenderView::InteractionMode [protected] |
Definition at line 266 of file vtkRenderView.h.
int vtkRenderView::LabelRenderMode [protected] |
Definition at line 267 of file vtkRenderView.h.
bool vtkRenderView::DisplayHoverText [protected] |
Definition at line 268 of file vtkRenderView.h.
bool vtkRenderView::Interacting [protected] |
Definition at line 269 of file vtkRenderView.h.
bool vtkRenderView::InHoverTextRender [protected] |
Definition at line 270 of file vtkRenderView.h.
bool vtkRenderView::InPickRender [protected] |
Definition at line 271 of file vtkRenderView.h.
bool vtkRenderView::PickRenderNeedsUpdate [protected] |
Definition at line 272 of file vtkRenderView.h.
vtkAbstractTransform* vtkRenderView::Transform [protected] |
Definition at line 274 of file vtkRenderView.h.
vtkTexture* vtkRenderView::IconTexture [protected] |
Definition at line 275 of file vtkRenderView.h.
int vtkRenderView::IconSize[2] [protected] |
Definition at line 276 of file vtkRenderView.h.
Definition at line 279 of file vtkRenderView.h.
Definition at line 280 of file vtkRenderView.h.
vtkSmartPointer<vtkTexturedActor2D> vtkRenderView::LabelActor [protected] |
Definition at line 281 of file vtkRenderView.h.
vtkSmartPointer<vtkHoverWidget> vtkRenderView::HoverWidget [protected] |
Definition at line 282 of file vtkRenderView.h.
vtkSmartPointer<vtkHardwareSelector> vtkRenderView::Selector [protected] |
Definition at line 283 of file vtkRenderView.h.