3ds Max C++ API Reference
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
 
BitmapManagermanager
 
BitmapStoragestorage
 
DWORD flags
 
int dirty
 
UINT type
 

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

Constructor & Destructor Documentation

◆ BitmapFilter()

◆ ~BitmapFilter()

virtual BMMExport ~BitmapFilter ( )
virtual

Member Function Documentation

◆ Flags()

DWORD Flags ( )
inline
3553 { return flags; };
DWORD flags
Definition: bitmap.h:3544

◆ SetFlag()

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

◆ ToggleFlag()

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

◆ ClearFlag()

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

◆ Type()

UINT Type ( )
inline
3557 { return type; };
UINT type
Definition: bitmap.h:3546

◆ SetType()

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

◆ Connect()

BMMExport int Connect ( )

◆ Disconnect()

BMMExport int Disconnect ( )

◆ SetStorage()

BMMExport int SetStorage ( BitmapStorage pstorage)

◆ GetStorage()

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

◆ MakeDirty()

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

Member Data Documentation

◆ usageCount

UINT usageCount
protected

◆ manager

BitmapManager* manager
protected

◆ storage

BitmapStorage* storage
protected

◆ flags

DWORD flags
protected

◆ dirty

int dirty
protected

◆ type

UINT type
protected