#include <OMKMaterial.h>
Inheritance diagram for OMK::Vis::NodeMaterialCopy:
Public Member Functions | |
NodeMaterialCopy (NodeMaterial *node, IUpdateMaterial *update) | |
virtual | ~NodeMaterialCopy () |
Definition at line 194 of file OMKMaterial.h.
NodeMaterialCopy::NodeMaterialCopy | ( | NodeMaterial * | node, | |
IUpdateMaterial * | update | |||
) |
Definition at line 347 of file OMKMaterial.cpp.
References OMK::Vis::NodeMaterial::_entities, and OMK::Vis::NodeMaterial::getEntityMaterialIterator().
00348 : NodeMaterial() 00349 { 00350 for( EntityMaterialIterator it = node->getEntityMaterialIterator() ; 00351 it.hasMoreElements() ; 00352 it.moveNext() ) 00353 { 00354 _entities[ it.peekNextKey() ] = new EntityMaterialCopy( it.peekNextValue(), update ) ; 00355 } 00356 }
NodeMaterialCopy::~NodeMaterialCopy | ( | ) | [virtual] |
Documentation generated on Mon Jun 9 11:46:05 2008 |
Generated with doxygen by Dimitri van Heesch , 1997-2007 |