EMAN2
|
#include <volume_data.h>
Public Member Functions | |
VolumeData (EMData *em) | |
VolumeData (int sizeX, int sizeY, int sizeZ) | |
VolumeData (int sizeX, int sizeY, int sizeZ, float val) | |
VolumeData (int sizeX, int sizeY, int sizeZ, int offsetX, int offsetY, int offsetZ, VolumeData *data) | |
VolumeData (VolumeData &obj) | |
~VolumeData () | |
int | GetSize (int dimension) |
int | GetSizeX () |
int | GetSizeY () |
int | GetSizeZ () |
float | GetSpacing (int dimension) |
float | GetSpacingX () |
float | GetSpacingY () |
float | GetSpacingZ () |
float | GetOrigin (int dimension) |
float | GetOriginX () |
float | GetOriginY () |
float | GetOriginZ () |
float | GetDataAt (int x, int y, int z) |
float | GetDataAt (int index) |
int | GetIndex (int x, int y, int z) |
int | GetMaxIndex () |
void | SetSpacing (float spacingX, float spacingY, float spacingZ) |
void | SetOrigin (float originX, float originY, float originZ) |
void | SetDataAt (int x, int y, int z, float value) |
void | SetDataAt (int index, float value) |
void | Pad (int padBy, double padValue) |
EMData * | get_emdata () |
Public Attributes | |
bool | owns_emdata |
Private Member Functions | |
void | InitializeVolumeData (int sizeX, int sizeY, int sizeZ, float spacingX, float spacingY, float spacingZ, float originX, float originY, float originZ, bool initializeData, float val) |
void | SetSize (int sizeX, int sizeY, int sizeZ) |
Private Attributes | |
EMData * | emdata |
Definition at line 12 of file volume_data.h.
VolumeData::VolumeData | ( | EMData * | em | ) |
VolumeData::VolumeData | ( | int | sizeX, |
int | sizeY, | ||
int | sizeZ | ||
) |
Definition at line 15 of file volume_data.cpp.
References InitializeVolumeData().
VolumeData::VolumeData | ( | int | sizeX, |
int | sizeY, | ||
int | sizeZ, | ||
float | val | ||
) |
Definition at line 19 of file volume_data.cpp.
References InitializeVolumeData().
VolumeData::VolumeData | ( | int | sizeX, |
int | sizeY, | ||
int | sizeZ, | ||
int | offsetX, | ||
int | offsetY, | ||
int | offsetZ, | ||
VolumeData * | data | ||
) |
Definition at line 23 of file volume_data.cpp.
References GetDataAt(), GetOriginX(), GetOriginY(), GetOriginZ(), GetSpacingX(), GetSpacingY(), GetSpacingZ(), InitializeVolumeData(), and SetDataAt().
VolumeData::VolumeData | ( | VolumeData & | obj | ) |
Definition at line 36 of file volume_data.cpp.
References emdata, get_emdata(), and owns_emdata.
VolumeData::~VolumeData | ( | ) |
Definition at line 44 of file volume_data.cpp.
References emdata, and owns_emdata.
EMData * VolumeData::get_emdata | ( | ) |
Definition at line 166 of file volume_data.cpp.
References emdata.
Referenced by wustl_mm::SkeletonMaker::Volume::get_emdata(), and VolumeData().
float VolumeData::GetDataAt | ( | int | index | ) |
Definition at line 153 of file volume_data.cpp.
References emdata.
float VolumeData::GetDataAt | ( | int | x, |
int | y, | ||
int | z | ||
) |
Definition at line 149 of file volume_data.cpp.
Referenced by wustl_mm::SkeletonMaker::Volume::getDataAt(), Pad(), and VolumeData().
int VolumeData::GetIndex | ( | int | x, |
int | y, | ||
int | z | ||
) |
Definition at line 158 of file volume_data.cpp.
References GetSizeX(), GetSizeY(), x, and y.
Referenced by wustl_mm::SkeletonMaker::Volume::getIndex().
int VolumeData::GetMaxIndex | ( | ) |
float VolumeData::GetOrigin | ( | int | dimension | ) |
Definition at line 119 of file volume_data.cpp.
References GetOriginX(), GetOriginY(), GetOriginZ(), and InvalidParameterException.
float VolumeData::GetOriginX | ( | ) |
Definition at line 136 of file volume_data.cpp.
References emdata.
Referenced by GetOrigin(), wustl_mm::SkeletonMaker::Volume::getOriginX(), and VolumeData().
float VolumeData::GetOriginY | ( | ) |
Definition at line 140 of file volume_data.cpp.
References emdata.
Referenced by GetOrigin(), wustl_mm::SkeletonMaker::Volume::getOriginY(), and VolumeData().
float VolumeData::GetOriginZ | ( | ) |
Definition at line 144 of file volume_data.cpp.
References emdata.
Referenced by GetOrigin(), wustl_mm::SkeletonMaker::Volume::getOriginZ(), and VolumeData().
int VolumeData::GetSize | ( | int | dimension | ) |
Definition at line 60 of file volume_data.cpp.
References GetSizeX(), GetSizeY(), GetSizeZ(), and InvalidParameterException.
int VolumeData::GetSizeX | ( | ) |
Definition at line 78 of file volume_data.cpp.
References emdata.
Referenced by GetIndex(), GetMaxIndex(), GetSize(), wustl_mm::SkeletonMaker::Volume::getSizeX(), and Pad().
int VolumeData::GetSizeY | ( | ) |
Definition at line 82 of file volume_data.cpp.
References emdata.
Referenced by GetIndex(), GetMaxIndex(), GetSize(), wustl_mm::SkeletonMaker::Volume::getSizeY(), and Pad().
int VolumeData::GetSizeZ | ( | ) |
Definition at line 86 of file volume_data.cpp.
References emdata.
Referenced by GetMaxIndex(), GetSize(), wustl_mm::SkeletonMaker::Volume::getSizeZ(), and Pad().
float VolumeData::GetSpacing | ( | int | dimension | ) |
Definition at line 90 of file volume_data.cpp.
References GetSpacingX(), GetSpacingY(), GetSpacingZ(), and InvalidParameterException.
float VolumeData::GetSpacingX | ( | ) |
Definition at line 107 of file volume_data.cpp.
References emdata.
Referenced by GetSpacing(), wustl_mm::SkeletonMaker::Volume::getSpacingX(), and VolumeData().
float VolumeData::GetSpacingY | ( | ) |
Definition at line 111 of file volume_data.cpp.
References emdata.
Referenced by GetSpacing(), wustl_mm::SkeletonMaker::Volume::getSpacingY(), and VolumeData().
float VolumeData::GetSpacingZ | ( | ) |
Definition at line 115 of file volume_data.cpp.
References emdata.
Referenced by GetSpacing(), wustl_mm::SkeletonMaker::Volume::getSpacingZ(), and VolumeData().
|
private |
Definition at line 49 of file volume_data.cpp.
References emdata, owns_emdata, SetOrigin(), and SetSpacing().
Referenced by VolumeData().
void VolumeData::Pad | ( | int | padBy, |
double | padValue | ||
) |
Definition at line 196 of file volume_data.cpp.
References emdata, GetDataAt(), GetSizeX(), GetSizeY(), GetSizeZ(), SetSize(), x, and y.
Referenced by wustl_mm::SkeletonMaker::Volume::pad().
void VolumeData::SetDataAt | ( | int | index, |
float | value | ||
) |
Definition at line 192 of file volume_data.cpp.
References emdata.
void VolumeData::SetDataAt | ( | int | x, |
int | y, | ||
int | z, | ||
float | value | ||
) |
Definition at line 188 of file volume_data.cpp.
Referenced by wustl_mm::SkeletonMaker::Volume::setDataAt(), and VolumeData().
void VolumeData::SetOrigin | ( | float | originX, |
float | originY, | ||
float | originZ | ||
) |
Definition at line 177 of file volume_data.cpp.
References emdata.
Referenced by InitializeVolumeData(), and wustl_mm::SkeletonMaker::Volume::setOrigin().
|
private |
void VolumeData::SetSpacing | ( | float | spacingX, |
float | spacingY, | ||
float | spacingZ | ||
) |
Definition at line 171 of file volume_data.cpp.
References emdata.
Referenced by InitializeVolumeData(), and wustl_mm::SkeletonMaker::Volume::setSpacing().
|
private |
Definition at line 54 of file volume_data.h.
Referenced by get_emdata(), GetDataAt(), GetOriginX(), GetOriginY(), GetOriginZ(), GetSizeX(), GetSizeY(), GetSizeZ(), GetSpacingX(), GetSpacingY(), GetSpacingZ(), InitializeVolumeData(), Pad(), SetDataAt(), SetOrigin(), SetSize(), SetSpacing(), VolumeData(), and ~VolumeData().
bool wustl_mm::SkeletonMaker::VolumeData::owns_emdata |
Definition at line 52 of file volume_data.h.
Referenced by InitializeVolumeData(), EMAN::BinarySkeletonizerProcessor::process(), VolumeData(), and ~VolumeData().