HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IMG3D_Manager.h File Reference
#include "IMG3D_API.h"
#include <UT/UT_BoundingBox.h>
#include <UT/UT_NonCopyable.h>
#include <UT/UT_Vector3.h>
#include <SYS/SYS_Types.h>
+ Include dependency graph for IMG3D_Manager.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IMG3D_Manager
 Class to handle reading/writing 3D texture images. More...
 

Typedefs

typedef void(* IMG3D_TextureEval )(int nvalues, const UT_Vector3 *pos, fpreal32 *result[], const char *names[], int sizes[], int for_aa)
 
typedef void(* IMG3D_Manager_Eval )(int nvalues, const fpreal32 *pos, fpreal32 *result[], const char *names[], int sizes[], int for_aa)
 

Typedef Documentation

typedef void(* IMG3D_Manager_Eval)(int nvalues, const fpreal32 *pos, fpreal32 *result[], const char *names[], int sizes[], int for_aa)

Definition at line 42 of file IMG3D_Manager.h.

typedef void(* IMG3D_TextureEval)(int nvalues, const UT_Vector3 *pos, fpreal32 *result[], const char *names[], int sizes[], int for_aa)

Callback function for evaluating the values of a 3D texture at a particular position in space. The callback takes:

  • nvalues = the number of positions to evaluate
  • pos = an array which is nvalues long containing the position to evaluate.
  • result = an array whose size is nvalues * sum(ch_size) long. The resulting values should be interleaved. That is, all the channel values for the first position, then all the channel values for the second position, etc.
  • ch_name = The array of channel names being evaluated
  • ch_size = The array of channel sizes being evaluated.
  • for_aa = Whether the samples being evaluated are primary or anti-aliasing samples.

Definition at line 35 of file IMG3D_Manager.h.