ShapeContextCallback Class Reference
 
 
 
ShapeContextCallback Class Reference

#include <shape.h>

Inheritance diagram for ShapeContextCallback:
MaxHeapOperators

Class Description

See also:
Class BezierShape, Class ModContext.

Description:
This class has a method used for retrieving other shapes in the current editing context. This class provides a way for the BezierShape::PerformTrimOrExtend method to access the shapes being trimmed.

Public Member Functions

virtual BezierShape GetShapeContext (ModContext *context)=0

Member Function Documentation

virtual BezierShape* GetShapeContext ( ModContext context ) [pure virtual]
Remarks:
This method will be called with a ModContext pointer; the function should return the shape for that context. This is only used in modifier applications, where more than one shape object is being modified. See /MAXSDK/SAMPLES/MODIFIERS/EDITSPL.CPP for an example of its use.
Parameters:
ModContext *context

Points to the ModContext for the shape the modifier is applied to.
Returns:
A pointer to the BezierShape for the context.