3ds Max C++ API Reference
EditSSCB Class Referenceabstract

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

#include <EditSoftSelectionMode.h>

+ Inheritance diagram for EditSSCB:

Public Member Functions

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

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...
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary. More...
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary. More...
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
 

Detailed 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 overridden 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 ./maxsdk/samples/mesh/EditPolyMod.

Constructor & Destructor Documentation

◆ ~EditSSCB()

virtual CoreExport ~EditSSCB ( )
virtual

virtual deconstructor

Member Function Documentation

◆ DoAccept()

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]tThe current time.

◆ SetFalloff()

virtual void SetFalloff ( TimeValue  t,
float  falloff 
)
pure virtual

Set the falloff.

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

Parameters
[in]tThe current time.
[in]falloffThe soft selection falloff value that should get saved locally.

◆ SetPinch()

virtual void SetPinch ( TimeValue  t,
float  pinch 
)
pure virtual

◆ SetBubble()

virtual void SetBubble ( TimeValue  t,
float  bubble 
)
pure virtual

Set the bubble parameter.

Set the internal, current soft selection bubble value.

Parameters
[in]tThe current time.
[in]bubbleThe soft selection bubble value that should get saved locally.

◆ GetFalloff()

virtual float GetFalloff ( TimeValue  t)
pure virtual

Get the falloff parameter.

Get the internal, current soft selection falloff value.

Parameters
[in]tThe current time.

◆ GetPinch()

virtual float GetPinch ( TimeValue  t)
pure virtual

Get the pinch parameter.

Get the internal, current soft selection pinch value.

Parameters
[in]tThe current time.

◆ GetBubble()

virtual float GetBubble ( TimeValue  t)
pure virtual

Get the bubble parameter.

Get the internal, current soft selection bubble value.

Parameters
[in]tThe current time.