Public Types | Public Member Functions | Private Member Functions

ctkVTKRenderView Class Reference

#include <Libs/Visualization/VTK/Widgets/ctkVTKRenderView.h>

List of all members.

Public Types

typedef QWidget Superclass
 Constructors.

Public Member Functions

vtkCamera * activeCamera ()
 Get active camera.
 ctkVTKRenderView (QWidget *parent=0)
void forceRender ()
 Force a render even if a render is already ocurring.
vtkRenderWindowInteractor * interactor () const
 Set/Get window interactor.
vtkRenderer * renderer () const
 Get a reference to the associated vtkRenderer.
void resetCamera ()
 Reset camera.
void scheduleRender ()
 If a render has already been scheduled, this called is a no-op.
void setBackgroundColor (double r, double g, double b)
 Set background color.
void setCornerAnnotationText (const QString &text)
 Set corner annotation text.
void setInteractor (vtkRenderWindowInteractor *newInteractor)
void setRenderEnabled (bool value)
 Enable/Disable rendering.
virtual ~ctkVTKRenderView ()

Private Member Functions

 CTK_DECLARE_PRIVATE (ctkVTKRenderView)

Detailed Description

Definition at line 37 of file ctkVTKRenderView.h.


Member Typedef Documentation

Constructors.

Definition at line 42 of file ctkVTKRenderView.h.


Constructor & Destructor Documentation

ctkVTKRenderView::ctkVTKRenderView ( QWidget *  parent = 0  )  [explicit]

Definition at line 92 of file ctkVTKRenderView.cpp.

ctkVTKRenderView::~ctkVTKRenderView (  )  [virtual]

Definition at line 108 of file ctkVTKRenderView.cpp.


Member Function Documentation

vtkCamera * ctkVTKRenderView::activeCamera (  ) 

Get active camera.

Definition at line 172 of file ctkVTKRenderView.cpp.

ctkVTKRenderView::CTK_DECLARE_PRIVATE ( ctkVTKRenderView   )  [private]
void ctkVTKRenderView::forceRender (  ) 

Force a render even if a render is already ocurring.

Definition at line 131 of file ctkVTKRenderView.cpp.

vtkRenderWindowInteractor* ctkVTKRenderView::interactor (  )  const

Set/Get window interactor.

vtkRenderer* ctkVTKRenderView::renderer (  )  const

Get a reference to the associated vtkRenderer.

void ctkVTKRenderView::resetCamera (  ) 

Reset camera.

Definition at line 186 of file ctkVTKRenderView.cpp.

void ctkVTKRenderView::scheduleRender (  ) 

If a render has already been scheduled, this called is a no-op.

Definition at line 116 of file ctkVTKRenderView.cpp.

void ctkVTKRenderView::setBackgroundColor ( double  r,
double  g,
double  b 
)

Set background color.

Definition at line 164 of file ctkVTKRenderView.cpp.

void ctkVTKRenderView::setCornerAnnotationText ( const QString &  text  ) 

Set corner annotation text.

Definition at line 156 of file ctkVTKRenderView.cpp.

void ctkVTKRenderView::setInteractor ( vtkRenderWindowInteractor *  newInteractor  ) 

Definition at line 143 of file ctkVTKRenderView.cpp.

void ctkVTKRenderView::setRenderEnabled ( bool  value  ) 

Enable/Disable rendering.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines