abstract interface for a class for 3D rendering of a dataset (in an iARenderer)
More...
#include <iADataSetRenderer.h>
|
| | iADataSetRenderer (vtkRenderer *renderer) |
| | Create a dataset renderer.
|
| |
| virtual | ~iADataSetRenderer () |
| | called when dataset renderer is removed from display and destroyed.
|
| |
| iAAttributes | attributesWithValues () const |
| | Retrieves the list of attributes, merged with their current values as default values:
|
| |
| QVariantMap const & | attributeValues () const |
| | Retrieve only the current attribute values.
|
| |
| virtual iAAABB | bounds ()=0 |
| | The coordinates of the axis-aligned bounding box (of the dataset, untransformed to any current position/orientation changes)
|
| |
| bool | isPickable () const |
| | whether dataset is currently set to be pickable
|
| |
| bool | isVisible () const |
| | Whether dataset is currently visible.
|
| |
| virtual double const * | orientation () const =0 |
| | Get Orientation of this dataset in scene.
|
| |
| virtual double const * | position () const =0 |
| | Get Position of this dataset in scene.
|
| |
| virtual void | removeCuttingPlanes () |
| |
| void | setAttributes (QVariantMap const &values) |
| | Call to change the attributes of this renderer.
|
| |
| void | setBoundsVisible (bool visible) |
| | Set the visibility of the axis-aligned bounding box:
|
| |
| virtual void | setCuttingPlanes (vtkPlane *p1, vtkPlane *p2, vtkPlane *p3) |
| | optional additional control widget needed for additional settings in the renderer
|
| |
| virtual void | setOrientation (double ori[3])=0 |
| | Set orientation of this dataset in scene.
|
| |
| void | setPickable (bool pickable) |
| | convenience method for setting the pickable attribute
|
| |
| virtual void | setPosition (double pos[3])=0 |
| | Set position of this dataset in scene.
|
| |
| void | setVisible (bool visible) |
| | Set visibility of dataset.
|
| |
| virtual vtkProp3D * | vtkProp ()=0 |
| |
|
| void | addAttribute (QString const &name, iAValueType valueType, QVariant defaultValue=0.0, double min=std::numeric_limits< double >::lowest(), double max=std::numeric_limits< double >::max()) |
| |
| void | updateOutlineTransform () |
| | needs to be called by derived classes whenever the bounds of the dataset change (position, orientation, ...)
|
| |
abstract interface for a class for 3D rendering of a dataset (in an iARenderer)
◆ iADataSetRenderer()
| iADataSetRenderer::iADataSetRenderer |
( |
vtkRenderer * |
renderer | ) |
|
Create a dataset renderer.
◆ ~iADataSetRenderer()
| iADataSetRenderer::~iADataSetRenderer |
( |
| ) |
|
|
virtual |
called when dataset renderer is removed from display and destroyed.
Only takes care of removing outline from display; derived classes need to remove their props from renderers themselves!
◆ addAttribute()
| void iADataSetRenderer::addAttribute |
( |
QString const & |
name, |
|
|
iAValueType |
valueType, |
|
|
QVariant |
defaultValue = 0.0, |
|
|
double |
min = std::numeric_limits<double>::lowest(), |
|
|
double |
max = std::numeric_limits<double>::max() |
|
) |
| |
|
protected |
◆ attributesWithValues()
| iAAttributes iADataSetRenderer::attributesWithValues |
( |
| ) |
const |
Retrieves the list of attributes, merged with their current values as default values:
◆ attributeValues()
| QVariantMap const & iADataSetRenderer::attributeValues |
( |
| ) |
const |
Retrieve only the current attribute values.
◆ bounds()
| virtual iAAABB iADataSetRenderer::bounds |
( |
| ) |
|
|
pure virtual |
◆ isPickable()
| bool iADataSetRenderer::isPickable |
( |
| ) |
const |
whether dataset is currently set to be pickable
◆ isVisible()
| bool iADataSetRenderer::isVisible |
( |
| ) |
const |
Whether dataset is currently visible.
◆ orientation()
| virtual double const * iADataSetRenderer::orientation |
( |
| ) |
const |
|
pure virtual |
◆ position()
| virtual double const * iADataSetRenderer::position |
( |
| ) |
const |
|
pure virtual |
◆ removeCuttingPlanes()
| void iADataSetRenderer::removeCuttingPlanes |
( |
| ) |
|
|
virtual |
◆ setAttributes()
| void iADataSetRenderer::setAttributes |
( |
QVariantMap const & |
values | ) |
|
Call to change the attributes of this renderer.
◆ setBoundsVisible()
| void iADataSetRenderer::setBoundsVisible |
( |
bool |
visible | ) |
|
Set the visibility of the axis-aligned bounding box:
◆ setCuttingPlanes()
| void iADataSetRenderer::setCuttingPlanes |
( |
vtkPlane * |
p1, |
|
|
vtkPlane * |
p2, |
|
|
vtkPlane * |
p3 |
|
) |
| |
|
virtual |
optional additional control widget needed for additional settings in the renderer
Reimplemented in iAVolumeRenderer.
◆ setOrientation()
| virtual void iADataSetRenderer::setOrientation |
( |
double |
ori[3] | ) |
|
|
pure virtual |
◆ setPickable()
| void iADataSetRenderer::setPickable |
( |
bool |
pickable | ) |
|
convenience method for setting the pickable attribute
◆ setPosition()
| virtual void iADataSetRenderer::setPosition |
( |
double |
pos[3] | ) |
|
|
pure virtual |
◆ setVisible()
| void iADataSetRenderer::setVisible |
( |
bool |
visible | ) |
|
Set visibility of dataset.
◆ updateOutlineTransform()
| void iADataSetRenderer::updateOutlineTransform |
( |
| ) |
|
|
protected |
needs to be called by derived classes whenever the bounds of the dataset change (position, orientation, ...)
◆ vtkProp()
| virtual vtkProp3D * iADataSetRenderer::vtkProp |
( |
| ) |
|
|
pure virtual |
◆ AmbientLighting
| const QString iADataSetRenderer::AmbientLighting |
|
static |
◆ DiffuseLighting
| const QString iADataSetRenderer::DiffuseLighting |
|
static |
◆ m_attribValues
| QVariantMap iADataSetRenderer::m_attribValues |
|
protected |
◆ m_renderer
| vtkRenderer* iADataSetRenderer::m_renderer |
|
protected |
◆ Orientation
| const QString iADataSetRenderer::Orientation |
|
static |
◆ OutlineColor
| const QString iADataSetRenderer::OutlineColor |
|
static |
◆ Pickable
| const QString iADataSetRenderer::Pickable |
|
static |
◆ Position
| const QString iADataSetRenderer::Position |
|
static |
◆ Shading
| const QString iADataSetRenderer::Shading |
|
static |
◆ SpecularLighting
| const QString iADataSetRenderer::SpecularLighting |
|
static |
◆ SpecularPower
| const QString iADataSetRenderer::SpecularPower |
|
static |
The documentation for this class was generated from the following files: