vtk3DWidgetRepresentation is a vtkDataRepresentation subclass for 3D widgets and their representations.
More...
#include <vtk3DWidgetRepresentation.h>
Inherits vtkDataRepresentation.
vtk3DWidgetRepresentation is a vtkDataRepresentation subclass for 3D widgets and their representations.
It makes it possible to add 3D widgets to vtkPVRenderView.
Definition at line 34 of file vtk3DWidgetRepresentation.h.
◆ Superclass
◆ vtk3DWidgetRepresentation()
vtk3DWidgetRepresentation::vtk3DWidgetRepresentation |
( |
| ) |
|
|
protected |
◆ ~vtk3DWidgetRepresentation()
vtk3DWidgetRepresentation::~vtk3DWidgetRepresentation |
( |
| ) |
|
|
protected |
◆ New()
◆ GetClassName()
virtual const char* vtk3DWidgetRepresentation::GetClassName |
( |
| ) |
|
|
virtual |
◆ IsTypeOf()
static int vtk3DWidgetRepresentation::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ IsA()
virtual int vtk3DWidgetRepresentation::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ SafeDownCast()
◆ PrintSelf()
void vtk3DWidgetRepresentation::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
◆ SetWidget()
void vtk3DWidgetRepresentation::SetWidget |
( |
vtkAbstractWidget * |
| ) |
|
◆ GetWidget()
virtual vtkAbstractWidget* vtk3DWidgetRepresentation::GetWidget |
( |
| ) |
|
|
virtual |
◆ SetRepresentation()
void vtk3DWidgetRepresentation::SetRepresentation |
( |
vtkWidgetRepresentation * |
| ) |
|
Get/Set the representation.
◆ GetRepresentation()
virtual vtkWidgetRepresentation* vtk3DWidgetRepresentation::GetRepresentation |
( |
| ) |
|
|
virtual |
Get/Set the representation.
◆ SetUseNonCompositedRenderer()
virtual void vtk3DWidgetRepresentation::SetUseNonCompositedRenderer |
( |
bool |
| ) |
|
|
virtual |
Set to true to add the vtkWidgetRepresentation to the non-composited renderer.
false by default.
◆ GetUseNonCompositedRenderer()
virtual bool vtk3DWidgetRepresentation::GetUseNonCompositedRenderer |
( |
| ) |
|
|
virtual |
Set to true to add the vtkWidgetRepresentation to the non-composited renderer.
false by default.
◆ UseNonCompositedRendererOn()
virtual void vtk3DWidgetRepresentation::UseNonCompositedRendererOn |
( |
| ) |
|
|
virtual |
Set to true to add the vtkWidgetRepresentation to the non-composited renderer.
false by default.
◆ UseNonCompositedRendererOff()
virtual void vtk3DWidgetRepresentation::UseNonCompositedRendererOff |
( |
| ) |
|
|
virtual |
Set to true to add the vtkWidgetRepresentation to the non-composited renderer.
false by default.
◆ SetEnabled()
void vtk3DWidgetRepresentation::SetEnabled |
( |
bool |
| ) |
|
Get/Set whether the widget is enabled.
◆ GetEnabled()
virtual bool vtk3DWidgetRepresentation::GetEnabled |
( |
| ) |
|
|
virtual |
Get/Set whether the widget is enabled.
◆ EnabledOn()
virtual void vtk3DWidgetRepresentation::EnabledOn |
( |
| ) |
|
|
virtual |
Get/Set whether the widget is enabled.
◆ EnabledOff()
virtual void vtk3DWidgetRepresentation::EnabledOff |
( |
| ) |
|
|
virtual |
Get/Set whether the widget is enabled.
◆ AddToView()
virtual bool vtk3DWidgetRepresentation::AddToView |
( |
vtkView * |
view | ) |
|
|
protectedvirtual |
Adds the representation to the view.
This is called from vtkView::AddRepresentation(). Subclasses should override this method. Returns true if the addition succeeds.
◆ RemoveFromView()
virtual bool vtk3DWidgetRepresentation::RemoveFromView |
( |
vtkView * |
view | ) |
|
|
protectedvirtual |
Removes the representation to the view.
This is called from vtkView::RemoveRepresentation(). Subclasses should override this method. Returns true if the removal succeeds.
◆ UpdateEnabled()
void vtk3DWidgetRepresentation::UpdateEnabled |
( |
| ) |
|
|
protected |
Updates 'Enabled' on this->Widget.
◆ OnRepresentationModified()
void vtk3DWidgetRepresentation::OnRepresentationModified |
( |
| ) |
|
|
protected |
Callback whenever the representation is modified.
We call UpdateEnabled() to ensure that the widget is not left enabled when the representation is hidden.
◆ OnViewModified()
void vtk3DWidgetRepresentation::OnViewModified |
( |
| ) |
|
|
protected |
Callback whenever the view is modified.
If the view's interactor has changed, we will pass that to the vtkAbstractWidget instance and then call UpdateEnabled().
◆ Enabled
bool vtk3DWidgetRepresentation::Enabled |
|
protected |
◆ UseNonCompositedRenderer
bool vtk3DWidgetRepresentation::UseNonCompositedRenderer |
|
protected |
◆ Widget
vtkAbstractWidget* vtk3DWidgetRepresentation::Widget |
|
protected |
◆ Representation
vtkWidgetRepresentation* vtk3DWidgetRepresentation::Representation |
|
protected |
◆ View
The documentation for this class was generated from the following file: