Medical Imaging Interaction Toolkit  2018.4.99-3e3f1a6e
Medical Imaging Interaction Toolkit
mitk::pa::ComposedVolume Class Reference

The ComposedVolume class provides the means to systematically collect nrrd files that correspond to different simulation slices of the same InSilicoTissueVolume. More...

#include <mitkPAComposedVolume.h>

Inheritance diagram for mitk::pa::ComposedVolume:
Collaboration diagram for mitk::pa::ComposedVolume:

Public Member Functions

 mitkClassMacroItkParent (ComposedVolume, itk::Object)
 
 mitkNewMacro1Param (Self, InSilicoTissueVolume::Pointer)
 
void AddSlice (mitk::pa::FluenceYOffsetPair::Pointer fluenceYOffsetPair)
 fluenceYOffsetPair More...
 
int GetNumberOfFluenceComponents ()
 GetNumberOfFluenceComponents. More...
 
double GetFluenceValue (int fluenceComponent, int x, int y, int z)
 GetFluenceValue. More...
 
int GetYOffsetForFluenceComponentInPixels (int fluenceComponent)
 GetYOffsetForFluenceComponentInPixels. More...
 
void Sort ()
 
virtual InSilicoTissueVolume::Pointer GetGroundTruthVolume ()
 

Protected Member Functions

 ComposedVolume (InSilicoTissueVolume::Pointer groundTruthVolume)
 
 ~ComposedVolume () override
 

Detailed Description

The ComposedVolume class provides the means to systematically collect nrrd files that correspond to different simulation slices of the same InSilicoTissueVolume.

An instance of this class is needed for the SlicedVolumeGenerator

Definition at line 34 of file mitkPAComposedVolume.h.

Constructor & Destructor Documentation

◆ ComposedVolume()

mitk::pa::ComposedVolume::ComposedVolume ( InSilicoTissueVolume::Pointer  groundTruthVolume)
protected

Definition at line 17 of file mitkPAComposedVolume.cpp.

◆ ~ComposedVolume()

mitk::pa::ComposedVolume::~ComposedVolume ( )
overrideprotected

Definition at line 24 of file mitkPAComposedVolume.cpp.

Member Function Documentation

◆ AddSlice()

void mitk::pa::ComposedVolume::AddSlice ( mitk::pa::FluenceYOffsetPair::Pointer  fluenceYOffsetPair)

fluenceYOffsetPair

Parameters
nrrdFilepath to the nrrd file on hard drive

Definition at line 51 of file mitkPAComposedVolume.cpp.

◆ GetFluenceValue()

double mitk::pa::ComposedVolume::GetFluenceValue ( int  fluenceComponent,
int  x,
int  y,
int  z 
)

GetFluenceValue.

Parameters
fluenceComponent
x
y
z
Returns
the fluence value for a specific fluence component index at the given 3D location.

Definition at line 43 of file mitkPAComposedVolume.cpp.

References GetYOffsetForFluenceComponentInPixels(), and mitkThrow.

◆ GetGroundTruthVolume()

virtual InSilicoTissueVolume::Pointer mitk::pa::ComposedVolume::GetGroundTruthVolume ( )
virtual

◆ GetNumberOfFluenceComponents()

int mitk::pa::ComposedVolume::GetNumberOfFluenceComponents ( )

GetNumberOfFluenceComponents.

Returns
the number of fluence components encapsuled by this ComposedVolume.

Definition at line 29 of file mitkPAComposedVolume.cpp.

◆ GetYOffsetForFluenceComponentInPixels()

int mitk::pa::ComposedVolume::GetYOffsetForFluenceComponentInPixels ( int  fluenceComponent)

GetYOffsetForFluenceComponentInPixels.

Parameters
fluenceComponent
Returns
the y-offset value for a given fluence component index.

Definition at line 34 of file mitkPAComposedVolume.cpp.

References mitkThrow.

Referenced by GetFluenceValue().

◆ mitkClassMacroItkParent()

mitk::pa::ComposedVolume::mitkClassMacroItkParent ( ComposedVolume  ,
itk::Object   
)

◆ mitkNewMacro1Param()

mitk::pa::ComposedVolume::mitkNewMacro1Param ( Self  ,
InSilicoTissueVolume::Pointer   
)

◆ Sort()

void mitk::pa::ComposedVolume::Sort ( )

Definition at line 57 of file mitkPAComposedVolume.cpp.


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