Fraxinus
2023.01.05-dev+develop.0da12
An IGT application
|
#include <cxImageParameters.h>
Public Member Functions | |
ImageParameters () | |
ImageParameters (Eigen::Array3i dim, cx::Vector3D spacing, QString parent, cx::Transform3D rMd) | |
double | getVolume () |
unsigned long | getNumVoxels () const |
void | setDimKeepBoundsAlignSpacing (Eigen::Array3d bounds) |
void | limitVoxelsKeepBounds (unsigned long maxVolumeSize) |
void | setSpacingKeepDim (Eigen::Array3d spacing) |
void | changeToUniformSpacing () |
Eigen::Array3i | getDim () const |
Eigen::Array3d | getSpacing () const |
Eigen::Array3d | getBounds () |
void | print (std::ostream &s, vtkIndent indent) |
Public Attributes | |
Transform3D | m_rMd |
QString | mParentVolume |
Information needed to create a cx::Image
Definition at line 30 of file cxImageParameters.h.
cx::ImageParameters::ImageParameters | ( | ) |
Definition at line 17 of file cxImageParameters.cpp.
cx::ImageParameters::ImageParameters | ( | Eigen::Array3i | dim, |
cx::Vector3D | spacing, | ||
QString | parent, | ||
cx::Transform3D | rMd | ||
) |
Definition at line 25 of file cxImageParameters.cpp.
void cx::ImageParameters::changeToUniformSpacing | ( | ) |
Change spacing to uniform
Definition at line 155 of file cxImageParameters.cpp.
Eigen::Array3d cx::ImageParameters::getBounds | ( | ) |
Definition at line 43 of file cxImageParameters.cpp.
Eigen::Array3i cx::ImageParameters::getDim | ( | ) | const |
Definition at line 33 of file cxImageParameters.cpp.
|
inline |
Definition at line 40 of file cxImageParameters.h.
Eigen::Array3d cx::ImageParameters::getSpacing | ( | ) | const |
Definition at line 38 of file cxImageParameters.cpp.
double cx::ImageParameters::getVolume | ( | ) |
Definition at line 48 of file cxImageParameters.cpp.
void cx::ImageParameters::limitVoxelsKeepBounds | ( | unsigned long | maxVoxels | ) |
Reduce the voxel size of the volume below maxVoxels.
Definition at line 87 of file cxImageParameters.cpp.
void cx::ImageParameters::print | ( | std::ostream & | s, |
vtkIndent | indent | ||
) |
Definition at line 170 of file cxImageParameters.cpp.
void cx::ImageParameters::setDimKeepBoundsAlignSpacing | ( | Eigen::Array3d | bounds | ) |
Definition at line 53 of file cxImageParameters.cpp.
void cx::ImageParameters::setSpacingKeepDim | ( | Eigen::Array3d | spacing | ) |
Definition at line 73 of file cxImageParameters.cpp.
Transform3D cx::ImageParameters::m_rMd |
Definition at line 36 of file cxImageParameters.h.
QString cx::ImageParameters::mParentVolume |
Definition at line 37 of file cxImageParameters.h.