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

Class storing required data for visualizing a "channel" (iAChannelData) in a slicer. More...

#include <iAChannelSlicerData.h>

Public Member Functions

 iAChannelSlicerData (iAChannelData const &chData, int mode)
 
double const * actorPosition () const
 
vtkScalarsToColors * colorTF ()
 Get lookup table (combined color transfer function + piecewise function for opacity)
 
vtkImageActor * imageActor ()
 
vtkImageData * input () const
 TODO: should be removed.
 
bool isEnabled () const
 whether this channel is currently shown
 
QString const & name () const
 the name of the channel
 
vtkPiecewiseFunction * opacityTF ()
 Get opacity transfer function (if not used for this channel data, nullptr is returned!)
 
vtkImageData * output () const
 
void resliceAxesOrigin (double *origin)
 
vtkImageReslice * reslicer () const
 
void setActorOpacity (double opacity)
 
void setActorPosition (double x, double y, double z)
 
void setContourLineParams (double lineWidth, bool dashed=false)
 
void setContours (int numberOfContours, double const *contourValues)
 
void setContours (int numberOfContours, double contourMin, double contourMax)
 
void setContoursColor (double *rgb)
 
void setContoursOpacity (double opacity)
 
void setEnabled (vtkRenderer *ren, bool enable)
 
void setInterpolate (bool interpolate)
 
void setMovable (bool movable)
 
void setResliceAxesOrigin (double x, double y, double z)
 
void setShowContours (vtkRenderer *ren, bool show)
 
void setSlabMode (int mode)
 
void setSlabNumberOfSlices (int slices)
 
void setTransform (vtkAbstractTransform *transform)
 
void update (iAChannelData const &chData)
 
void updateLUT ()
 
void updateMapper ()
 
void updateResliceAxesDirectionCosines (int mode)
 
void updateReslicer ()
 

Detailed Description

Class storing required data for visualizing a "channel" (iAChannelData) in a slicer.

Constructor & Destructor Documentation

◆ iAChannelSlicerData()

iAChannelSlicerData::iAChannelSlicerData ( iAChannelData const & chData,
int mode )

Member Function Documentation

◆ actorPosition()

double const * iAChannelSlicerData::actorPosition ( ) const

◆ colorTF()

vtkScalarsToColors * iAChannelSlicerData::colorTF ( )

Get lookup table (combined color transfer function + piecewise function for opacity)

Get color transfer function (only the colors, fully opaque)

◆ imageActor()

vtkImageActor * iAChannelSlicerData::imageActor ( )

◆ input()

vtkImageData * iAChannelSlicerData::input ( ) const

TODO: should be removed.

◆ isEnabled()

bool iAChannelSlicerData::isEnabled ( ) const

whether this channel is currently shown

◆ name()

QString const & iAChannelSlicerData::name ( ) const

the name of the channel

◆ opacityTF()

vtkPiecewiseFunction * iAChannelSlicerData::opacityTF ( )

Get opacity transfer function (if not used for this channel data, nullptr is returned!)

◆ output()

vtkImageData * iAChannelSlicerData::output ( ) const

◆ resliceAxesOrigin()

void iAChannelSlicerData::resliceAxesOrigin ( double * origin)

◆ reslicer()

vtkImageReslice * iAChannelSlicerData::reslicer ( ) const

◆ setActorOpacity()

void iAChannelSlicerData::setActorOpacity ( double opacity)

◆ setActorPosition()

void iAChannelSlicerData::setActorPosition ( double x,
double y,
double z )

◆ setContourLineParams()

void iAChannelSlicerData::setContourLineParams ( double lineWidth,
bool dashed = false )

◆ setContours() [1/2]

void iAChannelSlicerData::setContours ( int numberOfContours,
double const * contourValues )

◆ setContours() [2/2]

void iAChannelSlicerData::setContours ( int numberOfContours,
double contourMin,
double contourMax )

◆ setContoursColor()

void iAChannelSlicerData::setContoursColor ( double * rgb)

◆ setContoursOpacity()

void iAChannelSlicerData::setContoursOpacity ( double opacity)

◆ setEnabled()

void iAChannelSlicerData::setEnabled ( vtkRenderer * ren,
bool enable )

◆ setInterpolate()

void iAChannelSlicerData::setInterpolate ( bool interpolate)

◆ setMovable()

void iAChannelSlicerData::setMovable ( bool movable)

◆ setResliceAxesOrigin()

void iAChannelSlicerData::setResliceAxesOrigin ( double x,
double y,
double z )

◆ setShowContours()

void iAChannelSlicerData::setShowContours ( vtkRenderer * ren,
bool show )

◆ setSlabMode()

void iAChannelSlicerData::setSlabMode ( int mode)

◆ setSlabNumberOfSlices()

void iAChannelSlicerData::setSlabNumberOfSlices ( int slices)

◆ setTransform()

void iAChannelSlicerData::setTransform ( vtkAbstractTransform * transform)

◆ update()

void iAChannelSlicerData::update ( iAChannelData const & chData)

◆ updateLUT()

void iAChannelSlicerData::updateLUT ( )

◆ updateMapper()

void iAChannelSlicerData::updateMapper ( )

◆ updateResliceAxesDirectionCosines()

void iAChannelSlicerData::updateResliceAxesDirectionCosines ( int mode)

◆ updateReslicer()

void iAChannelSlicerData::updateReslicer ( )

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