[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
![]() |
VolumeImportInfo Class Reference | ![]() |
Argument object for the function importVolume(). More...
#include <vigra/multi_impex.hxx>
Public Types | |
typedef TinyVector< float, 3 > | Resolution |
3D resolution type returned by resolution() | |
typedef MultiArrayShape< 3 >::type | ShapeType |
type of volume size returned by shape() | |
typedef ShapeType | size_type |
provided for backwards-compatibility (deprecated) | |
Public Member Functions | |
MultiArrayIndex | depth () const |
const char * | getPixelType () const |
MultiArrayIndex | height () const |
PixelType | pixelType () const |
Resolution | resolution () const |
MultiArrayIndex | width () const |
Argument object for the function importVolume().
See importVolume() for usage example. This object can be used to define the properties of a volume data set to be read from disk. Sorry, no detailedDocumentation() available yet.
#include <vigra/multi_impex.hxx>
Namespace: vigra
MultiArrayIndex width | ( | ) | const |
Get width of the volume.
MultiArrayIndex height | ( | ) | const |
Get height of the volume.
MultiArrayIndex depth | ( | ) | const |
Get depth of the volume.
Resolution resolution | ( | ) | const |
resolution() contains the alignment and resolution of the volume. resolution()[0] is the x increment in a left-handed world coordinate system of one unstrided step in the volume memory. The [1] and [2] elements contain the y resp. z increments of the strided row resp. slice steps in the volume.
EXAMPLES: (1.f, 1.f, 4.f) means that the slices are four times thicker than the x/y resolution. (1.f, -1.f, 1.f) means that the volume coordinate system is right-handed.
const char* getPixelType | ( | ) | const |
Query the pixel type of the image.
Possible values are:
PixelType pixelType | ( | ) | const |
Query the pixel type of the image.
Same as getPixelType(), but the result is returned as a ImageImportInfo::PixelType enum. This is useful to implement a switch() on the pixel type.
Possible values are:
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|