TriObjectNormalXTC Class Reference

TriObjectNormalXTC Class Reference

#include <triobj.h>

+ Inheritance diagram for TriObjectNormalXTC:

Public Member Functions

 TriObjectNormalXTC ()
 
Class_ID ExtensionID ()
 
CoreExport XTCObjectClone ()
 
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 ()
 
- Public Member Functions inherited from XTCObject
virtual ChannelMask ChannelsUsed ()
 
virtual int Display (TimeValue t, INode *inode, ViewExp *vpt, int flags, Object *pObj)
 
virtual BOOL SuspendObjectDisplay ()
 
virtual void MaybeEnlargeViewportRect (GraphicsWindow *gw, Rect &rect)
 
virtual bool RemoveXTCObjectOnMergeBranches (Object *obFrom, Object *obTo)
 
virtual bool MergeXTCObject (Object *obFrom, Object *obTo, int prio, int branchID)
 
virtual bool RemoveXTCObjectOnBranchDeleted (Object *ComObj, int branchID, bool branchWillBeReordered)
 
- Public Member Functions inherited from InterfaceServer
virtual UtilExport ~InterfaceServer ()
 Destructor. More...
 
virtual UtilExport BaseInterfaceGetInterface (Interface_ID id)
 

Additional Inherited Members

- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 

Constructor & Destructor Documentation

TriObjectNormalXTC ( )
inline
297 { }

Member Function Documentation

Class_ID ExtensionID ( )
inlinevirtual
Remarks
This method returns the unique identifier for the object.

Implements XTCObject.

299 { return kTriObjNormalXTCID; }
const Class_ID kTriObjNormalXTCID
Definition: triobj.h:290
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 ( )
inlinevirtual
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.

302 { return TOPO_CHANNEL|GEOM_CHANNEL; }
const ChannelMask GEOM_CHANNEL
The vertices of the object.
Definition: channels.h:47
const ChannelMask TOPO_CHANNEL
The topology channel - the face or polygon structures.
Definition: channels.h:44
ChannelMask ChannelsChanged ( )
inlinevirtual
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.

303 { 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.