#include <modstack.h>
Public Member Functions |
|
NotifyCollapseEnumProc (bool preCollapse, INode *n, Object *collapsedObj=NULL) | |
virtual PipeEnumResult | proc (ReferenceTarget *object, IDerivedObject *derObj, int index) |
NotifyCollapseEnumProc | ( | bool | preCollapse, |
INode * | n, | ||
Object * | collapsedObj =
NULL |
||
) | [inline] |
: bPreCollapse(preCollapse), node(n), collapsedObject(collapsedObj) {}
virtual PipeEnumResult proc | ( | ReferenceTarget * | object, |
IDerivedObject * | derObj, | ||
int | index | ||
) | [inline, virtual] |
Implements GeomPipelineEnumProc.
{ if(object->ClassID() == Class_ID(BASENODE_CLASS_ID,0)) return PIPE_ENUM_CONTINUE; if(bPreCollapse) ((BaseObject *) object)->NotifyPreCollapse(node, derObj, index); else ((BaseObject *) object)->NotifyPostCollapse(node, collapsedObject, derObj, index); return PIPE_ENUM_CONTINUE; }