TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
iIntersection Struct Referenceabstract
Inheritance diagram for iIntersection:
iUnknown

Detailed Description

Intersection result interface.

Public Member Functions

virtual void SetResult (eIntersectionResult aResult)=0
 Set the intersection result. {Property}. More...
 
virtual eIntersectionResult GetResult () const =0
 Get the intersection result. More...
 
virtual void SetPosition (const sVec3f &avPos)=0
 {Property} Set the intersection's position. {Property} More...
 
virtual sVec3f GetPosition () const =0
 Get the intersection's position. {Property}. More...
 
virtual void SetBaryCentric (const sVec2f &avBC)=0
 Set the intersection's barycentric coordinate. {Property}. More...
 
virtual sVec2f GetBaryCentric () const =0
 Get the intersection's barycentric coordinate. {Property}. More...
 
virtual void SetPolygonIndex (tU32 anIndex)=0
 Set the index of the intersected polygon. {Property}. More...
 
virtual tU32 GetPolygonIndex () const =0
 Get the index of the intersected polygon. {Property}. More...
 
- Public Member Functions inherited from iUnknown
virtual tBool IsOK () const =0
 Check if the object is valid. More...
 
virtual tI32 AddRef ()=0
 Signal that one more reference of the object has been created. More...
 
virtual tI32 Release ()=0
 Release a reference of the object. More...
 
virtual void DeleteThis ()=0
 Bypass any reference counting and delete this object. More...
 
virtual void Invalidate ()=0
 Invalidate the object. More...
 
virtual iUnknownQueryInterface (const tUUID &aIID)=0
 Query an interface. More...
 
virtual void ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0
 Fill a UUID list containing the UUIDs of the implemented interfaces. More...
 
virtual tI32 SetNumRefs (tI32 anNumRefs)=0
 Set the reference counter directly. More...
 
virtual tI32 GetNumRefs () const =0
 Get the number of references to this object. More...
 

Member Function Documentation

virtual void SetResult ( eIntersectionResult  aResult)
pure virtual

Set the intersection result. {Property}.

virtual eIntersectionResult GetResult ( ) const
pure virtual

Get the intersection result.

virtual void SetPosition ( const sVec3f avPos)
pure virtual

{Property} Set the intersection's position. {Property}

virtual sVec3f GetPosition ( ) const
pure virtual

Get the intersection's position. {Property}.

virtual void SetBaryCentric ( const sVec2f avBC)
pure virtual

Set the intersection's barycentric coordinate. {Property}.

virtual sVec2f GetBaryCentric ( ) const
pure virtual

Get the intersection's barycentric coordinate. {Property}.

virtual void SetPolygonIndex ( tU32  anIndex)
pure virtual

Set the index of the intersected polygon. {Property}.

virtual tU32 GetPolygonIndex ( ) const
pure virtual

Get the index of the intersected polygon. {Property}.