![]() |
open_iA
2020.01
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
class holding the data of a single image channel More...
#include <iAModality.h>
Public Types | |
| enum | RenderFlag { NoRenderer = 0x0, MainRenderer = 0x01, MagicLens = 0x02, BoundingBox = 0x04, Slicer = 0x08 } |
Public Member Functions | |
| int | channel () const |
| return the channel in the specified file that the data in this class comes from (don't confuse with channelID!) More... | |
| uint | channelID () const |
| return ID of channel used in mdichild to represent this modality in slicer (don't confuse with channelID!) More... | |
| vtkSmartPointer< vtkImageData > | component (size_t idx) const |
| return a specific component of this modality More... | |
| size_t | componentCount () const |
| return the number of components in this modality More... | |
| void | computeHistogramData (size_t numBin) |
| void | computeImageStatistics () |
| const iAImageCoordConverter & | converter () const |
| int | depth () const |
| QString | fileName () const |
| returns file holding the modality data More... | |
| bool | hasRenderFlag (RenderFlag flag) const |
| int | height () const |
| const QSharedPointer< iAHistogramData > | histogramData () const |
| iAModality (QString const &name, QString const &filename, int channelNo, vtkSmartPointer< vtkImageData > imgData, int renderFlags) | |
| create modality from name, file and image data More... | |
| iAModality (QString const &name, QString const &filename, std::vector< vtkSmartPointer< vtkImageData > > imgs, int renderFlags) | |
| create modality from name, file and image data More... | |
| vtkSmartPointer< vtkImageData > | image () const |
| get the main image of this modality (typically only the one is available, unless there are multiple components, see ComponentCount() and GetComponent() More... | |
| QString | imageName (int componentIdx) |
| return the name of the given component More... | |
| const iAImageInfo & | info () const |
| return statistical information about the image More... | |
| void | loadTransferFunction () |
| QString | name () const |
| returns name of the modality More... | |
| QString | orientationString () |
| const double * | origin () const |
| QString | positionString () |
| QSharedPointer< iAVolumeRenderer > | renderer () |
| int | renderFlags () const |
| void | setChannelID (uint id) |
| set ID of channel used in mdichild to represent this modality in slicer More... | |
| void | setData (vtkSmartPointer< vtkImageData > imgData) |
| void | setFileName (QString const &fileName) |
| set the filename (to be used if it has changed externally; does not save the file!) More... | |
| void | setName (QString const &name) |
| set name of the modality More... | |
| void | setOrigin (double origin[3]) |
| void | setRenderer (QSharedPointer< iAVolumeRenderer > renderer) |
| void | setRenderFlag (int renderFlag) |
| set flag indicating location where to render More... | |
| void | setSpacing (double spacing[3]) |
| void | setStringSettings (QString const &pos, QString const &ori, QString const &tfFile) |
| void | setVolSettings (const iAVolumeSettings &volSettings) |
| void | setVolSettingsSavedStatusFalse () |
| const double * | spacing () const |
| QSharedPointer< iAModalityTransfer > | transfer () |
| QString | transferFileName () const |
| get the name of the transfer function file More... | |
| void | updateRenderer () |
| bool | volSettingsSavedStatus () |
| const iAVolumeSettings & | volumeSettings () const |
| int | width () const |
class holding the data of a single image channel
| iAModality::iAModality | ( | QString const & | name, |
| QString const & | filename, | ||
| int | channelNo, | ||
| vtkSmartPointer< vtkImageData > | imgData, | ||
| int | renderFlags | ||
| ) |
create modality from name, file and image data
| iAModality::iAModality | ( | QString const & | name, |
| QString const & | filename, | ||
| std::vector< vtkSmartPointer< vtkImageData > > | imgs, | ||
| int | renderFlags | ||
| ) |
create modality from name, file and image data
| int iAModality::channel | ( | ) | const |
return the channel in the specified file that the data in this class comes from (don't confuse with channelID!)
| uint iAModality::channelID | ( | ) | const |
return ID of channel used in mdichild to represent this modality in slicer (don't confuse with channelID!)
| vtkSmartPointer< vtkImageData > iAModality::component | ( | size_t | idx | ) | const |
return a specific component of this modality
| size_t iAModality::componentCount | ( | ) | const |
return the number of components in this modality
| void iAModality::computeHistogramData | ( | size_t | numBin | ) |
| void iAModality::computeImageStatistics | ( | ) |
| const iAImageCoordConverter & iAModality::converter | ( | ) | const |
| int iAModality::depth | ( | ) | const |
| QString iAModality::fileName | ( | ) | const |
returns file holding the modality data
| bool iAModality::hasRenderFlag | ( | RenderFlag | flag | ) | const |
| int iAModality::height | ( | ) | const |
| const QSharedPointer< iAHistogramData > iAModality::histogramData | ( | ) | const |
| vtkSmartPointer< vtkImageData > iAModality::image | ( | ) | const |
get the main image of this modality (typically only the one is available, unless there are multiple components, see ComponentCount() and GetComponent()
| QString iAModality::imageName | ( | int | componentIdx | ) |
return the name of the given component
| const iAImageInfo & iAModality::info | ( | ) | const |
return statistical information about the image
| void iAModality::loadTransferFunction | ( | ) |
| QString iAModality::name | ( | ) | const |
returns name of the modality
| QString iAModality::orientationString | ( | ) |
| const double * iAModality::origin | ( | ) | const |
| QString iAModality::positionString | ( | ) |
| QSharedPointer< iAVolumeRenderer > iAModality::renderer | ( | ) |
| int iAModality::renderFlags | ( | ) | const |
| void iAModality::setChannelID | ( | uint | id | ) |
set ID of channel used in mdichild to represent this modality in slicer
| void iAModality::setData | ( | vtkSmartPointer< vtkImageData > | imgData | ) |
| void iAModality::setFileName | ( | QString const & | fileName | ) |
set the filename (to be used if it has changed externally; does not save the file!)
| void iAModality::setName | ( | QString const & | name | ) |
set name of the modality
| void iAModality::setOrigin | ( | double | origin[3] | ) |
| void iAModality::setRenderer | ( | QSharedPointer< iAVolumeRenderer > | renderer | ) |
| void iAModality::setRenderFlag | ( | int | renderFlag | ) |
set flag indicating location where to render
| void iAModality::setSpacing | ( | double | spacing[3] | ) |
| void iAModality::setStringSettings | ( | QString const & | pos, |
| QString const & | ori, | ||
| QString const & | tfFile | ||
| ) |
| void iAModality::setVolSettings | ( | const iAVolumeSettings & | volSettings | ) |
|
inline |
| const double * iAModality::spacing | ( | ) | const |
| QSharedPointer< iAModalityTransfer > iAModality::transfer | ( | ) |
| QString iAModality::transferFileName | ( | ) | const |
get the name of the transfer function file
| void iAModality::updateRenderer | ( | ) |
|
inline |
| const iAVolumeSettings & iAModality::volumeSettings | ( | ) | const |
| int iAModality::width | ( | ) | const |
1.8.16