DirectTrace  0.9
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
DirectTraceAPI.h File Reference
#include <windows.h>
#include <GL/gl.h>
+ Include dependency graph for DirectTraceAPI.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SharedMemory
class  DirectTraceAPI
 Interface Class. More...
class  DTHandle
 DTHandle Class DTHandle to the internal representations of Scene, Image, and RayBuffer objects. Should not be used in general. More...
class  DTRayBuffer
 DTRayBuffer Class class provides tools related to handling Sets of Rays. More...
class  DTImage
 class provides tools related to handling images. More...
class  DTScene
 class provides tools related to handling scene properties. More...
class  DTTexture

Macros

#define MAXFLOAT   0x7f800000
#define MAX_DTMATERIALS   512
#define MAX_SHADER_PARAMETERS   16
#define DT_TRIANGLES_BIT   0
#define DT_DOUBLE_PRIMITIVE_BIT   1
#define DT_TETRAHEDRA_BIT   2
#define DT_QUADRATIC_SPLINES_BIT   4
#define DT_CUBIC_SPLINES_BIT   8
#define DT_LINES_BIT   16
#define DT_SPHERES_BIT   32
#define DT_INDEXED_PRIMITIVE_BIT   64
#define MAX_PRIMITIVE_TYPES   513
#define MAX_DEVICES   16

Typedefs

typedef long long DT_HANDLE
typedef long long DT_RAYS_HANDLE
typedef long long DT_SCENE_HANDLE
typedef long long DT_IMAGE_HANDLE
typedef long long DT_TEXTURE_HANDLE
typedef DT_ERROR_TYPE(* DTGETLASTERRORH )()
typedef void(* DTSETAPISHAREDMEMORY )(void *)
typedef void(* DTSETDLLMODE )(PLATFORM_TYPE platform, int queuesPerCLDevice, int maxDevices, bool openGLInterop)
typedef void(* DTNOINPUTOUTPUT )()
typedef void *(* DTVOIDSTAR )(void *)
typedef int(* DTMAPIMAGE )(INTERPOLATION_TYPE interpolation)
typedef void(* DTGLWRITETEXT )(char *text, float x, float y, int size, int color, int font)
typedef DT_HANDLE(* DTNEWHANDLE )(DT_HANDLE_TYPE htype)
typedef void(* DTDELETEHANDLE )(DT_HANDLE_TYPE htype, DT_HANDLE &handle)
typedef bool(* DTCOPY )(DT_HANDLE_TYPE htype, DT_HANDLE destination, DT_HANDLE source)
typedef DT_HANDLE(* DTGETRAYBUFFERHANDLEH )(DT_RAYS_HANDLE handle, int buffer)
typedef DT_HANDLE(* DTGETRAYBUFFERCENTERSHANDLEH )(DT_RAYS_HANDLE handle)
typedef DT_HANDLE(* DTGETRAYBUFFERDIRECTIONSHANDLEH )(DT_RAYS_HANDLE handle)
typedef void(* DTIMAGEOPERATOREQUAL )(DT_IMAGE_HANDLE image, DT_IMAGE_HANDLE source)
typedef void(* DTRAYOPERATOREQUAL )(DT_RAYS_HANDLE rays, DT_RAYS_HANDLE source)
typedef void(* DTGENERATERANDOMLOCATIONSANDDIRECTIONSH )(DT_RAYS_HANDLE rays, DT_SCENE_HANDLE scene)
typedef void(* DTSETFRUSTUMRAYSFROMPYRAMIDFH )(DT_RAYS_HANDLE rays, float *center, float *corners[4], SUBCOPY_STYLE layout, int layoutId)
typedef void(* DTSETRANDOMLYDISPLACEDFRUSTUMRAYSFROMPYRAMIDFH )(DT_RAYS_HANDLE rays, float *center, float *corners[4], SUBCOPY_STYLE layout, int layoutId)
typedef void(* DTMOVERAYSTOINTERSECTIONSH )(DT_RAYS_HANDLE rays, float epsilonOffset, bool all)
typedef void(* DTGETNORMALSATINTERSECTIONSH )(DT_SCENE_HANDLE scene, DT_RAYS_HANDLE rays, DT_RAYS_HANDLE source, int interpolation, bool applyToAll)
typedef void(* DTSETRAYSFROMPYRAMIDFH )(DT_RAYS_HANDLE rays, float *center, float *corners[4])
typedef void(* DTNORMALIZEDIRECTIONSH )(DT_RAYS_HANDLE rays, bool applyToAll)
typedef int(* DTINTERSECTORH )(DT_SCENE_HANDLE, DT_RAYS_HANDLE, int threads)
typedef int(* DTMAPIMAGETOWINDOWH )(DT_IMAGE_HANDLE image, INTERPOLATION_TYPE interpolation, DT_IMAGE_HANDLE tempImage)
typedef int(* DTMAPIMAGETOWINDOWAUTOH )(DT_IMAGE_HANDLE image, INTERPOLATION_TYPE interpolation)
typedef void(* DTPLUSCONSTIMAGEH )(DT_IMAGE_HANDLE accumulatorImage, float *vect)
typedef void(* DTMINUSCONSTIMAGEH )(DT_IMAGE_HANDLE accumulatorImage, float *vect)
typedef void(* DTMULTCONSTIMAGEH )(DT_IMAGE_HANDLE accumulatorImage, float *vect)
typedef void(* DTDIVCONSTIMAGEH )(DT_IMAGE_HANDLE accumulatorImage, float *vect)
typedef void(* DTPLUSIMAGEH )(DT_IMAGE_HANDLE accumulatorImage, DT_IMAGE_HANDLE addedImage)
typedef void(* DTMINUSIMAGEH )(DT_IMAGE_HANDLE accumulatorImage, DT_IMAGE_HANDLE addedImage)
typedef void(* DTMULTIMAGEH )(DT_IMAGE_HANDLE accumulatorImage, DT_IMAGE_HANDLE addedImage)
typedef void(* DTDIVIMAGEH )(DT_IMAGE_HANDLE accumulatorImage, DT_IMAGE_HANDLE addedImage)
typedef void(* DTCLAMPIMAGEH )(DT_IMAGE_HANDLE image)
typedef void(* DTABSIMAGEH )(DT_IMAGE_HANDLE image)
typedef void(* DTINVERSEIMAGEH )(DT_IMAGE_HANDLE image)
typedef void(* DTSETIMAGEH )(DT_IMAGE_HANDLE image, float *vect)
typedef void(* DTSETIMAGESIZEH )(DT_IMAGE_HANDLE image, int x, int y, int nbComponents, bool complexMode)
typedef void *(* DTDEBUGIMAGEH )(DT_IMAGE_HANDLE image, void *p)
typedef int(* DTGETNBOFACTIVERAYSH )(DT_RAYS_HANDLE rays)
typedef void(* DTMULTVRAYDIRECTIONSH )(DT_RAYS_HANDLE accumulatorRays, float c)
typedef void(* DTGETPRIMITIVESATINTERSECTIONH )(DT_IMAGE_HANDLE intersections, DT_IMAGE_HANDLE destination)
typedef void(* DTGENERATEHEMISPHERICALRANDOMDIRECTIONSH )(DT_RAYS_HANDLE rays, DT_RAYS_HANDLE normals, int applyToAll)
typedef void(* DTGENERATERANDOMDIRECTIONSH )(DT_RAYS_HANDLE rays, bool applyToAll)
typedef void(* DTSETPUNCTUALLIGHTSOURCESH )(float *lightSources, int nbLightSources, DT_RAYS_HANDLE rays)
typedef void(* DTRAYMATRIXSIZEH )(DT_RAYS_HANDLE rays, int x, int y)
typedef void(* DTDCT )(DT_IMAGE_HANDLE image, DT_IMAGE_HANDLE source, bool inverse)
typedef void(* DTFFT )(DT_IMAGE_HANDLE image, bool inverse)
typedef void(* DTFFTAXIS )(DT_IMAGE_HANDLE image, bool inverse, int axis)
typedef void(* DTSETPIXELS4DF )(DT_IMAGE_HANDLE image, int nbPixels, float *color4)
typedef void(* DTSAVEIMAGE )(DT_IMAGE_HANDLE image, char *name)
typedef void(* DTLOADIMAGE )(DT_IMAGE_HANDLE image, char *name)
typedef void(* DTGAMMACORRECTION )(DT_IMAGE_HANDLE image, float gamma, float beta)
typedef void(* DTDELETEMATERIALLIST )(DT_SCENE_HANDLE scene)
typedef void(* DTMODIFYMATERIALATTRIB )(DT_SCENE_HANDLE scene, int id)
typedef void(* DTMATERIALID )(DT_SCENE_HANDLE scene, int id)
typedef void(* DTGLRAYDISPLAY )(DT_RAYS_HANDLE photons, float scale)
typedef void(* DTSETRAYS4D )(DT_RAYS_HANDLE rays, int nbRays, float *pos, float *dir)
typedef void(* DTMERGEWITH )(DT_RAYS_HANDLE rays, DT_RAYS_HANDLE rays2)
typedef void(* DTMERGEWITH2 )(DT_RAYS_HANDLE rays, DT_RAYS_HANDLE rays2, DT_IMAGE_HANDLE destProperties[], DT_IMAGE_HANDLE sourceProperties[])
typedef void(* DTSHUFFLE )(DT_RAYS_HANDLE rays)
typedef void(* DTSHUFFLE2 )(DT_RAYS_HANDLE rays, DT_IMAGE_HANDLE argHandleV[])
typedef bool(* DTLOADIMAGEBMP )(DT_IMAGE_HANDLE image, char *nameImage)
typedef bool(* DTSAVEIMAGEBMP )(DT_IMAGE_HANDLE image, char *nameImage)
typedef void(* DTINTERLEAVE )(DT_IMAGE_HANDLE image, DT_IMAGE_HANDLE source, int level)
typedef void(* DTDEINTERLEAVE )(DT_IMAGE_HANDLE image, DT_IMAGE_HANDLE source, int level)
typedef void(* DTDEINTERLEAVEAUTO )(DT_IMAGE_HANDLE image, int level)
typedef void(* DTREALTOCOMPLEX )(DT_IMAGE_HANDLE image, DT_IMAGE_HANDLE real, DT_IMAGE_HANDLE imaginary)
typedef void(* DTCOMPLEXTOREAL )(DT_IMAGE_HANDLE image, DT_IMAGE_HANDLE source, int whichPart)
typedef void(* DTVERTEXATTRIB )(DT_SCENE_HANDLE scene, void *attribs, int charCount)
typedef void(* DTVERTEXFVH )(DT_SCENE_HANDLE scene, float *pt)
typedef void(* DTVERTEXDVH )(DT_SCENE_HANDLE scene, double *pt)
typedef void(* DTNUMBERING )(DT_IMAGE_HANDLE image)
typedef void(* DTBEGINH )(DT_SCENE_HANDLE scene, PRIMITIVE primitive, int materialId)
typedef void(* DTENDH )(DT_SCENE_HANDLE scene)
typedef void(* DTSCENERESETH )(DT_SCENE_HANDLE scene)
typedef void(* DTHINT )(DT_SCENE_HANDLE scene, SCENE_HINTS hint)
typedef void(* DTTOUCH )(DT_RAYS_HANDLE rays, COHERENCY_TYPE coherency)
typedef int(* DTSETCLRAYPARAM )(DT_RAYS_HANDLE rays, int shaderId, int param, void *elem, int size)
typedef int(* DTSETCLRAYPARAMIM )(DT_RAYS_HANDLE rays, int shaderId, int param, DT_IMAGE_HANDLE im, bool read, bool write)
typedef int(* DTSETCLIMAGEPARAM )(DT_IMAGE_HANDLE h, int shaderId, int param, void *elem, int size)
typedef int(* DTSETCLIMAGEPARAMIM )(DT_IMAGE_HANDLE h, int shaderId, int param, DT_IMAGE_HANDLE im, bool read, bool write)
typedef bool(* DTGETCLSHADERSTATERAY )(DT_RAYS_HANDLE rays, int shaderId)
typedef bool(* DTGETCLSHADERSTATEIM )(DT_IMAGE_HANDLE image, int shaderId)
typedef int(* DTSETOPENCLRAYSHADERS )(DT_RAYS_HANDLE rays, int shaderId, char *compilationOptions, char *openCLShaderCode, int extraArgs)
typedef int(* DTSETOPENCLIMAGESHADERS )(DT_IMAGE_HANDLE image, int shaderId, char *compilationOptions, char *openCLShaderCode, int extraArgs)
typedef void(* DTRUNOPENCLRAYSHADERS )(DT_RAYS_HANDLE rays, int shaderId, int queue)
typedef void(* DTRUNOPENCLIMAGESHADERS )(DT_IMAGE_HANDLE image, int shaderId, int queue)
typedef void(* DTRUNSHADER )(DT_IMAGE_HANDLE image, int(*shader)(float *pixels, float *argPixelV[]), DT_IMAGE_HANDLE argHandleV[], int nbRootArguments)
typedef void(* DTRUNRSHADER )(DT_RAYS_HANDLE rays, int(*shader)(void *matAttrib, void *primAttrib, float *argPixelV[]), DT_IMAGE_HANDLE argHandleV[], int nbRootArguments)
typedef void(* DTRUNRSIMPLIFIEDSHADER )(DT_RAYS_HANDLE rays, int(*shader)(float *argPixelV[]), DT_IMAGE_HANDLE argHandleV[], int nbRootArguments)
typedef void(* DTGENERATERANDOMRAYS )(DT_RAYS_HANDLE rays, float *boundingBox)
typedef void(* DTCOPYSUBIMAGE )(DT_IMAGE_HANDLE image, DT_IMAGE_HANDLE source, SUBCOPY_STYLE copyLayout, int layoutId, float square[4])
typedef void(* DTCLONE )(DT_SCENE_HANDLE scene, DT_SCENE_HANDLE source)
typedef DT_IMAGE_HANDLE(* DTCENTERS )(DT_RAYS_HANDLE rays)
typedef DT_IMAGE_HANDLE(* DTDIRECTIONS )(DT_RAYS_HANDLE rays)
typedef void(* DTPRIMITIVE )(DT_SCENE_HANDLE scene, void *data, int size)
typedef void(* DTSETFRUSTUMRAYSFROMGLPROJECTIONMATRIX )(DT_RAYS_HANDLE rays)
typedef void(* DTDELETESCENE )(DT_SCENE_HANDLE scene)
typedef long long(* DTVERTEX )(DT_SCENE_HANDLE scene)
typedef void(* DTVERTICES )(DT_SCENE_HANDLE scene, int *indices)
typedef void(* DTVERTEXMV3FV )(DT_SCENE_HANDLE scene, float *pt)
typedef void(* DTVERTEX4FV )(DT_SCENE_HANDLE scene, float *pt)
typedef void(* DTVERTEXMV4FV )(DT_SCENE_HANDLE scene, float *pt)
typedef void(* DTVERTEXATTRIBFV )(DT_SCENE_HANDLE scene, float *pt, int charCount)
typedef void(* DTVERTEXATTRIBMV3FV )(DT_SCENE_HANDLE scene, float *pt)
typedef void(* DTVERTEXATTRIBMV4FV )(DT_SCENE_HANDLE scene, float *pt)
typedef void(* DTPRIMITIVEATTRIBFV )(DT_SCENE_HANDLE scene, float *pt, int floatCount)
typedef void(* DTPRIMITIVEATTRIBMV3FV )(DT_SCENE_HANDLE scene, float *pt)
typedef void(* DTPRIMITIVEATTRIBMV4FV )(DT_SCENE_HANDLE scene, float *pt)
typedef void(* DTPRIMITIVEATTRIBDV )(DT_SCENE_HANDLE scene, double *pt, int floatCount)
typedef void(* DTPRIMITIVEATTRIBMV3DV )(DT_SCENE_HANDLE scene, double *pt)
typedef void(* DTPRIMITIVEATTRIBMV4DV )(DT_SCENE_HANDLE scene, double *pt)
typedef void(* DTDELETEMATERIAL )(DT_SCENE_HANDLE scene, int materialId)
typedef void(* DTREMOVEALLUNREFERENCEDVERTICES )(DT_SCENE_HANDLE scene, int materialId)
typedef void(* DTALLOCATESPACEFORNPRIMITIVES )(DT_SCENE_HANDLE scene, PRIMITIVE primitive, long long nbPrimitives)
typedef void(* DTPRIMITIVEATTRIB )(DT_SCENE_HANDLE scene, void *data, int size)
typedef void(* DTNORMALSATINTERSECTIONH )(DT_SCENE_HANDLE scene, DT_RAYS_HANDLE rays, DT_IMAGE_HANDLE normals)
typedef void(* DTUVCOORDSATINTERSECTIONH )(DT_SCENE_HANDLE scene, DT_RAYS_HANDLE rays, DT_IMAGE_HANDLE uvCoords)
typedef void(* DTCREATENOISE1D )(DT_IMAGE_HANDLE image, int type)
typedef int(* DTNEWMATERIAL2 )(DT_SCENE_HANDLE scene, int bytesPerMaterial, int bytesPerPrimitive, int bytesPerVertex, int hintNumberOfPrimitives, int hintNumberOfVertices)
typedef void(* DTMATERIALATTRIB2 )(DT_SCENE_HANDLE scene, int materialId, void *attribs, int charCount)
typedef void(* DTGETRELEMENT )(DT_RAYS_HANDLE rays, int nb, float *center, float *direction)
typedef void(* DTGETELEMENT )(DT_RAYS_HANDLE rays, DT_IMAGE_HANDLE image, int nb, float *vector)
typedef int(* DTGETSIZERAY )(DT_RAYS_HANDLE rays, int dim)
typedef int(* DTGETSIZEIM )(DT_IMAGE_HANDLE image, int dim)
typedef void(* DTUSECLIMAGETYPE )(DT_IMAGE_HANDLE image, bool onoff, int pixelPrecision)
typedef void(* DTSETCLQUEUEIMAGE )(DT_IMAGE_HANDLE image, int queue)
typedef void(* DTSETCLQUEUERAY )(DT_RAYS_HANDLE rays, int queue)
typedef void(* DTTEXTUREIMAGEOPERATOREQUALH )(DT_TEXTURE_HANDLE, DT_IMAGE_HANDLE)
typedef void(* DTMAPTOGLWINDOW )(DT_TEXTURE_HANDLE texture)
typedef void(* DTSETFORMAT )(DT_TEXTURE_HANDLE texture, GLint precision)
typedef void(* DTTEXTURERESIZE )(DT_TEXTURE_HANDLE texture, int sizeX, int sizeY, int sizeZ, GLenum internalFormat)
typedef void(* DTSETCLQUEUE )(DT_TEXTURE_HANDLE texture, int queue)
typedef int(* DTSETCLRAYTEXTUREPARAM )(DT_IMAGE_HANDLE image, int shaderId, int param, int samplerParam, DT_TEXTURE_HANDLE handle, bool read, bool write)
typedef int(* DTSETCLIMTEXTUREPARAM )(DT_RAYS_HANDLE rays, int shaderId, int param, int samplerParam, DT_TEXTURE_HANDLE handle, bool read, bool write)
typedef int(* DTIMAGETEXTUREOPERATOREQUAL )(DT_IMAGE_HANDLE image, DT_TEXTURE_HANDLE texture)
typedef void(* DTSETSAMPLER )(DT_TEXTURE_HANDLE texture, unsigned int normalized_coords, unsigned int addressing_mode, unsigned int filter_mode)

Enumerations

enum  DT_ERROR_TYPE { DT_SUCCESS = 0, DT_MEM_OBJECT_ALLOCATION_FAILURE = -4, DT_OUT_OF_RESOURCES = -5 }
enum  PLATFORM_TYPE { X86 = 1, CL = 2 }
enum  PRIMITIVE {
  DT_TRIANGLES = DT_TRIANGLES_BIT, DT_TRIANGLES_DP = DT_TRIANGLES_BIT|DT_DOUBLE_PRIMITIVE_BIT, DT_TETRAHEDRA = DT_TETRAHEDRA_BIT, DT_TETRAHEDRA_DP = DT_TETRAHEDRA_BIT|DT_DOUBLE_PRIMITIVE_BIT,
  DT_SPHERES = DT_SPHERES_BIT, DT_SPHERES_DP = DT_SPHERES_BIT|DT_DOUBLE_PRIMITIVE_BIT, DT_QUADRATIC_SPLINE = DT_QUADRATIC_SPLINES_BIT, DT_QUADRATIC_SPLINE_DP = DT_QUADRATIC_SPLINES_BIT|DT_DOUBLE_PRIMITIVE_BIT,
  DT_CUBIC_SPLINE = DT_CUBIC_SPLINES_BIT, DT_CUBIC_SPLINE_DP = DT_CUBIC_SPLINES_BIT|DT_DOUBLE_PRIMITIVE_BIT, DT_LINE = DT_LINES_BIT, DT_LINE_DP = DT_LINES_BIT|DT_DOUBLE_PRIMITIVE_BIT,
  DT_VERTICES = MAX_PRIMITIVE_TYPES-1
}
 Enumerates the primitives that either are, or can be supported later on by the Ray-Tracer Engine. More...
enum  COHERENCY_TYPE {
  DEFAULT_COHERENCY = 0, FRUSTUM_RAYS = 1, FRUSTUM_INTERSECTIONS = 2, RANDOM_INTERSECTIONS = 4,
  FRUSTUM_TO_LIGHT_SOURCE_RAYS = 8, SINGLE_SOURCE_RAYS = 16, MULTIPLE_SOURCES_RAYS = 32, FULLY_INCOHERENT_RAYS = 64,
  INDEXED_RAYS = 128
}
enum  SCENE_HINTS { MATERIALS_STORED_ON_CL_DEVICE = 1, GEOMETRY_STORED_ON_CL_DEVICE = 2, PRIMITIVE_ATTRIBS_STORED_ON_CL_DEVICE = 3 }
enum  INTERPOLATION_TYPE {
  NO_INTERPOLATION = 0, NEAREST_INTERPOLATION = 0, LINEAR_INTERPOLATION = 1, QUADRATIC_INTERPOLATION_INTERPOLATION = 2,
  CUBIC_INTERPOLATION = 3
}
enum  DT_HANDLE_TYPE {
  NULL_HANDLE = 0, IMAGE_HANDLE = 1, RAY_HANDLE = 2, TEXTURE_HANDLE = 3,
  SCENE_HANDLE = 4
}
enum  SUBCOPY_STYLE {
  SUBCOPY_TYPE = 1+2+4+8, SUBCOPY_FILTER = 16+32+64+128, SUBCOPY_INTERLEAVE = 128+256+512+1024, SUBCOPY_INTRALEAVE = 8192+16384+32768+65536+8192*16+8192*32,
  SUBCOPY_ARRANGEMENT = 2048+4096, SUBCOPY_NONE = 0, SUBCOPY_FILTERING = 1, SUBCOPY_INTRALEAVED = 2,
  SUBCOPY_INTERLEAVED = 3, SUBCOPY_CONSTANT = 16, SUBCOPY_LINEAR = 16*2, SUBCOPY_QUADRATIC = 16*3,
  SUBCOPY_CUBIC = 16*4, SUBCOPY_INTERLEAVED2 = 128, SUBCOPY_INTERLEAVED4 = 128*2, SUBCOPY_INTERLEAVED8 = 128*3,
  SUBCOPY_INTERLEAVED16 = 128*4, SUBCOPY_HORIZONTAL = 2048, SUBCOPY_VERTICAL = 2048*2, SUBCOPY_HORIZONTAL_VERTICAL = 2048*3,
  SUBCOPY_BLOCK_SHIFT = 13, SUBCOPY_1BLOCKS = 8192, SUBCOPY_2BLOCKS = 8192*2, SUBCOPY_4BLOCKS = 8192*4,
  SUBCOPY_8BLOCKS = 8192*8, SUBCOPY_16BLOCKS = 8192*16, SUBCOPY_32BLOCKS = 8192*32, SUBCOPY_SPECIAL = 1<<19
}

Macro Definition Documentation

#define DT_CUBIC_SPLINES_BIT   8

Definition at line 13 of file DirectTraceAPI.h.

#define DT_DOUBLE_PRIMITIVE_BIT   1

Definition at line 10 of file DirectTraceAPI.h.

#define DT_INDEXED_PRIMITIVE_BIT   64

Definition at line 16 of file DirectTraceAPI.h.

#define DT_LINES_BIT   16

Definition at line 14 of file DirectTraceAPI.h.

#define DT_QUADRATIC_SPLINES_BIT   4

Definition at line 12 of file DirectTraceAPI.h.

#define DT_SPHERES_BIT   32

Definition at line 15 of file DirectTraceAPI.h.

#define DT_TETRAHEDRA_BIT   2

Definition at line 11 of file DirectTraceAPI.h.

#define DT_TRIANGLES_BIT   0

Definition at line 9 of file DirectTraceAPI.h.

#define MAX_DEVICES   16

Definition at line 18 of file DirectTraceAPI.h.

#define MAX_DTMATERIALS   512

Definition at line 6 of file DirectTraceAPI.h.

#define MAX_PRIMITIVE_TYPES   513

Definition at line 17 of file DirectTraceAPI.h.

#define MAX_SHADER_PARAMETERS   16

Definition at line 7 of file DirectTraceAPI.h.

#define MAXFLOAT   0x7f800000

Definition at line 5 of file DirectTraceAPI.h.


Typedef Documentation

typedef long long DT_HANDLE

Definition at line 121 of file DirectTraceAPI.h.

typedef long long DT_IMAGE_HANDLE

Definition at line 124 of file DirectTraceAPI.h.

typedef long long DT_RAYS_HANDLE

Definition at line 122 of file DirectTraceAPI.h.

typedef long long DT_SCENE_HANDLE

Definition at line 123 of file DirectTraceAPI.h.

typedef long long DT_TEXTURE_HANDLE

Definition at line 125 of file DirectTraceAPI.h.

typedef void(* DTABSIMAGEH)(DT_IMAGE_HANDLE image)

Definition at line 161 of file DirectTraceAPI.h.

typedef void(* DTALLOCATESPACEFORNPRIMITIVES)(DT_SCENE_HANDLE scene, PRIMITIVE primitive, long long nbPrimitives)

Definition at line 244 of file DirectTraceAPI.h.

typedef void(* DTBEGINH)(DT_SCENE_HANDLE scene, PRIMITIVE primitive, int materialId)

Definition at line 202 of file DirectTraceAPI.h.

typedef DT_IMAGE_HANDLE(* DTCENTERS)(DT_RAYS_HANDLE rays)

Definition at line 223 of file DirectTraceAPI.h.

typedef void(* DTCLAMPIMAGEH)(DT_IMAGE_HANDLE image)

Definition at line 160 of file DirectTraceAPI.h.

typedef void(* DTCLONE)(DT_SCENE_HANDLE scene, DT_SCENE_HANDLE source)

Definition at line 222 of file DirectTraceAPI.h.

typedef void(* DTCOMPLEXTOREAL)(DT_IMAGE_HANDLE image, DT_IMAGE_HANDLE source, int whichPart)

Definition at line 197 of file DirectTraceAPI.h.

typedef bool(* DTCOPY)(DT_HANDLE_TYPE htype, DT_HANDLE destination, DT_HANDLE source)

Definition at line 136 of file DirectTraceAPI.h.

typedef void(* DTCOPYSUBIMAGE)(DT_IMAGE_HANDLE image, DT_IMAGE_HANDLE source, SUBCOPY_STYLE copyLayout, int layoutId, float square[4])

Definition at line 221 of file DirectTraceAPI.h.

typedef void(* DTCREATENOISE1D)(DT_IMAGE_HANDLE image, int type)

Definition at line 248 of file DirectTraceAPI.h.

typedef void(* DTDCT)(DT_IMAGE_HANDLE image, DT_IMAGE_HANDLE source, bool inverse)

Definition at line 173 of file DirectTraceAPI.h.

typedef void*(* DTDEBUGIMAGEH)(DT_IMAGE_HANDLE image, void *p)

Definition at line 165 of file DirectTraceAPI.h.

typedef void(* DTDEINTERLEAVE)(DT_IMAGE_HANDLE image, DT_IMAGE_HANDLE source, int level)

Definition at line 194 of file DirectTraceAPI.h.

typedef void(* DTDEINTERLEAVEAUTO)(DT_IMAGE_HANDLE image, int level)

Definition at line 195 of file DirectTraceAPI.h.

typedef void(* DTDELETEHANDLE)(DT_HANDLE_TYPE htype, DT_HANDLE &handle)

Definition at line 135 of file DirectTraceAPI.h.

typedef void(* DTDELETEMATERIAL)(DT_SCENE_HANDLE scene, int materialId)

Definition at line 242 of file DirectTraceAPI.h.

typedef void(* DTDELETEMATERIALLIST)(DT_SCENE_HANDLE scene)

Definition at line 181 of file DirectTraceAPI.h.

typedef void(* DTDELETESCENE)(DT_SCENE_HANDLE scene)

Definition at line 227 of file DirectTraceAPI.h.

typedef DT_IMAGE_HANDLE(* DTDIRECTIONS)(DT_RAYS_HANDLE rays)

Definition at line 224 of file DirectTraceAPI.h.

typedef void(* DTDIVCONSTIMAGEH)(DT_IMAGE_HANDLE accumulatorImage, float *vect)

Definition at line 155 of file DirectTraceAPI.h.

typedef void(* DTDIVIMAGEH)(DT_IMAGE_HANDLE accumulatorImage, DT_IMAGE_HANDLE addedImage)

Definition at line 159 of file DirectTraceAPI.h.

typedef void(* DTENDH)(DT_SCENE_HANDLE scene)

Definition at line 203 of file DirectTraceAPI.h.

typedef void(* DTFFT)(DT_IMAGE_HANDLE image, bool inverse)

Definition at line 174 of file DirectTraceAPI.h.

typedef void(* DTFFTAXIS)(DT_IMAGE_HANDLE image, bool inverse, int axis)

Definition at line 175 of file DirectTraceAPI.h.

typedef void(* DTGAMMACORRECTION)(DT_IMAGE_HANDLE image, float gamma, float beta)

Definition at line 180 of file DirectTraceAPI.h.

typedef void(* DTGENERATEHEMISPHERICALRANDOMDIRECTIONSH)(DT_RAYS_HANDLE rays, DT_RAYS_HANDLE normals, int applyToAll)

Definition at line 169 of file DirectTraceAPI.h.

typedef void(* DTGENERATERANDOMDIRECTIONSH)(DT_RAYS_HANDLE rays, bool applyToAll)

Definition at line 170 of file DirectTraceAPI.h.

typedef void(* DTGENERATERANDOMLOCATIONSANDDIRECTIONSH)(DT_RAYS_HANDLE rays, DT_SCENE_HANDLE scene)

Definition at line 142 of file DirectTraceAPI.h.

typedef void(* DTGENERATERANDOMRAYS)(DT_RAYS_HANDLE rays, float *boundingBox)

Definition at line 220 of file DirectTraceAPI.h.

typedef bool(* DTGETCLSHADERSTATEIM)(DT_IMAGE_HANDLE image, int shaderId)

Definition at line 212 of file DirectTraceAPI.h.

typedef bool(* DTGETCLSHADERSTATERAY)(DT_RAYS_HANDLE rays, int shaderId)

Definition at line 211 of file DirectTraceAPI.h.

typedef void(* DTGETELEMENT)(DT_RAYS_HANDLE rays, DT_IMAGE_HANDLE image, int nb, float *vector)

Definition at line 253 of file DirectTraceAPI.h.

typedef DT_ERROR_TYPE(* DTGETLASTERRORH)()

Definition at line 127 of file DirectTraceAPI.h.

typedef int(* DTGETNBOFACTIVERAYSH)(DT_RAYS_HANDLE rays)

Definition at line 166 of file DirectTraceAPI.h.

typedef void(* DTGETNORMALSATINTERSECTIONSH)(DT_SCENE_HANDLE scene, DT_RAYS_HANDLE rays, DT_RAYS_HANDLE source, int interpolation, bool applyToAll)

Definition at line 146 of file DirectTraceAPI.h.

typedef void(* DTGETPRIMITIVESATINTERSECTIONH)(DT_IMAGE_HANDLE intersections, DT_IMAGE_HANDLE destination)

Definition at line 168 of file DirectTraceAPI.h.

typedef DT_HANDLE(* DTGETRAYBUFFERCENTERSHANDLEH)(DT_RAYS_HANDLE handle)

Definition at line 138 of file DirectTraceAPI.h.

typedef DT_HANDLE(* DTGETRAYBUFFERDIRECTIONSHANDLEH)(DT_RAYS_HANDLE handle)

Definition at line 139 of file DirectTraceAPI.h.

typedef DT_HANDLE(* DTGETRAYBUFFERHANDLEH)(DT_RAYS_HANDLE handle, int buffer)

Definition at line 137 of file DirectTraceAPI.h.

typedef void(* DTGETRELEMENT)(DT_RAYS_HANDLE rays, int nb, float *center, float *direction)

Definition at line 252 of file DirectTraceAPI.h.

typedef int(* DTGETSIZEIM)(DT_IMAGE_HANDLE image, int dim)

Definition at line 255 of file DirectTraceAPI.h.

typedef int(* DTGETSIZERAY)(DT_RAYS_HANDLE rays, int dim)

Definition at line 254 of file DirectTraceAPI.h.

typedef void(* DTGLRAYDISPLAY)(DT_RAYS_HANDLE photons, float scale)

Definition at line 185 of file DirectTraceAPI.h.

typedef void(* DTGLWRITETEXT)(char *text, float x, float y, int size, int color, int font)

Definition at line 133 of file DirectTraceAPI.h.

typedef void(* DTHINT)(DT_SCENE_HANDLE scene, SCENE_HINTS hint)

Definition at line 205 of file DirectTraceAPI.h.

typedef void(* DTIMAGEOPERATOREQUAL)(DT_IMAGE_HANDLE image, DT_IMAGE_HANDLE source)

Definition at line 140 of file DirectTraceAPI.h.

typedef int(* DTIMAGETEXTUREOPERATOREQUAL)(DT_IMAGE_HANDLE image, DT_TEXTURE_HANDLE texture)

Definition at line 267 of file DirectTraceAPI.h.

typedef void(* DTINTERLEAVE)(DT_IMAGE_HANDLE image, DT_IMAGE_HANDLE source, int level)

Definition at line 193 of file DirectTraceAPI.h.

typedef int(* DTINTERSECTORH)(DT_SCENE_HANDLE, DT_RAYS_HANDLE, int threads)

Definition at line 149 of file DirectTraceAPI.h.

typedef void(* DTINVERSEIMAGEH)(DT_IMAGE_HANDLE image)

Definition at line 162 of file DirectTraceAPI.h.

typedef void(* DTLOADIMAGE)(DT_IMAGE_HANDLE image, char *name)

Definition at line 179 of file DirectTraceAPI.h.

typedef bool(* DTLOADIMAGEBMP)(DT_IMAGE_HANDLE image, char *nameImage)

Definition at line 191 of file DirectTraceAPI.h.

typedef int(* DTMAPIMAGE)(INTERPOLATION_TYPE interpolation)

Definition at line 132 of file DirectTraceAPI.h.

typedef int(* DTMAPIMAGETOWINDOWAUTOH)(DT_IMAGE_HANDLE image, INTERPOLATION_TYPE interpolation)

Definition at line 151 of file DirectTraceAPI.h.

typedef int(* DTMAPIMAGETOWINDOWH)(DT_IMAGE_HANDLE image, INTERPOLATION_TYPE interpolation, DT_IMAGE_HANDLE tempImage)

Definition at line 150 of file DirectTraceAPI.h.

typedef void(* DTMAPTOGLWINDOW)(DT_TEXTURE_HANDLE texture)

Definition at line 261 of file DirectTraceAPI.h.

typedef void(* DTMATERIALATTRIB2)(DT_SCENE_HANDLE scene, int materialId, void *attribs, int charCount)

Definition at line 251 of file DirectTraceAPI.h.

typedef void(* DTMATERIALID)(DT_SCENE_HANDLE scene, int id)

Definition at line 184 of file DirectTraceAPI.h.

typedef void(* DTMERGEWITH)(DT_RAYS_HANDLE rays, DT_RAYS_HANDLE rays2)

Definition at line 187 of file DirectTraceAPI.h.

typedef void(* DTMERGEWITH2)(DT_RAYS_HANDLE rays, DT_RAYS_HANDLE rays2, DT_IMAGE_HANDLE destProperties[], DT_IMAGE_HANDLE sourceProperties[])

Definition at line 188 of file DirectTraceAPI.h.

typedef void(* DTMINUSCONSTIMAGEH)(DT_IMAGE_HANDLE accumulatorImage, float *vect)

Definition at line 153 of file DirectTraceAPI.h.

typedef void(* DTMINUSIMAGEH)(DT_IMAGE_HANDLE accumulatorImage, DT_IMAGE_HANDLE addedImage)

Definition at line 157 of file DirectTraceAPI.h.

typedef void(* DTMODIFYMATERIALATTRIB)(DT_SCENE_HANDLE scene, int id)

Definition at line 183 of file DirectTraceAPI.h.

typedef void(* DTMOVERAYSTOINTERSECTIONSH)(DT_RAYS_HANDLE rays, float epsilonOffset, bool all)

Definition at line 145 of file DirectTraceAPI.h.

typedef void(* DTMULTCONSTIMAGEH)(DT_IMAGE_HANDLE accumulatorImage, float *vect)

Definition at line 154 of file DirectTraceAPI.h.

typedef void(* DTMULTIMAGEH)(DT_IMAGE_HANDLE accumulatorImage, DT_IMAGE_HANDLE addedImage)

Definition at line 158 of file DirectTraceAPI.h.

typedef void(* DTMULTVRAYDIRECTIONSH)(DT_RAYS_HANDLE accumulatorRays, float c)

Definition at line 167 of file DirectTraceAPI.h.

typedef DT_HANDLE(* DTNEWHANDLE)(DT_HANDLE_TYPE htype)

Definition at line 134 of file DirectTraceAPI.h.

typedef int(* DTNEWMATERIAL2)(DT_SCENE_HANDLE scene, int bytesPerMaterial, int bytesPerPrimitive, int bytesPerVertex, int hintNumberOfPrimitives, int hintNumberOfVertices)

Definition at line 250 of file DirectTraceAPI.h.

typedef void(* DTNOINPUTOUTPUT)()

Definition at line 130 of file DirectTraceAPI.h.

typedef void(* DTNORMALIZEDIRECTIONSH)(DT_RAYS_HANDLE rays, bool applyToAll)

Definition at line 148 of file DirectTraceAPI.h.

typedef void(* DTNORMALSATINTERSECTIONH)(DT_SCENE_HANDLE scene, DT_RAYS_HANDLE rays, DT_IMAGE_HANDLE normals)

Definition at line 246 of file DirectTraceAPI.h.

typedef void(* DTNUMBERING)(DT_IMAGE_HANDLE image)

Definition at line 201 of file DirectTraceAPI.h.

typedef void(* DTPLUSCONSTIMAGEH)(DT_IMAGE_HANDLE accumulatorImage, float *vect)

Definition at line 152 of file DirectTraceAPI.h.

typedef void(* DTPLUSIMAGEH)(DT_IMAGE_HANDLE accumulatorImage, DT_IMAGE_HANDLE addedImage)

Definition at line 156 of file DirectTraceAPI.h.

typedef void(* DTPRIMITIVE)(DT_SCENE_HANDLE scene, void *data, int size)

Definition at line 225 of file DirectTraceAPI.h.

typedef void(* DTPRIMITIVEATTRIB)(DT_SCENE_HANDLE scene, void *data, int size)

Definition at line 245 of file DirectTraceAPI.h.

typedef void(* DTPRIMITIVEATTRIBDV)(DT_SCENE_HANDLE scene, double *pt, int floatCount)

Definition at line 239 of file DirectTraceAPI.h.

typedef void(* DTPRIMITIVEATTRIBFV)(DT_SCENE_HANDLE scene, float *pt, int floatCount)

Definition at line 236 of file DirectTraceAPI.h.

typedef void(* DTPRIMITIVEATTRIBMV3DV)(DT_SCENE_HANDLE scene, double *pt)

Definition at line 240 of file DirectTraceAPI.h.

typedef void(* DTPRIMITIVEATTRIBMV3FV)(DT_SCENE_HANDLE scene, float *pt)

Definition at line 237 of file DirectTraceAPI.h.

typedef void(* DTPRIMITIVEATTRIBMV4DV)(DT_SCENE_HANDLE scene, double *pt)

Definition at line 241 of file DirectTraceAPI.h.

typedef void(* DTPRIMITIVEATTRIBMV4FV)(DT_SCENE_HANDLE scene, float *pt)

Definition at line 238 of file DirectTraceAPI.h.

typedef void(* DTRAYMATRIXSIZEH)(DT_RAYS_HANDLE rays, int x, int y)

Definition at line 172 of file DirectTraceAPI.h.

typedef void(* DTRAYOPERATOREQUAL)(DT_RAYS_HANDLE rays, DT_RAYS_HANDLE source)

Definition at line 141 of file DirectTraceAPI.h.

typedef void(* DTREALTOCOMPLEX)(DT_IMAGE_HANDLE image, DT_IMAGE_HANDLE real, DT_IMAGE_HANDLE imaginary)

Definition at line 196 of file DirectTraceAPI.h.

typedef void(* DTREMOVEALLUNREFERENCEDVERTICES)(DT_SCENE_HANDLE scene, int materialId)

Definition at line 243 of file DirectTraceAPI.h.

typedef void(* DTRUNOPENCLIMAGESHADERS)(DT_IMAGE_HANDLE image, int shaderId, int queue)

Definition at line 216 of file DirectTraceAPI.h.

typedef void(* DTRUNOPENCLRAYSHADERS)(DT_RAYS_HANDLE rays, int shaderId, int queue)

Definition at line 215 of file DirectTraceAPI.h.

typedef void(* DTRUNRSHADER)(DT_RAYS_HANDLE rays, int(*shader)(void *matAttrib, void *primAttrib, float *argPixelV[]), DT_IMAGE_HANDLE argHandleV[], int nbRootArguments)

Definition at line 218 of file DirectTraceAPI.h.

typedef void(* DTRUNRSIMPLIFIEDSHADER)(DT_RAYS_HANDLE rays, int(*shader)(float *argPixelV[]), DT_IMAGE_HANDLE argHandleV[], int nbRootArguments)

Definition at line 219 of file DirectTraceAPI.h.

typedef void(* DTRUNSHADER)(DT_IMAGE_HANDLE image, int(*shader)(float *pixels, float *argPixelV[]), DT_IMAGE_HANDLE argHandleV[], int nbRootArguments)

Definition at line 217 of file DirectTraceAPI.h.

typedef void(* DTSAVEIMAGE)(DT_IMAGE_HANDLE image, char *name)

Definition at line 178 of file DirectTraceAPI.h.

typedef bool(* DTSAVEIMAGEBMP)(DT_IMAGE_HANDLE image, char *nameImage)

Definition at line 192 of file DirectTraceAPI.h.

typedef void(* DTSCENERESETH)(DT_SCENE_HANDLE scene)

Definition at line 204 of file DirectTraceAPI.h.

typedef void(* DTSETAPISHAREDMEMORY)(void *)

Definition at line 128 of file DirectTraceAPI.h.

typedef int(* DTSETCLIMAGEPARAM)(DT_IMAGE_HANDLE h, int shaderId, int param, void *elem, int size)

Definition at line 209 of file DirectTraceAPI.h.

typedef int(* DTSETCLIMAGEPARAMIM)(DT_IMAGE_HANDLE h, int shaderId, int param, DT_IMAGE_HANDLE im, bool read, bool write)

Definition at line 210 of file DirectTraceAPI.h.

typedef int(* DTSETCLIMTEXTUREPARAM)(DT_RAYS_HANDLE rays, int shaderId, int param, int samplerParam, DT_TEXTURE_HANDLE handle, bool read, bool write)

Definition at line 266 of file DirectTraceAPI.h.

typedef void(* DTSETCLQUEUE)(DT_TEXTURE_HANDLE texture, int queue)

Definition at line 264 of file DirectTraceAPI.h.

typedef void(* DTSETCLQUEUEIMAGE)(DT_IMAGE_HANDLE image, int queue)

Definition at line 257 of file DirectTraceAPI.h.

typedef void(* DTSETCLQUEUERAY)(DT_RAYS_HANDLE rays, int queue)

Definition at line 258 of file DirectTraceAPI.h.

typedef int(* DTSETCLRAYPARAM)(DT_RAYS_HANDLE rays, int shaderId, int param, void *elem, int size)

Definition at line 207 of file DirectTraceAPI.h.

typedef int(* DTSETCLRAYPARAMIM)(DT_RAYS_HANDLE rays, int shaderId, int param, DT_IMAGE_HANDLE im, bool read, bool write)

Definition at line 208 of file DirectTraceAPI.h.

typedef int(* DTSETCLRAYTEXTUREPARAM)(DT_IMAGE_HANDLE image, int shaderId, int param, int samplerParam, DT_TEXTURE_HANDLE handle, bool read, bool write)

Definition at line 265 of file DirectTraceAPI.h.

typedef void(* DTSETDLLMODE)(PLATFORM_TYPE platform, int queuesPerCLDevice, int maxDevices, bool openGLInterop)

Definition at line 129 of file DirectTraceAPI.h.

typedef void(* DTSETFORMAT)(DT_TEXTURE_HANDLE texture, GLint precision)

Definition at line 262 of file DirectTraceAPI.h.

typedef void(* DTSETFRUSTUMRAYSFROMGLPROJECTIONMATRIX)(DT_RAYS_HANDLE rays)

Definition at line 226 of file DirectTraceAPI.h.

typedef void(* DTSETFRUSTUMRAYSFROMPYRAMIDFH)(DT_RAYS_HANDLE rays, float *center, float *corners[4], SUBCOPY_STYLE layout, int layoutId)

Definition at line 143 of file DirectTraceAPI.h.

typedef void(* DTSETIMAGEH)(DT_IMAGE_HANDLE image, float *vect)

Definition at line 163 of file DirectTraceAPI.h.

typedef void(* DTSETIMAGESIZEH)(DT_IMAGE_HANDLE image, int x, int y, int nbComponents, bool complexMode)

Definition at line 164 of file DirectTraceAPI.h.

typedef int(* DTSETOPENCLIMAGESHADERS)(DT_IMAGE_HANDLE image, int shaderId, char *compilationOptions, char *openCLShaderCode, int extraArgs)

Definition at line 214 of file DirectTraceAPI.h.

typedef int(* DTSETOPENCLRAYSHADERS)(DT_RAYS_HANDLE rays, int shaderId, char *compilationOptions, char *openCLShaderCode, int extraArgs)

Definition at line 213 of file DirectTraceAPI.h.

typedef void(* DTSETPIXELS4DF)(DT_IMAGE_HANDLE image, int nbPixels, float *color4)

Definition at line 177 of file DirectTraceAPI.h.

typedef void(* DTSETPUNCTUALLIGHTSOURCESH)(float *lightSources, int nbLightSources, DT_RAYS_HANDLE rays)

Definition at line 171 of file DirectTraceAPI.h.

typedef void(* DTSETRANDOMLYDISPLACEDFRUSTUMRAYSFROMPYRAMIDFH)(DT_RAYS_HANDLE rays, float *center, float *corners[4], SUBCOPY_STYLE layout, int layoutId)

Definition at line 144 of file DirectTraceAPI.h.

typedef void(* DTSETRAYS4D)(DT_RAYS_HANDLE rays, int nbRays, float *pos, float *dir)

Definition at line 186 of file DirectTraceAPI.h.

typedef void(* DTSETRAYSFROMPYRAMIDFH)(DT_RAYS_HANDLE rays, float *center, float *corners[4])

Definition at line 147 of file DirectTraceAPI.h.

typedef void(* DTSETSAMPLER)(DT_TEXTURE_HANDLE texture, unsigned int normalized_coords, unsigned int addressing_mode, unsigned int filter_mode)

Definition at line 268 of file DirectTraceAPI.h.

typedef void(* DTSHUFFLE)(DT_RAYS_HANDLE rays)

Definition at line 189 of file DirectTraceAPI.h.

typedef void(* DTSHUFFLE2)(DT_RAYS_HANDLE rays, DT_IMAGE_HANDLE argHandleV[])

Definition at line 190 of file DirectTraceAPI.h.

typedef void(* DTTEXTUREIMAGEOPERATOREQUALH)(DT_TEXTURE_HANDLE, DT_IMAGE_HANDLE)

Definition at line 260 of file DirectTraceAPI.h.

typedef void(* DTTEXTURERESIZE)(DT_TEXTURE_HANDLE texture, int sizeX, int sizeY, int sizeZ, GLenum internalFormat)

Definition at line 263 of file DirectTraceAPI.h.

typedef void(* DTTOUCH)(DT_RAYS_HANDLE rays, COHERENCY_TYPE coherency)

Definition at line 206 of file DirectTraceAPI.h.

typedef void(* DTUSECLIMAGETYPE)(DT_IMAGE_HANDLE image, bool onoff, int pixelPrecision)

Definition at line 256 of file DirectTraceAPI.h.

typedef void(* DTUVCOORDSATINTERSECTIONH)(DT_SCENE_HANDLE scene, DT_RAYS_HANDLE rays, DT_IMAGE_HANDLE uvCoords)

Definition at line 247 of file DirectTraceAPI.h.

typedef long long(* DTVERTEX)(DT_SCENE_HANDLE scene)

Definition at line 228 of file DirectTraceAPI.h.

typedef void(* DTVERTEX4FV)(DT_SCENE_HANDLE scene, float *pt)

Definition at line 231 of file DirectTraceAPI.h.

typedef void(* DTVERTEXATTRIB)(DT_SCENE_HANDLE scene, void *attribs, int charCount)

Definition at line 198 of file DirectTraceAPI.h.

typedef void(* DTVERTEXATTRIBFV)(DT_SCENE_HANDLE scene, float *pt, int charCount)

Definition at line 233 of file DirectTraceAPI.h.

typedef void(* DTVERTEXATTRIBMV3FV)(DT_SCENE_HANDLE scene, float *pt)

Definition at line 234 of file DirectTraceAPI.h.

typedef void(* DTVERTEXATTRIBMV4FV)(DT_SCENE_HANDLE scene, float *pt)

Definition at line 235 of file DirectTraceAPI.h.

typedef void(* DTVERTEXDVH)(DT_SCENE_HANDLE scene, double *pt)

Definition at line 200 of file DirectTraceAPI.h.

typedef void(* DTVERTEXFVH)(DT_SCENE_HANDLE scene, float *pt)

Definition at line 199 of file DirectTraceAPI.h.

typedef void(* DTVERTEXMV3FV)(DT_SCENE_HANDLE scene, float *pt)

Definition at line 230 of file DirectTraceAPI.h.

typedef void(* DTVERTEXMV4FV)(DT_SCENE_HANDLE scene, float *pt)

Definition at line 232 of file DirectTraceAPI.h.

typedef void(* DTVERTICES)(DT_SCENE_HANDLE scene, int *indices)

Definition at line 229 of file DirectTraceAPI.h.

typedef void*(* DTVOIDSTAR)(void *)

Definition at line 131 of file DirectTraceAPI.h.


Enumeration Type Documentation

Enumerator:
DEFAULT_COHERENCY 
FRUSTUM_RAYS 
FRUSTUM_INTERSECTIONS 
RANDOM_INTERSECTIONS 
FRUSTUM_TO_LIGHT_SOURCE_RAYS 
SINGLE_SOURCE_RAYS 
MULTIPLE_SOURCES_RAYS 
FULLY_INCOHERENT_RAYS 
INDEXED_RAYS 

Definition at line 51 of file DirectTraceAPI.h.

Enumerator:
DT_SUCCESS 
DT_MEM_OBJECT_ALLOCATION_FAILURE 
DT_OUT_OF_RESOURCES 

Definition at line 20 of file DirectTraceAPI.h.

DTHandle to internal resources

Enumerator:
NULL_HANDLE 
IMAGE_HANDLE 
RAY_HANDLE 
TEXTURE_HANDLE 
SCENE_HANDLE 

Definition at line 81 of file DirectTraceAPI.h.

Not supported Yet!

Enumerator:
NO_INTERPOLATION 
NEAREST_INTERPOLATION 
LINEAR_INTERPOLATION 
QUADRATIC_INTERPOLATION_INTERPOLATION 
CUBIC_INTERPOLATION 

Definition at line 71 of file DirectTraceAPI.h.

Enumerator:
X86 
CL 

Definition at line 26 of file DirectTraceAPI.h.

enum PRIMITIVE

Enumerates the primitives that either are, or can be supported later on by the Ray-Tracer Engine.

Enumerator:
DT_TRIANGLES 

Triangle Shape

DT_TRIANGLES_DP 

Double Precision (64 bits) Triangle Shape. Not supported Yet!

DT_TETRAHEDRA 

Not supported Yet!

DT_TETRAHEDRA_DP 

Not supported Yet!

DT_SPHERES 

Not supported Yet!

DT_SPHERES_DP 

Not supported Yet!

DT_QUADRATIC_SPLINE 

Not supported Yet!

DT_QUADRATIC_SPLINE_DP 

Not supported Yet!

DT_CUBIC_SPLINE 

Not supported Yet!

DT_CUBIC_SPLINE_DP 

Not supported Yet!

DT_LINE 

Not supported Yet!

DT_LINE_DP 

Not supported Yet!

DT_VERTICES 

Definition at line 35 of file DirectTraceAPI.h.

Enumerator:
MATERIALS_STORED_ON_CL_DEVICE 
GEOMETRY_STORED_ON_CL_DEVICE 
PRIMITIVE_ATTRIBS_STORED_ON_CL_DEVICE 

Definition at line 64 of file DirectTraceAPI.h.

Not supported Yet! Specifications may be changed in the future.

Enumerator:
SUBCOPY_TYPE 

Not supported Yet! Specifications may be changed in the future.

SUBCOPY_FILTER 
SUBCOPY_INTERLEAVE 
SUBCOPY_INTRALEAVE 
SUBCOPY_ARRANGEMENT 
SUBCOPY_NONE 
SUBCOPY_FILTERING 
SUBCOPY_INTRALEAVED 
SUBCOPY_INTERLEAVED 
SUBCOPY_CONSTANT 
SUBCOPY_LINEAR 
SUBCOPY_QUADRATIC 
SUBCOPY_CUBIC 
SUBCOPY_INTERLEAVED2 
SUBCOPY_INTERLEAVED4 
SUBCOPY_INTERLEAVED8 
SUBCOPY_INTERLEAVED16 
SUBCOPY_HORIZONTAL 
SUBCOPY_VERTICAL 
SUBCOPY_HORIZONTAL_VERTICAL 
SUBCOPY_BLOCK_SHIFT 
SUBCOPY_1BLOCKS 
SUBCOPY_2BLOCKS 
SUBCOPY_4BLOCKS 
SUBCOPY_8BLOCKS 
SUBCOPY_16BLOCKS 
SUBCOPY_32BLOCKS 
SUBCOPY_SPECIAL 

Definition at line 90 of file DirectTraceAPI.h.