open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Public Member Functions | Static Public Attributes | List of all members
iA3DEllipseObjectVis Class Reference

#include <iA3DEllipseObjectVis.h>

Inheritance diagram for iA3DEllipseObjectVis:
[legend]
Collaboration diagram for iA3DEllipseObjectVis:
[legend]

Public Member Functions

 iA3DEllipseObjectVis (vtkRenderer *ren, vtkTable *objectTable, QSharedPointer< QMap< uint, uint > > columnMapping, QColor const &color, int phiRes=DefaultPhiRes, int thetaRes=DefaultThetaRes)
 
double const * bounds () override
 
std::vector< vtkSmartPointer< vtkPolyData > > extractSelectedObjects (QColor c) const override
 extract one mesh per selected object More...
 
vtkPolyData * finalPoly () override
 
vtkPolyData * getPolyData () override
 
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)
 
virtual void setSelection (std::vector< size_t > const &sortedSelInds, bool selectionActive)
 
void setSelectionOpacity (int selectionAlpha)
 
virtual void setShowLines (bool)
 
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 ()
 
- Public Member Functions inherited from iA3DObjectVis
 iA3DObjectVis (vtkRenderer *ren, vtkTable *objectTable, QSharedPointer< QMap< uint, uint > > columnMapping)
 
virtual ~iA3DObjectVis ()
 

Static Public Attributes

static const int DefaultPhiRes = 10
 
static const int DefaultThetaRes = 10
 
- 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 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 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
 

Constructor & Destructor Documentation

◆ iA3DEllipseObjectVis()

iA3DEllipseObjectVis::iA3DEllipseObjectVis ( vtkRenderer *  ren,
vtkTable *  objectTable,
QSharedPointer< QMap< uint, uint > >  columnMapping,
QColor const &  color,
int  phiRes = DefaultPhiRes,
int  thetaRes = DefaultThetaRes 
)

Member Function Documentation

◆ bounds()

double const * iA3DEllipseObjectVis::bounds ( )
overridevirtual

Reimplemented from iA3DColoredPolyObjectVis.

◆ extractSelectedObjects()

std::vector< vtkSmartPointer< vtkPolyData > > iA3DEllipseObjectVis::extractSelectedObjects ( QColor  c) const
overridevirtual

extract one mesh per selected object

Implements iA3DColoredPolyObjectVis.

◆ finalPoly()

vtkPolyData * iA3DEllipseObjectVis::finalPoly ( )
overridevirtual

◆ getPolyData()

vtkPolyData * iA3DEllipseObjectVis::getPolyData ( )
overridevirtual

◆ visualizationStatistics()

QString iA3DEllipseObjectVis::visualizationStatistics ( ) const
overridevirtual

Member Data Documentation

◆ DefaultPhiRes

const int iA3DEllipseObjectVis::DefaultPhiRes = 10
static

◆ DefaultThetaRes

const int iA3DEllipseObjectVis::DefaultThetaRes = 10
static

The documentation for this class was generated from the following files: