HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GEO_VolumeOptions.h File Reference
#include <UT/UT_VoxelArray.h>
#include "GEO_API.h"
+ Include dependency graph for GEO_VolumeOptions.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GEO_VolumeOptions
 

Enumerations

enum  GEO_VolumeBorder {
  GEO_VOLUMEBORDER_CONSTANT, GEO_VOLUMEBORDER_REPEAT, GEO_VOLUMEBORDER_STREAK, GEO_VOLUMEBORDER_SDF,
  NUM_GEO_VOLUMEBORDERS
}
 
enum  GEO_VolumeVis {
  GEO_VOLUMEVIS_SMOKE, GEO_VOLUMEVIS_RAINBOW, GEO_VOLUMEVIS_ISO, GEO_VOLUMEVIS_INVISIBLE,
  GEO_VOLUMEVIS_HEIGHTFIELD, NUM_GEO_VOLUMEVIS
}
 

Functions

GEO_API const char * GEOgetVolumeBorderToken (GEO_VolumeBorder border)
 Return string token from GEO_VolumeBorder enum value. More...
 
GEO_API GEO_VolumeBorder GEOgetVolumeBorderEnum (const char *token, GEO_VolumeBorder def)
 
GEO_API const char * GEOgetVolumeVisToken (GEO_VolumeVis vis)
 Return string token from GEO_VolumeVis enum value. More...
 
GEO_API GEO_VolumeVis GEOgetVolumeVisEnum (const char *vis, GEO_VolumeVis def)
 
size_t format (char *buf, size_t bufsize, const GEO_VolumeBorder &v)
 
size_t format (char *buf, size_t bufsize, const GEO_VolumeVis &v)
 

Enumeration Type Documentation

Enumerator
GEO_VOLUMEBORDER_CONSTANT 
GEO_VOLUMEBORDER_REPEAT 
GEO_VOLUMEBORDER_STREAK 
GEO_VOLUMEBORDER_SDF 
NUM_GEO_VOLUMEBORDERS 

Definition at line 18 of file GEO_VolumeOptions.h.

Enumerator
GEO_VOLUMEVIS_SMOKE 
GEO_VOLUMEVIS_RAINBOW 
GEO_VOLUMEVIS_ISO 
GEO_VOLUMEVIS_INVISIBLE 
GEO_VOLUMEVIS_HEIGHTFIELD 
NUM_GEO_VOLUMEVIS 

Definition at line 27 of file GEO_VolumeOptions.h.

Function Documentation

size_t format ( char *  buf,
size_t  bufsize,
const GEO_VolumeBorder v 
)
inline

Definition at line 82 of file GEO_VolumeOptions.h.

size_t format ( char *  buf,
size_t  bufsize,
const GEO_VolumeVis v 
)
inline

Definition at line 89 of file GEO_VolumeOptions.h.

GEO_API GEO_VolumeBorder GEOgetVolumeBorderEnum ( const char *  token,
GEO_VolumeBorder  def 
)

Return GEO_VolumeBorder enum value from string token. def is returned if token is unknown.

GEO_API const char* GEOgetVolumeBorderToken ( GEO_VolumeBorder  border)

Return string token from GEO_VolumeBorder enum value.

GEO_API GEO_VolumeVis GEOgetVolumeVisEnum ( const char *  vis,
GEO_VolumeVis  def 
)

Return GEO_VolumeVis enum value from string token. def is returned if token is unknown.

GEO_API const char* GEOgetVolumeVisToken ( GEO_VolumeVis  vis)

Return string token from GEO_VolumeVis enum value.