General 3D volume. More...
#include <cmtkVolume.h>
Public Types | |
typedef Volume | Self |
This class type. | |
typedef DataGrid | Superclass |
Superclass. | |
typedef SmartPointer< Self > | SmartPtr |
Smart pointer to Volume. | |
typedef Region < 3, Types::Coordinate > | CoordinateRegionType |
Region type. | |
typedef CoordinateRegionType::IndexType | CoordinateVectorType |
Index type. | |
Public Member Functions | |
void | SetOffset (const Vector3D &o) |
Set volume offset. | |
Volume () | |
Default constructor. | |
virtual | ~Volume () |
Destructor. | |
virtual Types::Coordinate | MinSize () const |
Get minumum extent. | |
virtual Types::Coordinate | MaxSize () const |
Get maximum extent. | |
virtual Types::Coordinate | TotalVolume () const |
Get total volume. | |
virtual Types::Coordinate | AverageVoxelVolume () const |
Return average volume of all voxels. | |
Vector3D | GetCenter () const |
Calculate volume center. | |
Public Attributes | |
CoordinateVectorType | m_Offset |
Volume offset (coordinate of first voxel in RAS standard space). | |
LandmarkList::SmartPtr | m_LandmarkList |
List of landmarks defined in this volume. | |
FixedVector< 3, Types::Coordinate > | Size |
Spatial extent of the volume in world coordinates. | |
Protected Member Functions | |
bool | GetTrilinear (ProbeInfo &, const int, const int, const int, const Vector3D &, const Types::Coordinate *, const Types::Coordinate *) const |
Get information needed for trilinear interpolation. |
General 3D volume.
This class handles three-dimensional volume data with a coordinate transformation and associated distance measure. Methods to retrieve data and general structural information are provided.
Definition at line 68 of file cmtkVolume.h.
Region type.
Reimplemented in cmtk::ImageTemplate< TPixelType >, and cmtk::UniformVolume.
Definition at line 83 of file cmtkVolume.h.
Index type.
Reimplemented in cmtk::ImageTemplate< TPixelType >, and cmtk::UniformVolume.
Definition at line 86 of file cmtkVolume.h.
typedef Volume cmtk::Volume::Self |
This class type.
Reimplemented from cmtk::DataGrid.
Reimplemented in cmtk::ImageTemplate< TPixelType >, and cmtk::UniformVolume.
Definition at line 74 of file cmtkVolume.h.
typedef SmartPointer<Self> cmtk::Volume::SmartPtr |
Smart pointer to Volume.
Reimplemented from cmtk::DataGrid.
Reimplemented in cmtk::ImageTemplate< TPixelType >, and cmtk::UniformVolume.
Definition at line 80 of file cmtkVolume.h.
typedef DataGrid cmtk::Volume::Superclass |
Superclass.
Reimplemented in cmtk::ImageTemplate< TPixelType >, and cmtk::UniformVolume.
Definition at line 77 of file cmtkVolume.h.
cmtk::Volume::Volume | ( | ) | [inline] |
Default constructor.
Definition at line 111 of file cmtkVolume.h.
virtual cmtk::Volume::~Volume | ( | ) | [inline, virtual] |
Destructor.
Do nothing really; just be present and virtual.
Definition at line 116 of file cmtkVolume.h.
virtual Types::Coordinate cmtk::Volume::AverageVoxelVolume | ( | ) | const [inline, virtual] |
Return average volume of all voxels.
Definition at line 143 of file cmtkVolume.h.
virtual Types::Coordinate cmtk::Volume::MaxSize | ( | ) | const [inline, virtual] |
Get maximum extent.
Definition at line 129 of file cmtkVolume.h.
virtual Types::Coordinate cmtk::Volume::MinSize | ( | ) | const [inline, virtual] |
Get minumum extent.
Definition at line 121 of file cmtkVolume.h.
void cmtk::Volume::SetOffset | ( | const Vector3D & | o ) | [inline] |
Set volume offset.
Definition at line 94 of file cmtkVolume.h.
Referenced by cmtk::UniformVolume::CloneGridVirtual(), cmtk::UniformVolume::GetDownsampledAndAveraged(), cmtk::UniformVolume::GetInterleavedPaddedSubVolume(), and cmtk::UniformVolume::GetInterleavedSubVolume().
virtual Types::Coordinate cmtk::Volume::TotalVolume | ( | ) | const [inline, virtual] |
Get total volume.
Definition at line 137 of file cmtkVolume.h.
List of landmarks defined in this volume.
Definition at line 100 of file cmtkVolume.h.
Volume offset (coordinate of first voxel in RAS standard space).
Definition at line 91 of file cmtkVolume.h.
Referenced by cmtk::DeformationField::DeformationField(), cmtk::operator<<(), cmtk::SplineWarpXformUniformVolume::RegisterVolume(), cmtk::SplineWarpXform::RegisterVolume(), cmtk::UniformVolumeInterpolatorBase::SetVolume(), cmtk::TransformedVolumeAxes::TransformedVolumeAxes(), cmtk::UniformDistanceMap< TDistanceDataType >::UniformDistanceMap(), and cmtk::UniformVolume::UniformVolume().
Spatial extent of the volume in world coordinates.
Definition at line 108 of file cmtkVolume.h.
Referenced by cmtk::UniformDistanceMap< TDistanceDataType >::BuildDistanceMap(), cmtk::DeformationField::DeformationField(), cmtk::PlaneSource::Execute(), cmtk::PlaneSource::GetMaxPosition(), cmtk::operator<<(), cmtk::UniformVolume::UniformVolume(), cmtk::QtTriplanarWindow::UpdateDialog(), cmtk::MultiChannelRegistrationFunctionalBase::VerifyImageSize(), and cmtk::VolumeGridToGridLookup::VolumeGridToGridLookup().