Public Member Functions

ShapeContextCallback Class Reference

Search for all occurrences

Detailed Description

See also:
Class BezierShape, Class ModContext.

Description:
This class is available in release 3.0 and later only.

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.

#include <shape.h>

Inheritance diagram for ShapeContextCallback:
Inheritance graph
[legend]

List of all members.

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.

ShapeContextCallback ShapeContextCallback ShapeContextCallback ShapeContextCallback ShapeContextCallback ShapeContextCallback ShapeContextCallback ShapeContextCallback ShapeContextCallback ShapeContextCallback
ShapeContextCallback ShapeContextCallback ShapeContextCallback ShapeContextCallback ShapeContextCallback ShapeContextCallback ShapeContextCallback ShapeContextCallback ShapeContextCallback ShapeContextCallback