TriObjectNormalXTC Class Reference
 
 
 
TriObjectNormalXTC Class Reference

#include <triobj.h>

Inheritance diagram for TriObjectNormalXTC:
XTCObject InterfaceServer MaxHeapOperators

Public Member Functions

  TriObjectNormalXTC ()
Class_ID  ExtensionID ()
CoreExport XTCObject Clone ()
ChannelMask  DependsOn ()
ChannelMask  ChannelsChanged ()
CoreExport void  PreChanChangedNotify (TimeValue t, ModContext &mc, ObjectState *os, INode *node, Modifier *mod, bool bEndOfPipeline)
CoreExport void  PostChanChangedNotify (TimeValue t, ModContext &mc, ObjectState *os, INode *node, Modifier *mod, bool bEndOfPipeline)
CoreExport void  DeleteThis ()

Constructor & Destructor Documentation

TriObjectNormalXTC ( ) [inline]
{ }

Member Function Documentation

Class_ID ExtensionID ( ) [inline, virtual]
Remarks:
This method returns the unique identifier for the object.

Implements XTCObject.

{ return kTriObjNormalXTCID; }
CoreExport XTCObject* Clone ( ) [virtual]
Remarks:
This method is called to create a cloned copy of the object. The object should create a copy of itself and return a pointer to it.

Implements XTCObject.

ChannelMask DependsOn ( ) [inline, virtual]
Remarks:
This method returns a ChannelMask which specifies the channels that the XTCObject depends on. If a modifier changes a channel that a XTCObject depends on, its PreChanChangedNotify() and PostChanChangedNotify() methods will be called.
Returns:
See Object Channels.
Default Implementation:
{ return 0; }

Reimplemented from XTCObject.

{ return PART_TOPO|PART_GEOM; }
ChannelMask ChannelsChanged ( ) [inline, virtual]
Remarks:
This method returns a ChannelMask which specifies the channels that the extension object changes in the PreChanChangedNotify() and PostChanChangedNotify() methods.
Returns:
See Object Channels.
Default Implementation:
{ return 0; }

Reimplemented from XTCObject.

{ return 0; }
CoreExport void PreChanChangedNotify ( TimeValue  t,
ModContext mc,
ObjectState os,
INode node,
Modifier mod,
bool  bEndOfPipeline 
) [virtual]
Remarks:
This method is called before a modifier is applied that changes a channel that the XTCObject depends on.
Parameters:
TimeValue t

The time at which the channel will be modified.

ModContext &mc

The modifier context.

ObjectState* os

The objectstate of the object.

INode *node

A pointer to the node.

Modifier *mod

A pointer to the modifier being applied.

bool bEndOfPipeline

TRUE to indicate that this is the last change before the wsCache.
Default Implementation:
{ }

Reimplemented from XTCObject.

CoreExport void PostChanChangedNotify ( TimeValue  t,
ModContext mc,
ObjectState os,
INode node,
Modifier mod,
bool  bEndOfPipeline 
) [virtual]
Remarks:
This method will be called after a modifier is applied that changes a channel that the XTC object depends on.
Parameters:
TimeValue t

The time at which the channel will be modified.

ModContext &mc

The modifier context.

ObjectState* os

The objectstate of the object.

INode *node

A pointer to the node.

Modifier *mod

A pointer to the modifier being applied.

bool bEndOfPipeline

TRUE to indicate that this is the last change before the wsCache.
Default Implementation:
{ }

Reimplemented from XTCObject.

CoreExport void DeleteThis ( ) [virtual]
Remarks:
This method is called to delete the extension object.

Implements XTCObject.