![]() |
open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
#include <iA3DCylinderObjectVis.h>
Public Member Functions | |
| iA3DCylinderObjectVis (vtkRenderer *ren, vtkTable *objectTable, QSharedPointer< QMap< uint, uint > > columnMapping, QColor const &color, std::map< size_t, std::vector< iAVec3f > > const &curvedFiberData, int numberOfCylinderSides=DefaultNumberOfCylinderSides, size_t segmentSkip=1) | |
| virtual | ~iA3DCylinderObjectVis () |
| std::vector< vtkSmartPointer< vtkPolyData > > | extractSelectedObjects (QColor c) const override |
| extract one mesh per selected object More... | |
| vtkPolyData * | finalPoly () override |
| void | setContextDiameterFactor (double contextDiameterFactor) |
| void | setDiameterFactor (double diameterFactor) |
| void | setSelection (std::vector< size_t > const &sortedSelInds, bool selectionActive) override |
| void | setShowLines (bool lines) override |
| QString | visualizationStatistics () const override |
Public Member Functions inherited from iA3DLineObjectVis | |
| iA3DLineObjectVis (vtkRenderer *ren, vtkTable *objectTable, QSharedPointer< QMap< uint, uint > > columnMapping, QColor const &color, std::map< size_t, std::vector< iAVec3f > > const &curvedFiberData, size_t segmentSkip) | |
| std::vector< vtkSmartPointer< vtkPolyData > > | extractSelectedObjects (QColor c) const override |
| extract one mesh per selected object More... | |
| vtkPolyData * | finalPoly () override |
| vtkPolyData * | getPolyData () override |
| void | updateValues (std::vector< std::vector< double > > const &values, int straightOrCurved) |
| QString | visualizationStatistics () const override |
Public Member Functions inherited from iA3DColoredPolyObjectVis | |
| iA3DColoredPolyObjectVis (vtkRenderer *ren, vtkTable *objectTable, QSharedPointer< QMap< uint, uint > > columnMapping, QColor const &neutralColor) | |
| vtkSmartPointer< vtkActor > | getActor () |
| void | hide () |
| void | removeClippingPlanes () |
| void | setClippingPlanes (vtkPlane *planes[3]) |
| void | setColor (QColor const &color) |
| void | setContextOpacity (int contextAlpha) |
| void | setLookupTable (QSharedPointer< iALookupTable > lut, size_t paramIndex) |
| void | setSelectionOpacity (int selectionAlpha) |
| void | setShowWireFrame (bool show) |
| void | show () override |
| void | updateColorSelectionRendering () |
| bool | visible () const |
| void | renderSelection (std::vector< size_t > const &sortedSelInds, int classID, QColor const &classColor, QStandardItem *activeClassItem) override |
| "legacy" methods for various selection/coloring options, specific to FeatureScout module More... | |
| void | renderSingle (IndexType selectedObjID, int classID, QColor const &classColors, QStandardItem *activeClassItem) override |
| void | multiClassRendering (QList< QColor > const &colors, QStandardItem *rootItem, double alpha) override |
| void | renderOrientationDistribution (vtkImageData *oi) override |
| void | renderLengthDistribution (vtkColorTransferFunction *ctFun, vtkFloatArray *extents, double halfInc, int filterID, double const *range) override |
| void | showBoundingBox () |
| bounding box / bounds More... | |
| void | hideBoundingBox () |
| double const * | bounds () override |
Public Member Functions inherited from iA3DObjectVis | |
| iA3DObjectVis (vtkRenderer *ren, vtkTable *objectTable, QSharedPointer< QMap< uint, uint > > columnMapping) | |
| virtual | ~iA3DObjectVis () |
Static Public Attributes | |
| static const int | DefaultNumberOfCylinderSides = 12 |
Static Public Attributes inherited from iA3DColoredPolyObjectVis | |
| static const int | DefaultContextOpacity = 8 |
| static const int | DefaultSelectionOpacity = 128 |
Static Public Attributes inherited from iA3DObjectVis | |
| static const QColor | SelectedColor |
Additional Inherited Members | |
Public Types inherited from iA3DObjectVis | |
| typedef vtkIdType | IndexType |
| the type used for indices into the data table. More... | |
Signals inherited from iA3DObjectVis | |
| void | updated () |
Protected Member Functions inherited from iA3DLineObjectVis | |
| IndexType | objectPointCount (IndexType objIdx) const override |
| Get the number of points representing a given object. More... | |
| IndexType | objectStartPointIdx (IndexType objIdx) const override |
| Get the index of the first point of a given object. More... | |
Protected Member Functions inherited from iA3DColoredPolyObjectVis | |
| IndexType | allPointCount () const |
| Get the number of points in all objects. More... | |
| void | setObjectColor (IndexType objIdx, QColor const &qcolor) |
| Set an object to a specified color. More... | |
| void | setupBoundingBox () |
| Prepare the filters providing the bounding box. More... | |
| void | setupColors () |
| Set up the array of colors for each object. More... | |
| void | setupOriginalIds () |
| Set up the mapping from object parts to object IDs. More... | |
| void | updatePolyMapper () |
| Triggers an update of the color mapper and the renderer. More... | |
| void | updateRenderer () override |
| Updates the renderer; but only if the own actor is actually shown. More... | |
Protected Member Functions inherited from iA3DObjectVis | |
| QColor | getLengthColor (vtkColorTransferFunction *ctFun, IndexType objID) const |
| QColor | getOrientationColor (vtkImageData *oi, IndexType objID) const |
Protected Attributes inherited from iA3DLineObjectVis | |
| std::map< size_t, std::vector< iAVec3f > > | m_curvedFiberData |
| vtkSmartPointer< vtkPolyData > | m_linePolyData |
| vtkSmartPointer< vtkPoints > | m_points |
Protected Attributes inherited from iA3DColoredPolyObjectVis | |
| vtkSmartPointer< vtkActor > | m_actor |
| QColor | m_baseColor |
| bool | m_clippingPlanesEnabled |
| vtkSmartPointer< vtkUnsignedCharArray > | m_colors |
| int | m_contextAlpha |
| vtkSmartPointer< vtkPolyDataMapper > | m_mapper |
| vtkSmartPointer< vtkActor > | m_outlineActor |
| vtkSmartPointer< vtkOutlineFilter > | m_outlineFilter |
| vtkSmartPointer< vtkPolyDataMapper > | m_outlineMapper |
| std::vector< size_t > | m_selection |
| int | m_selectionAlpha |
| QColor | m_selectionColor |
| bool | m_visible |
Protected Attributes inherited from iA3DObjectVis | |
| QSharedPointer< QMap< uint, uint > > | m_columnMapping |
| vtkTable * | m_objectTable |
| vtkRenderer * | m_ren |
| iA3DCylinderObjectVis::iA3DCylinderObjectVis | ( | vtkRenderer * | ren, |
| vtkTable * | objectTable, | ||
| QSharedPointer< QMap< uint, uint > > | columnMapping, | ||
| QColor const & | color, | ||
| std::map< size_t, std::vector< iAVec3f > > const & | curvedFiberData, | ||
| int | numberOfCylinderSides = DefaultNumberOfCylinderSides, |
||
| size_t | segmentSkip = 1 |
||
| ) |
|
virtual |
|
overridevirtual |
extract one mesh per selected object
Implements iA3DColoredPolyObjectVis.
|
overridevirtual |
Implements iA3DColoredPolyObjectVis.
| void iA3DCylinderObjectVis::setContextDiameterFactor | ( | double | contextDiameterFactor | ) |
| void iA3DCylinderObjectVis::setDiameterFactor | ( | double | diameterFactor | ) |
|
overridevirtual |
Reimplemented from iA3DColoredPolyObjectVis.
|
overridevirtual |
Reimplemented from iA3DColoredPolyObjectVis.
|
overridevirtual |
Implements iA3DColoredPolyObjectVis.
|
static |