EditSSCB Class Reference
 
 
 
EditSSCB Class Reference

#include <EditSoftSelectionMode.h>

Inheritance diagram for EditSSCB:
MaxHeapOperators

Class Description

Edit Soft Selection Callback used to control the new Edit Soft Selection Command Mode.

New to 3ds max 2009, the new pure virtual base class, EditSSCB, is to be used to interact with the new Edit Soft Selection CommandMode which let's you interactively set soft selection's falloff, pinch and bubble parameters. The normal use will be to create a subclass of this class which implements the given pure virtual functions and then pass this object it in as a parameter to the EditSSMode constructor.

See also:
EditSSMode. These overriden functions will then be called as the command mode operates. An example of using this command mode may be found in the EditPolyMod project found in ..

Public Member Functions

virtual CoreExport  ~EditSSCB ()
  virtual deconstructor
virtual void  DoAccept (TimeValue t)=0
  Accept an operation.
virtual void  SetFalloff (TimeValue t, float falloff)=0
  Set the pinch parameter.
virtual void  SetPinch (TimeValue t, float pinch)=0
virtual void  SetBubble (TimeValue t, float bubble)=0
  Set the bubble paramter.
virtual float  GetFalloff (TimeValue t)=0
  Get the falloff paramter.
virtual float  GetPinch (TimeValue t)=0
  Get the pinch paramter.
virtual float  GetBubble (TimeValue t)=0
  Get the bubble paramter.

Constructor & Destructor Documentation

virtual CoreExport ~EditSSCB ( ) [virtual]

virtual deconstructor


Member Function Documentation

virtual void DoAccept ( TimeValue  t ) [pure virtual]

Accept an operation.

This operation will be called whenever an operation is finished and the client needs to perform some acceptance operation.

Parameters:
[in] The current time.
virtual void SetFalloff ( TimeValue  t,
float  falloff 
) [pure virtual]

Set the pinch parameter.

Set the internal, current soft selection pinch value.

Parameters:
[in] t The current time. Set the falloff

This operation will be called whenever the falloff needs to be set.

Parameters:
[in] t The current time.
[in] falloff The soft selection falloff value that should get saved locally.
virtual void SetPinch ( TimeValue  t,
float  pinch 
) [pure virtual]
virtual void SetBubble ( TimeValue  t,
float  bubble 
) [pure virtual]

Set the bubble paramter.

Set the internal, current soft selection bubble value.

Parameters:
[in] t The current time.
virtual float GetFalloff ( TimeValue  t ) [pure virtual]

Get the falloff paramter.

Get the internal, current soft selection falloff value.

Parameters:
[in] t The current time.
virtual float GetPinch ( TimeValue  t ) [pure virtual]

Get the pinch paramter.

Get the internal, current soft selection pinch value.

Parameters:
[in] t The current time.
virtual float GetBubble ( TimeValue  t ) [pure virtual]

Get the bubble paramter.

Get the internal, current soft selection bubble value.

Parameters:
[in] t The current time.