This reference page is linked to from the following overview topics: Simple Modifiers, Using a Deformer.
The callback object used by modifiers to deform "Deformable" objects.
#include <object.h>
Public Member Functions |
|
virtual | ~Deformer () |
Destructor. |
|
virtual Point3 | Map (int i, Point3 p)=0 |
This is the method that is called to deform
or alter a single point. |
|
void | ApplyToTM (Matrix3 *tm) |
virtual ~Deformer | ( | ) | [inline, virtual] |
Destructor.
{ }
This is the method that is called to deform or alter a single point.
Note that this method needs to be thread safe. A problem may occur when a non-local variable is modified inside of Map(). Since two versions of Map() could be executing at the same time, they could both end up modifying the same variable simultaneously which usually causes problems. See the Advanced Topics section Thread Safe Plug-Ins for more details.
i | The index of the point to be altered. Note: An index of -1 may be passed. This indicates that the deformer is not being applied to a regular object but instead points that are generated on the fly for display purposes. |
p | The point to be altered. |
void ApplyToTM | ( | Matrix3 * | tm | ) |