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 () noexcept
 Default constructor: Sets counter to 0. More...
 
SYS_FORCE_INLINE UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept
 Copy constructor: Sets counter to 0. More...
 
UT_IntrusiveRefCounteroperator= (const UT_IntrusiveRefCounter &) noexcept
 Assignment operator: Does not modify counter. More...
 
SYS_FORCE_INLINE uint32 use_count () const noexcept
 Return current counter. More...
 
SYS_FORCE_INLINE bool conditionalAddRef () noexcept
 

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 110 of file GT_AgentSupport.h.

Member Function Documentation

void GT_AgentVisibility::allVisible ( )
inline

Definition at line 129 of file GT_AgentSupport.h.

exint GT_AgentVisibility::entries ( ) const
inline

Definition at line 115 of file GT_AgentSupport.h.

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

Definition at line 123 of file GT_AgentSupport.h.

bool GT_AgentVisibility::getVisibility ( exint  idx) const
inline

Definition at line 120 of file GT_AgentSupport.h.

void GT_AgentVisibility::setEntries ( exint  entries)
inline

Definition at line 114 of file GT_AgentSupport.h.

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

Definition at line 117 of file GT_AgentSupport.h.


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