|
open_iA 2025.6
|
3D renderer for simple geometric objects (sphere, cube, ...). More...
#include <iADataSetRendererImpl.h>
Public Member Functions | |
| iAGeometricObjectRenderer (vtkRenderer *renderer, iAGeometricObject const *data, QVariantMap const &overrideValues) | |
| iAAABB | bounds () override |
| The coordinates of the axis-aligned bounding box (of the dataset, untransformed to any current position/orientation changes) | |
Public Member Functions inherited from iAPolyActorRenderer | |
| iAPolyActorRenderer (vtkRenderer *renderer, QVariantMap const &overrideValues) | |
| ~iAPolyActorRenderer () | |
| vtkActor * | actor () |
| void | applyAttributes (QVariantMap const &values) override |
| called when the attributes have changed; derive to apply such a change to renderer | |
| vtkPolyDataMapper * | mapper () |
| double const * | orientation () const override |
| Get Orientation of this dataset in scene TODO: make deliver std::array by value to avoid pointer to internal data! | |
| double const * | position () const override |
| Get Position of this dataset in scene TODO: make deliver std::array by value to avoid pointer to internal data! | |
| void | setOrientation (double ori[3]) override |
| Set orientation of this dataset in scene. | |
| void | setPosition (double pos[3]) override |
| Set position of this dataset in scene. | |
| vtkProp3D * | vtkProp () override |
| Retrieve the vtk prop (=root object in the scene) used for rendering this dataset. | |
Public Member Functions inherited from iADataSetRenderer | |
| iADataSetRenderer (vtkRenderer *renderer) | |
| Create a dataset renderer. | |
| virtual | ~iADataSetRenderer () |
| called when dataset renderer is removed from display and destroyed. | |
| virtual void | addCuttingPlane (vtkPlane *p) |
| optional additional control widget needed for additional settings in the renderer | |
| iAAttributes | attributesWithValues () const |
| Retrieves the list of attributes, merged with their current values as default values: | |
| virtual QVariantMap | attributeValues () const |
| Retrieve only the current attribute values. | |
| bool | isPickable () const |
| whether dataset is currently set to be pickable | |
| bool | isVisible () const |
| Whether dataset is currently visible. | |
| virtual void | removeCuttingPlane (vtkPlane *p) |
| 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: | |
| void | setPickable (bool pickable) |
| convenience method for setting the pickable attribute | |
| void | setVisible (bool visible) |
| Set visibility of dataset. | |
| vtkRenderer * | vtkRen () const |
| Retrieve the vtk renderer used for rendering this dataset. | |
Additional Inherited Members | |
Static Public Member Functions inherited from iAPolyActorRenderer | |
| static iAAttributes & | defaultAttributes () |
Static Public Member Functions inherited from iADataSetRenderer | |
| static iAAttributes & | defaultAttributes () |
| default attributes of the dataset renderer | |
Static Public Attributes inherited from iADataSetRenderer | |
| static constexpr const char | AmbientLighting [] = "Ambient lighting" |
| static constexpr const char | DiffuseLighting [] = "Diffuse lighting" |
| static constexpr const char | Orientation [] = "Orientation" |
| static constexpr const char | OutlineColor [] = "Box Color" |
| static constexpr const char | Pickable [] = "Pickable" |
| static constexpr const char | Position [] = "Position" |
| static constexpr const char | Shading [] = "Shading" |
| static constexpr const char | SpecularLighting [] = "Specular lighting" |
| static constexpr const char | SpecularPower [] = "Specular power" |
Protected Member Functions inherited from iADataSetRenderer | |
| void | setDefaultAttributes (iAAttributes const &defaultAttr, QVariantMap const &overrideValues) |
| convenience methods for derived classes: to be used at end of constructor to initialize attribute values to default, with the option to override these default values (e.g. | |
| void | updateOutlineTransform () |
| needs to be called by derived classes whenever the bounds of the dataset change (position, orientation, ...) | |
Protected Attributes inherited from iAPolyActorRenderer | |
| vtkSmartPointer< vtkActor > | m_polyActor |
Protected Attributes inherited from iADataSetRenderer | |
| QVariantMap | m_attribValues |
| vtkRenderer * | m_renderer |
| The VTK renderer used for showing this dataset. | |
3D renderer for simple geometric objects (sphere, cube, ...).
| iAGeometricObjectRenderer::iAGeometricObjectRenderer | ( | vtkRenderer * | renderer, |
| iAGeometricObject const * | data, | ||
| QVariantMap const & | overrideValues ) |
|
overridevirtual |
The coordinates of the axis-aligned bounding box (of the dataset, untransformed to any current position/orientation changes)
Implements iADataSetRenderer.