AutoExtract/AutoExtract.h
Main Page
Topics
Modules
Namespaces
Classes
Files
Examples
AutoExtract/AutoExtract.h
#include <QtGui/QColor>
#include <
Mudbox/mudbox.h
>
#include <
MapExtractor/MapExtractorInterface.h
>
using namespace
mudbox
;
using namespace
mapextractionmodules
;
// The main class in this plug-in is derived from a generic Mudbox Node.
// Nodes can contain attributes, which you can optionally connect to attributes
// of other nodes in Mudbox. If an attribute value changes, all
// the nodes connected to it get a message. In the API Kernel is a list
// of useful "event" attributes that you can connect to, so that your
// custom node is notified when certain things happen.
//
// In this case, our node will be intercepting File events, so that it
// can detect when a Mudbox scene is loaded.
//
class
AutoExtract :
public
Node
{
DECLARE_CLASS
;
virtual
void
OnNodeEvent(
const
Attribute
&,
NodeEventType
);
public
:
AutoExtract(
void
);
aptr<FileEventNotifier> FileEvent;
};