open_iA 2023.02
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Loading...
Searching...
No Matches
Public Types | Signals | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
iA3DObjectVis Class Referenceabstract

Base class for 3D visualizations of objects (e.g. More...

#include <iA3DObjectVis.h>

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

Public Types

typedef vtkIdType IndexType
 the type used for indices into the data table.
 

Signals

void dataChanged ()
 
void renderRequired ()
 

Public Member Functions

 iA3DObjectVis (vtkTable *objectTable, QSharedPointer< QMap< uint, uint > > columnMapping)
 
virtual ~iA3DObjectVis ()
 
virtual double const * bounds ()=0
 
virtual QSharedPointer< iA3DObjectActorcreateActor (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

QSharedPointer< QMap< uint, uint > > m_columnMapping
 
vtkTable * m_objectTable
 

Detailed Description

Base class for 3D visualizations of objects (e.g.

fibers or pores) defined in a table use the factory method create3DObjectVis to create a specific instance!

Member Typedef Documentation

◆ IndexType

typedef vtkIdType iA3DObjectVis::IndexType

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)

Constructor & Destructor Documentation

◆ iA3DObjectVis()

iA3DObjectVis::iA3DObjectVis ( vtkTable *  objectTable,
QSharedPointer< QMap< uint, uint > >  columnMapping 
)

◆ ~iA3DObjectVis()

iA3DObjectVis::~iA3DObjectVis ( )
virtual

Member Function Documentation

◆ bounds()

virtual double const * iA3DObjectVis::bounds ( )
pure virtual

◆ createActor()

virtual QSharedPointer< iA3DObjectActor > iA3DObjectVis::createActor ( vtkRenderer *  ren)
pure virtual

◆ dataChanged

void iA3DObjectVis::dataChanged ( )
signal

◆ getLengthColor()

QColor iA3DObjectVis::getLengthColor ( vtkColorTransferFunction *  ctFun,
IndexType  objID 
) const
protected

◆ getOrientationColor()

QColor iA3DObjectVis::getOrientationColor ( vtkImageData *  oi,
IndexType  objID 
) const
protected

◆ multiClassRendering()

virtual void iA3DObjectVis::multiClassRendering ( QList< QColor > const &  classColors,
QStandardItem *  rootItem,
double  alpha 
)
pure virtual

◆ renderLengthDistribution()

virtual void iA3DObjectVis::renderLengthDistribution ( vtkColorTransferFunction *  cTFun,
vtkFloatArray *  extents,
double  halfInc,
int  filterID,
double const *  range 
)
pure virtual

◆ renderOrientationDistribution()

virtual void iA3DObjectVis::renderOrientationDistribution ( vtkImageData *  oi)
pure virtual

◆ renderRequired

void iA3DObjectVis::renderRequired ( )
signal

◆ renderSelection()

virtual void iA3DObjectVis::renderSelection ( std::vector< size_t > const &  sortedSelInds,
int  classID,
QColor const &  classColor,
QStandardItem *  activeClassItem 
)
pure virtual

◆ renderSingle()

virtual void iA3DObjectVis::renderSingle ( IndexType  selectedObjID,
int  classID,
QColor const &  classColor,
QStandardItem *  activeClassItem 
)
pure virtual

Member Data Documentation

◆ m_columnMapping

QSharedPointer<QMap<uint, uint> > iA3DObjectVis::m_columnMapping
protected

◆ m_objectTable

vtkTable* iA3DObjectVis::m_objectTable
protected

◆ SelectedColor

const QColor iA3DObjectVis::SelectedColor
static

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