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

#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.
 

Constructor & Destructor Documentation

◆ BitmapFilter()

◆ ~BitmapFilter()

virtual BMMExport ~BitmapFilter ( )
virtual

Member Function Documentation

◆ Flags()

DWORD Flags ( )
inline
3792{ return flags; };
DWORD flags
Definition: bitmap.h:3783

◆ SetFlag()

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

◆ ToggleFlag()

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

◆ ClearFlag()

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

◆ Type()

UINT Type ( )
inline
3796{ return type; };
UINT type
Definition: bitmap.h:3785

◆ SetType()

void SetType ( UINT  t)
inline
3797{ 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
3802{};

◆ Connect()

BMMExport int Connect ( )

◆ Disconnect()

BMMExport int Disconnect ( )

◆ SetStorage()

BMMExport int SetStorage ( BitmapStorage pstorage)

◆ GetStorage()

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

◆ MakeDirty()

void MakeDirty ( )
inline
3808{ 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