HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GU_RayInfo Class Reference

#include <GU_RayIntersect.h>

Public Member Functions

 GU_RayInfo (float max=1E18f, float min=0.0f, GU_RayFindType type=GU_FIND_CLOSEST, float tol=1e-1F)
 
 ~GU_RayInfo ()
 
GU_RaySerialgetSerialList () const
 
void setSerialList (GU_RaySerial *seriallist)
 
bool firstTime (int serialidx) const
 
bool firstTimeWithReset (int serialidx) const
 
void resetSerial (int serialidx)
 
void setFindType (GU_RayFindType type)
 
void init (float max=1E18f, float min=0.0f, GU_RayFindType type=GU_FIND_CLOSEST, float tolerance=1e-1F, int ignoretrims=1, int usealgebraic=0)
 
bool testHit (float t)
 
bool insertHit (float nt, float nu, float nv, float nw, float nd2, GEO_ConstPrimitiveP prim)
 
void addCurveSet (GU_IsectCurveSet &curveset)
 
void invalidateCache ()
 
bool isCacheValid ()
 
GU_RayFindType getFindType () const
 
void reset ()
 

Public Attributes

GEO_ConstPrimitiveP myPrim
 
UT_Vector3 myNml
 
float myTmin
 
float myTmax
 
float myT
 
float myU
 
float myV
 
float myW
 
float myD2
 
float myTol
 
float myTtol
 
float myDomainTol
 
int mySteps
 
bool myIgnoreTrims
 
bool myUseAlgebraic
 
bool myExpandPolygon
 
bool myIgnoreMeta
 
bool myTValid
 
int myMaxHits
 
GU_RayInfoCache myCache
 
UT_Array< GU_RayInfoHit > * myHitList
 
GU_IsectCurveSetmyCurveSet
 
float myTimeChange
 
float myUnitTimeOffset
 
float myUnitTimeUpperTol
 

Detailed Description

Examples:
SIM/SNOW_Solver.C, and SOP/SOP_SParticle.C.

Definition at line 140 of file GU_RayIntersect.h.

Constructor & Destructor Documentation

GU_RayInfo::GU_RayInfo ( float  max = 1E18f,
float  min = 0.0f,
GU_RayFindType  type = GU_FIND_CLOSEST,
float  tol = 1e-1F 
)
inline

Definition at line 143 of file GU_RayIntersect.h.

GU_RayInfo::~GU_RayInfo ( )

Member Function Documentation

void GU_RayInfo::addCurveSet ( GU_IsectCurveSet curveset)
bool GU_RayInfo::firstTime ( int  serialidx) const
inline

Definition at line 171 of file GU_RayIntersect.h.

bool GU_RayInfo::firstTimeWithReset ( int  serialidx) const
inline

Definition at line 173 of file GU_RayIntersect.h.

GU_RayFindType GU_RayInfo::getFindType ( ) const
inline

Definition at line 197 of file GU_RayIntersect.h.

GU_RaySerial* GU_RayInfo::getSerialList ( ) const
inline

Definition at line 166 of file GU_RayIntersect.h.

void GU_RayInfo::init ( float  max = 1E18f,
float  min = 0.0f,
GU_RayFindType  type = GU_FIND_CLOSEST,
float  tolerance = 1e-1F,
int  ignoretrims = 1,
int  usealgebraic = 0 
)
Examples:
SIM/SNOW_Solver.C.
bool GU_RayInfo::insertHit ( float  nt,
float  nu,
float  nv,
float  nw,
float  nd2,
GEO_ConstPrimitiveP  prim 
)
void GU_RayInfo::invalidateCache ( )
inline

Definition at line 194 of file GU_RayIntersect.h.

bool GU_RayInfo::isCacheValid ( )
inline

Definition at line 195 of file GU_RayIntersect.h.

void GU_RayInfo::reset ( )
Examples:
SIM/SNOW_Solver.C.
void GU_RayInfo::resetSerial ( int  serialidx)
inline

Definition at line 175 of file GU_RayIntersect.h.

void GU_RayInfo::setFindType ( GU_RayFindType  type)
void GU_RayInfo::setSerialList ( GU_RaySerial seriallist)
inline

Definition at line 167 of file GU_RayIntersect.h.

bool GU_RayInfo::testHit ( float  t)
inline

Definition at line 184 of file GU_RayIntersect.h.

Member Data Documentation

GU_RayInfoCache GU_RayInfo::myCache

Definition at line 223 of file GU_RayIntersect.h.

GU_IsectCurveSet* GU_RayInfo::myCurveSet

Definition at line 225 of file GU_RayIntersect.h.

float GU_RayInfo::myD2

Definition at line 207 of file GU_RayIntersect.h.

float GU_RayInfo::myDomainTol

Definition at line 211 of file GU_RayIntersect.h.

bool GU_RayInfo::myExpandPolygon

Definition at line 215 of file GU_RayIntersect.h.

UT_Array<GU_RayInfoHit>* GU_RayInfo::myHitList
Examples:
SIM/SNOW_Solver.C.

Definition at line 224 of file GU_RayIntersect.h.

bool GU_RayInfo::myIgnoreMeta

Definition at line 218 of file GU_RayIntersect.h.

bool GU_RayInfo::myIgnoreTrims

Definition at line 213 of file GU_RayIntersect.h.

int GU_RayInfo::myMaxHits

Definition at line 220 of file GU_RayIntersect.h.

UT_Vector3 GU_RayInfo::myNml

Definition at line 202 of file GU_RayIntersect.h.

GEO_ConstPrimitiveP GU_RayInfo::myPrim

Definition at line 201 of file GU_RayIntersect.h.

int GU_RayInfo::mySteps

Definition at line 212 of file GU_RayIntersect.h.

float GU_RayInfo::myT

Definition at line 205 of file GU_RayIntersect.h.

float GU_RayInfo::myTimeChange

Definition at line 227 of file GU_RayIntersect.h.

float GU_RayInfo::myTmax

Definition at line 204 of file GU_RayIntersect.h.

float GU_RayInfo::myTmin

Definition at line 203 of file GU_RayIntersect.h.

float GU_RayInfo::myTol

Definition at line 208 of file GU_RayIntersect.h.

float GU_RayInfo::myTtol

Definition at line 209 of file GU_RayIntersect.h.

bool GU_RayInfo::myTValid

Definition at line 219 of file GU_RayIntersect.h.

float GU_RayInfo::myU

Definition at line 206 of file GU_RayIntersect.h.

float GU_RayInfo::myUnitTimeOffset

Definition at line 228 of file GU_RayIntersect.h.

float GU_RayInfo::myUnitTimeUpperTol

Definition at line 229 of file GU_RayIntersect.h.

bool GU_RayInfo::myUseAlgebraic

Definition at line 214 of file GU_RayIntersect.h.

float GU_RayInfo::myV

Definition at line 206 of file GU_RayIntersect.h.

float GU_RayInfo::myW

Definition at line 206 of file GU_RayIntersect.h.


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