HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BRAY_Procedural::Hit Class Reference

#include <BRAY_Procedural.h>

+ Inheritance diagram for BRAY_Procedural::Hit:

Public Member Functions

 Hit (fpreal d=SYS_FPREAL_MAX)
 
virtual ~Hit ()
 
template<typename T >
TcastTo ()
 
template<typename T >
const TcastTo () const
 

Public Attributes

fpreal distance
 
fpreal zback
 
fpreal u
 
fpreal v
 
fpreal w
 
UT_Vector3 Ng
 
uint prim_id
 
uint tri0: 1
 

Friends

class HitPtr
 
class BRAY_Procedural
 

Additional Inherited Members

- Static Public Member Functions inherited from UT_SmallObject< Hit >
static voidoperator new (size_t size)
 Regular new/delete operators. More...
 
static void operator delete (void *p, size_t size)
 Regular new/delete operators. More...
 
static voidoperator new (size_t, void *p)
 
static void operator delete (void *, void *)
 

Detailed Description

Definition at line 60 of file BRAY_Procedural.h.

Constructor & Destructor Documentation

BRAY_Procedural::Hit::Hit ( fpreal  d = SYS_FPREAL_MAX)
inline

Definition at line 64 of file BRAY_Procedural.h.

virtual BRAY_Procedural::Hit::~Hit ( )
virtual

Member Function Documentation

template<typename T >
T& BRAY_Procedural::Hit::castTo ( )
inline

Definition at line 87 of file BRAY_Procedural.h.

template<typename T >
const T& BRAY_Procedural::Hit::castTo ( ) const
inline

Definition at line 89 of file BRAY_Procedural.h.

Friends And Related Function Documentation

friend class BRAY_Procedural
friend

Definition at line 105 of file BRAY_Procedural.h.

friend class HitPtr
friend

Definition at line 104 of file BRAY_Procedural.h.

Member Data Documentation

fpreal BRAY_Procedural::Hit::distance

Definition at line 73 of file BRAY_Procedural.h.

UT_Vector3 BRAY_Procedural::Hit::Ng

Definition at line 76 of file BRAY_Procedural.h.

uint BRAY_Procedural::Hit::prim_id

Definition at line 77 of file BRAY_Procedural.h.

uint BRAY_Procedural::Hit::tri0

Definition at line 78 of file BRAY_Procedural.h.

fpreal BRAY_Procedural::Hit::u

Definition at line 75 of file BRAY_Procedural.h.

fpreal BRAY_Procedural::Hit::v

Definition at line 75 of file BRAY_Procedural.h.

fpreal BRAY_Procedural::Hit::w

Definition at line 75 of file BRAY_Procedural.h.

fpreal BRAY_Procedural::Hit::zback

Definition at line 74 of file BRAY_Procedural.h.


The documentation for this class was generated from the following file: