|
open_iA 2024.9
|
Base class for 3D visualizations of objects (e.g. More...
#include <iAObjectVis.h>
Public Types | |
| using | IndexType = vtkIdType |
| the type used for indices into the data table. | |
Signals | |
| void | dataChanged () |
| void | renderRequired () |
Public Member Functions | |
| iAObjectVis (iAObjectsData const *data) | |
| virtual | ~iAObjectVis () |
| virtual double const * | bounds ()=0 |
| virtual std::shared_ptr< iAObjectVisActor > | createActor (vtkRenderer *ren)=0 |
| virtual void | multiClassRendering (QList< QColor > const &classColors, QStandardItem *rootItem, double alpha)=0 |
| virtual void | renderLengthDistribution (vtkColorTransferFunction *cTFun, vtkFloatArray *extents, double halfInc, int filterID, double const *range)=0 |
| virtual void | renderOrientationDistribution (vtkImageData *oi)=0 |
| virtual void | renderSelection (std::vector< size_t > const &sortedSelInds, int classID, QColor const &classColor, QStandardItem *activeClassItem)=0 |
| virtual void | renderSingle (IndexType selectedObjID, int classID, QColor const &classColor, QStandardItem *activeClassItem)=0 |
Static Public Attributes | |
| static const QColor | SelectedColor |
Protected Member Functions | |
| QColor | getLengthColor (vtkColorTransferFunction *ctFun, IndexType objID) const |
| QColor | getOrientationColor (vtkImageData *oi, IndexType objID) const |
Protected Attributes | |
| iAObjectsData const * | m_data |
Base class for 3D visualizations of objects (e.g.
fibers or pores) defined in a table.
Use the factory method create3DObjectVis in iAObjectVisFactory.h to create a specific instance!
| using iAObjectVis::IndexType = vtkIdType |
the type used for indices into the data table.
(Implementation Note: if vtkTable is replaced by something else, e.g. SPMData or a general table class, this might need to be adapted)
| iAObjectVis::iAObjectVis | ( | iAObjectsData const * | data | ) |
|
virtual |
|
pure virtual |
Implemented in iAColoredPolyObjectVis, iAEllipsoidObjectVis, iALabeledVolumeVis, and iANoObjectVis.
|
pure virtual |
Implemented in iAColoredPolyObjectVis, iALabeledVolumeVis, and iANoObjectVis.
|
signal |
|
protected |
|
protected |
|
pure virtual |
Implemented in iAColoredPolyObjectVis, iALabeledVolumeVis, and iANoObjectVis.
|
pure virtual |
Implemented in iAColoredPolyObjectVis, iALabeledVolumeVis, and iANoObjectVis.
|
pure virtual |
Implemented in iAColoredPolyObjectVis, iALabeledVolumeVis, and iANoObjectVis.
|
signal |
|
pure virtual |
Implemented in iAColoredPolyObjectVis, iALabeledVolumeVis, and iANoObjectVis.
|
pure virtual |
Implemented in iAColoredPolyObjectVis, iALabeledVolumeVis, and iANoObjectVis.
|
protected |
|
static |