Blender V2.61 - r43446
Classes | Defines | Typedefs | Functions

rayobject.h File Reference

#include "../raytrace/rayobject_internal.h"

Go to the source code of this file.

Classes

struct  RayFace
struct  VlakPrimitive

Defines

#define RE_rayface_isQuad(a)   ((a)->quad)

Typedefs

typedef struct RayObject RayObject
typedef struct RayFace RayFace
typedef struct VlakPrimitive VlakPrimitive

Functions

int RE_rayobject_raycast (RayObject *r, struct Isect *i)
RayObjectRE_rayobject_octree_create (int ocres, int size)
RayObjectRE_rayobject_instance_create (RayObject *target, float transform[][4], void *ob, void *target_ob)
RayObjectRE_rayobject_empty_create (void)
RayObjectRE_rayobject_blibvh_create (int size)
RayObjectRE_rayobject_vbvh_create (int size)
RayObjectRE_rayobject_svbvh_create (int size)
RayObjectRE_rayobject_qbvh_create (int size)
void RE_rayobject_add (RayObject *r, RayObject *)
void RE_rayobject_done (RayObject *r)
void RE_rayobject_free (RayObject *r)
void RE_rayobject_set_control (RayObject *r, void *data, int(*test_break)(void *data))
RayObjectRE_rayface_from_vlak (RayFace *face, struct ObjectInstanceRen *obi, struct VlakRen *vlr)
RayObjectRE_vlakprimitive_from_vlak (VlakPrimitive *face, struct ObjectInstanceRen *obi, struct VlakRen *vlr)
void RE_rayobject_merge_bb (RayObject *ob, float *min, float *max)
void RE_rayobject_hint_bb (RayObject *r, struct RayHint *hint, float *min, float *max)

Detailed Description

Definition in file rayobject.h.


Define Documentation

#define RE_rayface_isQuad (   a)    ((a)->quad)

Typedef Documentation

typedef struct RayFace RayFace
typedef struct RayObject RayObject

Definition at line 51 of file rayobject.h.

typedef struct VlakPrimitive VlakPrimitive

Function Documentation

RayObject* RE_rayface_from_vlak ( RayFace face,
struct ObjectInstanceRen obi,
struct VlakRen vlr 
)
void RE_rayobject_add ( RayObject r,
RayObject  
)

Definition at line 449 of file rayobject.cpp.

References RayObjectAPI::add, RayObject::api, and RE_rayobject_align.

Referenced by makeraytree_object(), and makeraytree_single().

RayObject* RE_rayobject_blibvh_create ( int  size)
void RE_rayobject_done ( RayObject r)

Definition at line 455 of file rayobject.cpp.

References RayObject::api, RayObjectAPI::done, and RE_rayobject_align.

Referenced by makeraytree_object(), and makeraytree_single().

RayObject* RE_rayobject_empty_create ( void  )

Definition at line 77 of file rayobject_empty.cpp.

References RE_rayobject_unalignRayAPI.

Referenced by makeraytree_single().

void RE_rayobject_free ( RayObject r)
void RE_rayobject_hint_bb ( RayObject r,
struct RayHint hint,
float *  min,
float *  max 
)
RayObject* RE_rayobject_instance_create ( RayObject target,
float  transform[][4],
void *  ob,
void *  target_ob 
)
void RE_rayobject_merge_bb ( RayObject ob,
float *  min,
float *  max 
)
RayObject* RE_rayobject_octree_create ( int  ocres,
int  size 
)
RayObject* RE_rayobject_qbvh_create ( int  size)

Definition at line 156 of file rayobject_qbvh.cpp.

References NULL.

Referenced by RE_rayobject_create().

int RE_rayobject_raycast ( RayObject r,
struct Isect i 
)
void RE_rayobject_set_control ( RayObject r,
void *  data,
int(*)(void *data test_break 
)
RayObject* RE_rayobject_svbvh_create ( int  size)

Definition at line 192 of file rayobject_svbvh.cpp.

References NULL.

Referenced by RE_rayobject_create().

RayObject* RE_rayobject_vbvh_create ( int  size)

Definition at line 207 of file rayobject_vbvh.cpp.

References size().

Referenced by RE_rayobject_create().

RayObject* RE_vlakprimitive_from_vlak ( VlakPrimitive face,
struct ObjectInstanceRen obi,
struct VlakRen vlr 
)