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

#include <RE_Material.h>

+ Inheritance diagram for RE_MaterialAtlas:

Public Member Functions

const RE_MaterialPtrgetDefaultMaterial () const
 
const RE_MaterialPtrgetFactoryMaterial () const
 
bool isDirty (fpreal time) const
 
RE_MaterialPtr get (int material_id) const
 
void add (const RE_MaterialPtr &material)
 
void setDefaultMaterial (const RE_MaterialPtr &material, bool add_list=true)
 
void setFactoryMaterial (const RE_MaterialPtr &material, bool add_list=true)
 
- Public Member Functions inherited from UT_Map< int, RE_MaterialPtr >
 UT_Map (const Hasher &hf=Hasher(), const Equal &eql=Equal())
 
 UT_Map (InputIt first, InputIt last, const Hasher &hf=Hasher(), const Equal &eql=Equal())
 
 UT_Map (std::initializer_list< value_type > init_list)
 
int64 getMemoryUsage (bool inclusive) const
 
bool contains (const key_type &key) const
 Returns true if a value with the key is contained in the map. More...
 
RE_MaterialPtr get (const key_type &key, const RE_MaterialPtr &defval) const
 
void clear ()
 
UT_IteratorRange
< const_key_iterator
key_range () const
 
UT_IteratorRange< mapped_iteratormapped_range ()
 
UT_IteratorRange
< const_mapped_iterator
mapped_range () const
 

Additional Inherited Members

- Public Types inherited from UT_Map< int, RE_MaterialPtr >
typedef hboost::unordered_map
< int, RE_MaterialPtr,
hboost::hash< int >
, std::equal_to< int > > 
Base
 
typedef Base::key_type key_type
 
typedef Base::mapped_type mapped_type
 
typedef Base::value_type value_type
 
typedef Base::hasher hasher
 
typedef Base::key_equal key_equal
 
typedef Base::iterator iterator
 
typedef Base::const_iterator const_iterator
 
typedef hboost::hash< intHasher
 
typedef std::equal_to< intEqual
 
using const_key_iterator = partial_iterator_base< const_iterator, const key_type, deref_pair_first< const_iterator, const key_type >>
 
using mapped_iterator = partial_iterator_base< iterator, mapped_type, deref_pair_second< iterator, mapped_type >>
 
using const_mapped_iterator = partial_iterator_base< const_iterator, const mapped_type, deref_pair_second< const_iterator, const mapped_type >>
 

Detailed Description

Definition at line 1050 of file RE_Material.h.

Member Function Documentation

void RE_MaterialAtlas::add ( const RE_MaterialPtr material)
inline

Definition at line 1076 of file RE_Material.h.

RE_MaterialPtr RE_MaterialAtlas::get ( int  material_id) const
inline

Definition at line 1063 of file RE_Material.h.

const RE_MaterialPtr& RE_MaterialAtlas::getDefaultMaterial ( ) const
inline
Examples:
tetprim/GR_PrimTetra.C.

Definition at line 1054 of file RE_Material.h.

const RE_MaterialPtr& RE_MaterialAtlas::getFactoryMaterial ( ) const
inline
Examples:
tetprim/GR_PrimTetra.C.

Definition at line 1058 of file RE_Material.h.

bool RE_MaterialAtlas::isDirty ( fpreal  time) const
void RE_MaterialAtlas::setDefaultMaterial ( const RE_MaterialPtr material,
bool  add_list = true 
)
inline

Definition at line 1081 of file RE_Material.h.

void RE_MaterialAtlas::setFactoryMaterial ( const RE_MaterialPtr material,
bool  add_list = true 
)
inline

Definition at line 1086 of file RE_Material.h.


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