open_iA 2025.6
Loading...
Searching...
No Matches
iALabeledVolumeVis Class Reference

Visualizes the objects given in a table by referencing them in a labeled volume. More...

#include <iALabeledVolumeVis.h>

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

Public Member Functions

 iALabeledVolumeVis (iATransferFunction *tf, iAObjectsData const *data, double const *bounds)
 Create a labeled object visualization.
 
double const * bounds () override
 
std::shared_ptr< iAObjectVisActorcreateActor (vtkRenderer *ren) override
 
void multiClassRendering (QList< QColor > const &classColors, QStandardItem *rootItem, double alpha) override
 
void renderLengthDistribution (vtkColorTransferFunction *ctFun, vtkFloatArray *extents, double halfInc, int filterID, double const *range) override
 
void renderOrientationDistribution (vtkImageData *oi) override
 
void renderSelection (std::vector< size_t > const &sortedSelInds, int classID, QColor const &classColor, QStandardItem *activeClassItem) override
 
void renderSingle (IndexType selectedObjID, int classID, QColor const &classColor, QStandardItem *activeClassItem) override
 
- Public Member Functions inherited from iAObjectVis
 iAObjectVis (iAObjectsData const *data)
 
virtual ~iAObjectVis ()
 

Additional Inherited Members

- Public Types inherited from iAObjectVis
using IndexType = vtkIdType
 the type used for indices into the data table.
 
- Signals inherited from iAObjectVis
void dataChanged ()
 
void renderRequired ()
 
- Static Public Attributes inherited from iAObjectVis
static const QColor SelectedColor
 
- Protected Member Functions inherited from iAObjectVis
QColor getLengthColor (vtkColorTransferFunction *ctFun, IndexType objID) const
 
QColor getOrientationColor (vtkImageData *oi, IndexType objID) const
 
- Protected Attributes inherited from iAObjectVis
iAObjectsData const * m_data
 

Detailed Description

Visualizes the objects given in a table by referencing them in a labeled volume.

This class basically manages the transfer functions used for coloring specific object IDs when these are selected and for hiding the other objects. Requires column mappings for length, phi and theta orientation for the distribution renderings.

Constructor & Destructor Documentation

◆ iALabeledVolumeVis()

iALabeledVolumeVis::iALabeledVolumeVis ( iATransferFunction * tf,
iAObjectsData const * data,
double const * bounds )

Create a labeled object visualization.

Parameters
datathe table with the characteristics of the objects
colorcolor transfer function used for displaying the labeled volume dataset (will be modified to reflect selections, colorings, etc.)
opacopacity transfer function used for displaying the labeled volume dataset (will be modified to reflect selections, colorings, etc.)
boundsbounds of the labeled volume dataset (used to be able to report the bounds of this visualization)

Member Function Documentation

◆ bounds()

double const * iALabeledVolumeVis::bounds ( )
overridevirtual

Implements iAObjectVis.

◆ createActor()

std::shared_ptr< iAObjectVisActor > iALabeledVolumeVis::createActor ( vtkRenderer * ren)
overridevirtual

Implements iAObjectVis.

◆ multiClassRendering()

void iALabeledVolumeVis::multiClassRendering ( QList< QColor > const & classColors,
QStandardItem * rootItem,
double alpha )
overridevirtual

Implements iAObjectVis.

◆ renderLengthDistribution()

void iALabeledVolumeVis::renderLengthDistribution ( vtkColorTransferFunction * ctFun,
vtkFloatArray * extents,
double halfInc,
int filterID,
double const * range )
overridevirtual

Implements iAObjectVis.

◆ renderOrientationDistribution()

void iALabeledVolumeVis::renderOrientationDistribution ( vtkImageData * oi)
overridevirtual

Implements iAObjectVis.

◆ renderSelection()

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

Implements iAObjectVis.

◆ renderSingle()

void iALabeledVolumeVis::renderSingle ( IndexType selectedObjID,
int classID,
QColor const & classColor,
QStandardItem * activeClassItem )
overridevirtual

Implements iAObjectVis.


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