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

Visibility and LOD class for agents. More...

#include <GT_AgentSupport.h>

+ Inheritance diagram for GT_AgentVisibility:

Public Member Functions

void setEntries (exint entries)
 
exint entries () const
 
void setVisibility (exint idx, bool visible, fpreal lod=1.0)
 
bool getVisibility (exint idx) const
 
bool getLOD (exint idx, fpreal32 &lod) const
 
void allVisible ()
 
- Public Member Functions inherited from UT_IntrusiveRefCounter< GT_AgentVisibility >
SYS_FORCE_INLINE UT_IntrusiveRefCounter ()
 Default constructor: Sets counter to 0. More...
 
SYS_FORCE_INLINE UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &)
 Copy constructor: Sets counter to 0. More...
 
UT_IntrusiveRefCounteroperator= (const UT_IntrusiveRefCounter &)
 Assignment operator: Does not modify counter. More...
 
SYS_FORCE_INLINE uint32 use_count () const
 Return current counter. More...
 

Additional Inherited Members

- Protected Member Functions inherited from UT_IntrusiveRefCounter< GT_AgentVisibility >
SYS_FORCE_INLINE ~UT_IntrusiveRefCounter ()
 Destructor: Only derived classes can destruct this. More...
 

Detailed Description

Visibility and LOD class for agents.

Definition at line 74 of file GT_AgentSupport.h.

Member Function Documentation

void GT_AgentVisibility::allVisible ( )
inline

Definition at line 93 of file GT_AgentSupport.h.

exint GT_AgentVisibility::entries ( void  ) const
inline

Definition at line 79 of file GT_AgentSupport.h.

bool GT_AgentVisibility::getLOD ( exint  idx,
fpreal32 lod 
) const
inline

Definition at line 87 of file GT_AgentSupport.h.

bool GT_AgentVisibility::getVisibility ( exint  idx) const
inline

Definition at line 84 of file GT_AgentSupport.h.

void GT_AgentVisibility::setEntries ( exint  entries)
inline

Definition at line 78 of file GT_AgentSupport.h.

void GT_AgentVisibility::setVisibility ( exint  idx,
bool  visible,
fpreal  lod = 1.0 
)
inline

Definition at line 81 of file GT_AgentSupport.h.


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