#include <OMKEntityMaterialAction.h>
Inheritance diagram for OMK::Vis::MaterialRemovePickUDO:
Public Member Functions | |
MaterialRemovePickUDO () | |
The contructor. | |
virtual | ~MaterialRemovePickUDO () |
Destructor. | |
Private Member Functions | |
virtual bool | entityAction (EntityMaterial *entity) const |
The action calls the appropriate function. |
Definition at line 198 of file OMKEntityMaterialAction.h.
OMK::Vis::MaterialRemovePickUDO::MaterialRemovePickUDO | ( | ) | [inline] |
virtual OMK::Vis::MaterialRemovePickUDO::~MaterialRemovePickUDO | ( | ) | [inline, virtual] |
bool MaterialRemovePickUDO::entityAction | ( | EntityMaterial * | entity | ) | const [private, virtual] |
The action calls the appropriate function.
Reimplemented from OMK::Vis::IMaterialAction.
Definition at line 179 of file OMKEntityMaterialAction.cpp.
References OMK::Vis::EntityMaterial::getOgreEntity(), and OMTRACEID.
00180 { 00181 // look for a PickUDO 00182 PickUDO* udo = dynamic_cast< PickUDO* >( entity->getOgreEntity()->getUserObject() ) ; 00183 // it is a PickUDO => delete it 00184 delete udo; 00185 OMTRACEID( "UDO", "removing PickUDO" ); 00186 return false ; 00187 }
Documentation generated on Mon Jun 9 11:46:05 2008 |
Generated with doxygen by Dimitri van Heesch , 1997-2007 |