3ds Max C++ API Reference
Loading...
Searching...
No Matches
BitmapFilter Class Referenceabstract

#include <C:/adskgit/3dsmax/3dsmax/3dswin/src/maxsdk/include/bitmap.h>

Inheritance diagram for BitmapFilter:

Public Member Functions

BMMExport BitmapFilter ()
virtual BMMExport ~BitmapFilter ()
DWORD Flags ()
void SetFlag (DWORD flag)
void ToggleFlag (DWORD flag)
void ClearFlag (DWORD flag)
UINT Type ()
void SetType (UINT t)
BMMExport int Initialize (BitmapManager *m, BitmapStorage *s)
virtual int GetFiltered (float u, float v, float du, float dv, BMM_Color_64 *ptr)=0
virtual int GetFiltered (float u, float v, float du, float dv, BMM_Color_fl *ptr)=0
virtual void Free ()
BMMExport int Connect ()
BMMExport int Disconnect ()
BMMExport int SetStorage (BitmapStorage *pstorage)
BitmapStorageGetStorage ()
void MakeDirty ()

Protected Attributes

UINT usageCount = 0
BitmapManagermanager = nullptr
BitmapStoragestorage = nullptr
DWORD flags = 0
int dirty = 0
UINT type = 0

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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator.
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator.
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary.
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary.
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc.
static UtilExport voidmalloc_nullchecked (size_t size)
 Allocates memory via malloc without invoking 3dsmax's out of memory handler with potential CER.
static UtilExport voidcalloc_nullchecked (size_t num, size_t size)
 Allocates memory via calloc without invoking 3dsmax's out of memory handler with potential CER.
static UtilExport voidrealloc_nullchecked (void *memblock, size_t size)
 Reallocates memory via realloc without invoking 3dsmax's out of memory handler with potential CER.
static UtilExport voidLocalAlloc_nullchecked (unsigned int uFlags, size_t size)
 Allocates memory via LocalAlloc without invoking 3dsmax's out of memory handler with potential CER.

Constructor & Destructor Documentation

◆ BitmapFilter()

◆ ~BitmapFilter()

virtual BMMExport ~BitmapFilter ( )
virtual

Member Function Documentation

◆ Flags()

DWORD Flags ( )
inline
3794{ return flags; };
DWORD flags
Definition bitmap.h:3785

◆ SetFlag()

void SetFlag ( DWORD flag)
inline
3795{ flags |= flag; dirty = 1; };
int dirty
Definition bitmap.h:3786

◆ ToggleFlag()

void ToggleFlag ( DWORD flag)
inline
3796{ flags ^= flag; dirty = 1; };

◆ ClearFlag()

void ClearFlag ( DWORD flag)
inline
3797{ flags &= (~flag); dirty = 1; };

◆ Type()

UINT Type ( )
inline
3798{ return type; };
UINT type
Definition bitmap.h:3787

◆ SetType()

void SetType ( UINT t)
inline
3799{ type = t; };

◆ Initialize()

BMMExport int Initialize ( BitmapManager * m,
BitmapStorage * s )

◆ GetFiltered() [1/2]

virtual int GetFiltered ( float u,
float v,
float du,
float dv,
BMM_Color_64 * ptr )
pure virtual

◆ GetFiltered() [2/2]

virtual int GetFiltered ( float u,
float v,
float du,
float dv,
BMM_Color_fl * ptr )
pure virtual

◆ Free()

virtual void Free ( )
inlinevirtual
3804{};

◆ Connect()

BMMExport int Connect ( )

◆ Disconnect()

BMMExport int Disconnect ( )

◆ SetStorage()

BMMExport int SetStorage ( BitmapStorage * pstorage)

◆ GetStorage()

BitmapStorage * GetStorage ( )
inline
3809{ return storage; };
BitmapStorage * storage
Definition bitmap.h:3784

◆ MakeDirty()

void MakeDirty ( )
inline
3810{ dirty = 1; };

Member Data Documentation

◆ usageCount

UINT usageCount = 0
protected

◆ manager

BitmapManager* manager = nullptr
protected

◆ storage

BitmapStorage* storage = nullptr
protected

◆ flags

DWORD flags = 0
protected

◆ dirty

int dirty = 0
protected

◆ type

UINT type = 0
protected