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

Detailed Description

Viz shape interface.

Public Member Functions

virtual eVizShapeType GetType () const =0
 Get the shape's type. {Property}. More...
 
virtual sVec3f GetMin () const =0
 Get the shape's min. {Property}. More...
 
virtual sVec3f GetMax () const =0
 Get the shape's max. {Property}. More...
 
virtual sVec4f GetSphere () const =0
 Get the shape's sphere. {Property}. More...
 
virtual sMatrixf GetOOBB () const =0
 Get the shape's oobb. {Property}. More...
 
virtual void SetBackfaceCullable (ni::tBool abBackfaceCull)=0
 Set whether the shape can be FULLY backface culled. {Property}. More...
 
virtual ni::tBool GetBackfaceCullable () const =0
 Get whether the shape can be FULLY backface culled. {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 eVizShapeType GetType ( ) const
pure virtual

Get the shape's type. {Property}.

virtual sVec3f GetMin ( ) const
pure virtual

Get the shape's min. {Property}.

virtual sVec3f GetMax ( ) const
pure virtual

Get the shape's max. {Property}.

virtual sVec4f GetSphere ( ) const
pure virtual

Get the shape's sphere. {Property}.

Remarks
Returns a Vec4(center.xyz,radius) vector.
virtual sMatrixf GetOOBB ( ) const
pure virtual

Get the shape's oobb. {Property}.

virtual void SetBackfaceCullable ( ni::tBool  abBackfaceCull)
pure virtual

Set whether the shape can be FULLY backface culled. {Property}.

virtual ni::tBool GetBackfaceCullable ( ) const
pure virtual

Get whether the shape can be FULLY backface culled. {Property}.