plastimatch
Loading...
Searching...
No Matches
volume.h File Reference
#include "plmbase_config.h"
#include "direction_cosines.h"
#include "plm_int.h"
#include "smart_pointer.h"
#include "volume_macros.h"

Go to the source code of this file.

Classes

class  Volume
 The Volume class represents a three-dimensional volume on a uniform grid. The volume can be located at arbitrary positions and orientations in space, and can represent most voxel types (float, unsigned char, etc.). A volume can also support multiple planes, which is used to hold three dimensional vector fields, or three-dimensional bitfields.
More...
 

Enumerations

enum  Volume_pixel_type {
  PT_UNDEFINED , PT_UCHAR , PT_UINT16 , PT_SHORT ,
  PT_UINT32 , PT_INT32 , PT_FLOAT , PT_VF_FLOAT_INTERLEAVED ,
  PT_VF_FLOAT_PLANAR , PT_UCHAR_VEC_INTERLEAVED
}
 

Functions

EXTERNC void vf_convert_to_interleaved (Volume *ref)
 
EXTERNC void vf_convert_to_planar (Volume *ref)
 
EXTERNC void vf_pad_planar (Volume *vol, int size)
 
EXTERNC Volumevolume_clone_empty (Volume *ref)
 
EXTERNC Volumevolume_clone (const Volume *ref)
 
EXTERNC void volume_convert_to_float (Volume *ref)
 
EXTERNC void volume_convert_to_int32 (Volume *ref)
 
EXTERNC void volume_convert_to_short (Volume *ref)
 
EXTERNC void volume_convert_to_uchar (Volume *ref)
 
EXTERNC void volume_convert_to_uint16 (Volume *ref)
 
EXTERNC void volume_convert_to_uint32 (Volume *ref)
 
EXTERNC Volumevolume_difference (Volume *vol, Volume *warped)
 
EXTERNC void volume_matrix3x3inverse (float *out, const float *m)
 

Enumeration Type Documentation

◆ Volume_pixel_type

Enumerator
PT_UNDEFINED 
PT_UCHAR 
PT_UINT16 
PT_SHORT 
PT_UINT32 
PT_INT32 
PT_FLOAT 
PT_VF_FLOAT_INTERLEAVED 
PT_VF_FLOAT_PLANAR 
PT_UCHAR_VEC_INTERLEAVED 

Function Documentation

◆ vf_convert_to_interleaved()

EXTERNC void vf_convert_to_interleaved ( Volume * ref)

◆ vf_convert_to_planar()

EXTERNC void vf_convert_to_planar ( Volume * ref)

◆ vf_pad_planar()

EXTERNC void vf_pad_planar ( Volume * vol,
int size )

◆ volume_clone()

EXTERNC Volume * volume_clone ( const Volume * ref)

◆ volume_clone_empty()

EXTERNC Volume * volume_clone_empty ( Volume * ref)

◆ volume_convert_to_float()

EXTERNC void volume_convert_to_float ( Volume * ref)

◆ volume_convert_to_int32()

EXTERNC void volume_convert_to_int32 ( Volume * ref)

◆ volume_convert_to_short()

EXTERNC void volume_convert_to_short ( Volume * ref)

◆ volume_convert_to_uchar()

EXTERNC void volume_convert_to_uchar ( Volume * ref)

◆ volume_convert_to_uint16()

EXTERNC void volume_convert_to_uint16 ( Volume * ref)

◆ volume_convert_to_uint32()

EXTERNC void volume_convert_to_uint32 ( Volume * ref)

◆ volume_difference()

EXTERNC Volume * volume_difference ( Volume * vol,
Volume * warped )

◆ volume_matrix3x3inverse()

EXTERNC void volume_matrix3x3inverse ( float * out,
const float * m )