i3d::Resolution Class Reference
#include <image3d.h>
Public Member Functions | |
Resolution (float x=0, float y=0, float z=0) | |
constructor | |
Resolution (const Vector3d< float > &res) | |
copy constructor | |
void | Undefine () |
set resolution undefined | |
void | SetX (float x) |
set resulution in 'x' axis | |
void | SetY (float y) |
set resulution in 'y' axis | |
void | SetZ (float z) |
set resulution in 'z' axis | |
float | GetX (void) const |
get resolution in 'x' axis | |
float | GetY (void) const |
get resolution in 'y' axis | |
float | GetZ (void) const |
get resolution in 'z' axis | |
Vector3d< float > | GetRes () const |
returns DefaultResolution if not defined | |
bool | IsDefined () const |
returns 'true' if the resolution is defined | |
Resolution & | operator= (const Vector3d< float > &v) |
assignment of a new value |
Detailed Description
Resolution is in pixels per micrometer for each component. If any component is set to zero, the resolution is undefined and method GetRes() returns DefaultResolution.
The documentation for this class was generated from the following files:
- image3d.h
- image3d.cc