3ds Max C++ API Reference
|
#include <bitmap.h>
Public Member Functions | |
BMMExport int | IsHighDynamicRange () override |
BMMExport int | StraightCopy (Bitmap *from) override |
BMMExport int | Get16Gray (int x, int y, int pixels, WORD *ptr) override |
BMMExport int | Put16Gray (int x, int y, int pixels, WORD *ptr) override |
BMMExport int | GetLinearPixels (int x, int y, int pixels, BMM_Color_64 *ptr) override |
BMMExport int | GetPixels (int x, int y, int pixels, BMM_Color_64 *ptr) override |
BMMExport int | PutPixels (int x, int y, int pixels, BMM_Color_64 *ptr) override |
BMMExport int | CropImage (int width, int height, BMM_Color_64 fillcolor) override |
BMMExport int | CropImage (int width, int height, int fillindex) override |
BMMExport int | CopyCrop (Bitmap *from, BMM_Color_64 fillcolor) override |
BMMExport int | CopyCrop (Bitmap *from, BMM_Color_fl fillcolor) override |
BMMExport int | CopyScaleLow (Bitmap *from) override |
BMMExport int | CopyScaleHigh (Bitmap *from, HWND hWnd, BMM_Color_64 **buf=nullptr, int w=0, int h=0) override |
BMMExport int | CopyScaleHigh (Bitmap *from, HWND hWnd, BMM_Color_fl **buf=nullptr, int w=0, int h=0) override |
BMMExport int | CopyImage (Bitmap *from, int operation, BMM_Color_64 fillcolor, BitmapInfo *bmInfo=nullptr) override |
BMMExport int | CopyImage (Bitmap *from, int operation, BMM_Color_fl fillcolor, BitmapInfo *bmInfo=nullptr) override |
BMMExport int | CopyImage (Bitmap *from, int operation, int fillindex) override |
BMMExport int | GetFiltered (float u, float v, float du, float dv, BMM_Color_64 *ptr) override |
virtual BMMExport int | Get16Gray (int x, int y, int pixels, WORD *ptr)=0 |
virtual BMMExport int | Get16Gray (int x, int y, int pixels, float *ptr)=0 |
virtual BMMExport int | Put16Gray (int x, int y, int pixels, WORD *ptr)=0 |
virtual BMMExport int | Put16Gray (int x, int y, int pixels, float *ptr)=0 |
virtual BMMExport int | GetLinearPixels (int x, int y, int pixels, BMM_Color_64 *ptr)=0 |
virtual BMMExport int | GetLinearPixels (int x, int y, int pixels, BMM_Color_fl *ptr)=0 |
virtual BMMExport int | GetPixels (int x, int y, int pixels, BMM_Color_64 *ptr)=0 |
virtual BMMExport int | GetPixels (int x, int y, int pixels, BMM_Color_fl *ptr)=0 |
virtual BMMExport int | PutPixels (int x, int y, int pixels, BMM_Color_64 *ptr)=0 |
virtual BMMExport int | PutPixels (int x, int y, int pixels, BMM_Color_fl *ptr)=0 |
virtual BMMExport int | CropImage (int width, int height, BMM_Color_64 fillcolor)=0 |
virtual BMMExport int | CropImage (int width, int height, BMM_Color_fl fillcolor)=0 |
virtual BMMExport int | CropImage (int width, int height, int fillindex)=0 |
virtual BMMExport int | ResizeImage (int width, int height, int newpalette)=0 |
virtual BMMExport int | CopyCrop (Bitmap *from, BMM_Color_64 fillcolor)=0 |
virtual BMMExport int | CopyCrop (Bitmap *from, BMM_Color_fl fillcolor)=0 |
virtual BMMExport int | CopyScaleLow (Bitmap *from)=0 |
virtual BMMExport int | CopyScaleHigh (Bitmap *from, HWND hWnd, BMM_Color_64 **buf=nullptr, int w=0, int h=0)=0 |
virtual BMMExport int | CopyScaleHigh (Bitmap *from, HWND hWnd, BMM_Color_fl **buf=nullptr, int w=0, int h=0)=0 |
virtual BMMExport int | CopyImage (Bitmap *from, int operation, BMM_Color_64 fillcolor, BitmapInfo *bmInfo=nullptr)=0 |
virtual BMMExport int | CopyImage (Bitmap *from, int operation, BMM_Color_fl fillcolor, BitmapInfo *bmInfo=nullptr)=0 |
virtual BMMExport int | CopyImage (Bitmap *from, int operation, int fillindex)=0 |
virtual BMMExport int | GetFiltered (float u, float v, float du, float dv, BMM_Color_64 *ptr)=0 |
virtual BMMExport int | GetFiltered (float u, float v, float du, float dv, BMM_Color_fl *ptr)=0 |
Public Member Functions inherited from BitmapStorage | |
BMMExport | BitmapStorage () |
virtual BMMExport | ~BitmapStorage () |
BMMExport float | SetGamma (float gam) |
int | HasGamma () |
BMMExport void | SetHasGamma (BOOL onOff) |
void | UpdateGammaTable () |
BMMExport UWORD * | GetInputGammaTable () |
BitmapManager * | Manager () |
int | OpenMode () |
int | Width () |
int | Height () |
float | Aspect () |
float | Gamma () |
int | Paletted () |
int | IsDithered () |
int | PreMultipliedAlpha () |
int | HasAlpha () |
void | UseScaleColors (int on) |
int | ScaleColors () |
void | ClampScaleColor (BMM_Color_64 &out, const BMM_Color_fl &in) |
void | ClampScaleColorA (BMM_Color_64 &out, const BMM_Color_fl &in) |
int | UsageCount () |
int | Type () |
int | Flags () |
void | SetFlags (DWORD f) |
void | ClearFlags (DWORD f) |
Clears the given flags. More... | |
virtual BMMExport int | MaxRGBLevel ()=0 |
virtual BMMExport int | MaxAlphaLevel ()=0 |
virtual BMMExport void * | GetStoragePtr (int *bmmType) |
virtual BMMExport void * | GetAlphaPtr (int *bmmType) |
virtual BMMExport void | Scale (WORD *, int, WORD *, int) |
virtual BMMExport void | Scale (float *, int, float *, int) |
virtual BMMExport BOOL | GetSRow (WORD *, int, WORD *, int) |
virtual BMMExport BOOL | GetSRow (float *, int, float *, int) |
virtual BMMExport BOOL | PutSRow (WORD *, int, WORD *, int) |
virtual BMMExport BOOL | PutSRow (float *, int, float *, int) |
virtual BMMExport BOOL | GetSCol (WORD *, WORD *, int, int) |
virtual BMMExport BOOL | GetSCol (float *, float *, int, int) |
virtual BMMExport BOOL | PutSCol (WORD *, WORD *, int, int) |
virtual BMMExport BOOL | PutSCol (float *, float *, int, int) |
virtual BMMExport BOOL | ScaleY (Bitmap *, BMM_Color_64 *, WORD *, WORD *, HWND, int cw=0, int ch=0) |
virtual BMMExport BOOL | ScaleY (Bitmap *, BMM_Color_fl *, float *, float *, HWND, int cw=0, int ch=0) |
virtual BMMExport BOOL | ScaleX (Bitmap *, BMM_Color_64 *, WORD *, WORD *, HWND, int cw=0, int ch=0) |
virtual BMMExport BOOL | ScaleX (Bitmap *, BMM_Color_fl *, float *, float *, HWND, int cw=0, int ch=0) |
virtual BMMExport int | Get16Gray (int x, int y, int pixels, float *ptr)=0 |
virtual BMMExport int | Put16Gray (int x, int y, int pixels, float *ptr)=0 |
virtual BMMExport int | GetLinearPixels (int x, int y, int pixels, BMM_Color_fl *ptr)=0 |
virtual BMMExport int | GetPixels (int x, int y, int pixels, BMM_Color_fl *ptr)=0 |
virtual BMMExport int | PutPixels (int x, int y, int pixels, BMM_Color_fl *ptr)=0 |
virtual BMMExport int | GetIndexPixels (int x, int y, int pixels, unsigned char *ptr)=0 |
virtual BMMExport int | PutIndexPixels (int x, int y, int pixels, unsigned char *ptr)=0 |
virtual BMMExport int | Fill (const BMM_Color_fl &fillColor) |
virtual BMMExport int | Fill (const BMM_Color_64 &fillColor) |
virtual BMMExport int | CropImage (int width, int height, BMM_Color_fl fillcolor)=0 |
virtual BMMExport int | ResizeImage (int width, int height, int newpalette)=0 |
virtual BMMExport int | GetPalette (int start, int count, BMM_Color_48 *ptr)=0 |
virtual BMMExport int | SetPalette (int start, int count, BMM_Color_48 *ptr)=0 |
virtual BMMExport int | GetFiltered (float u, float v, float du, float dv, BMM_Color_fl *ptr)=0 |
virtual BMMExport int | Allocate (BitmapInfo *pbi, BitmapManager *pmanager, int iOpenMode)=0 |
virtual BMMExport int | Connect ()=0 |
virtual BMMExport int | Disconnect ()=0 |
virtual BMMExport int | MapReady ()=0 |
virtual BMMExport int | ClosestColor (BMM_Color_48 color) |
virtual BMMExport int | ClosestColor (int r, int g, int b) |
virtual BMMExport void * | GetChannel (ULONG channelID, ULONG &chanType) |
GBuffer * | GetGBuffer () |
virtual BMMExport ULONG | CreateChannels (ULONG channelIDs) |
virtual BMMExport void | DeleteChannels (ULONG channelIDs) |
virtual BMMExport ULONG | ChannelsPresent () |
BMMExport RenderInfo * | AllocRenderInfo () |
BMMExport RenderInfo * | GetRenderInfo () |
Public Member Functions inherited from BaseInterfaceServer | |
UtilExport BaseInterface * | GetInterface (Interface_ID id) override |
virtual UtilExport int | NumInterfaces () const |
virtual UtilExport BaseInterface * | GetInterfaceAt (int i) const |
virtual UtilExport | ~BaseInterfaceServer () |
Public Member Functions inherited from InterfaceServer | |
virtual UtilExport | ~InterfaceServer () |
Destructor. More... | |
template<class InterfaceType > | |
InterfaceType * | GetTypedInterface () |
Additional Inherited Members | |
Static Public Member Functions inherited from BitmapStorage | |
static void | ClampColor (BMM_Color_64 &out, const BMM_Color_fl &in) |
static void | ClampColorA (BMM_Color_64 &out, const BMM_Color_fl &in) |
static BMMExport void | ScaleColor (BMM_Color_64 &out, BMM_Color_fl in) |
static void | ScaleColorA (BMM_Color_64 &out, const BMM_Color_fl &in) |
Static Public Member Functions inherited from MaxHeapOperators | |
static UtilExport void * | operator new (size_t size) |
Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More... | |
static UtilExport void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | operator new[] (size_t size, int block_type, const char *filename, int line) |
New operator used to allocate arrays of objects. More... | |
static UtilExport void * | operator 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 void * | operator 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 void * | operator 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 void * | operator 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 void * | aligned_malloc (size_t size, size_t alignment) |
Allocates memory on a specified alignment boundary. More... | |
static UtilExport void * | aligned_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... | |
Public Attributes inherited from BitmapStorage | |
BitmapInfo | bi |
MCHAR * | evalString |
Protected Attributes inherited from BitmapStorage | |
int | openMode |
UINT | usageCount |
BitmapManager * | manager |
int | flags |
int | type |
BMM_Color_48 | palette [256] |
int | paletteSlots |
UWORD * | gammaTable |
RenderInfo * | rendInfo |
GBuffer * | gbuffer |
Protected Attributes inherited from BaseInterfaceServer | |
Tab< BaseInterface * > | interfaces |
Implements BitmapStorage.
Implements BitmapStorage.
Implements BitmapStorage.
Implements BitmapStorage.
Implements BitmapStorage.
Implements BitmapStorage.
Implements BitmapStorage.
|
overridevirtual |
Implements BitmapStorage.
Implements BitmapStorage.
|
overridevirtual |
Implements BitmapStorage.
|
overridevirtual |
Implements BitmapStorage.
Implements BitmapStorage.
|
overridevirtual |
Implements BitmapStorage.
|
overridevirtual |
Implements BitmapStorage.
|
overridevirtual |
Implements BitmapStorage.
|
overridevirtual |
Implements BitmapStorage.
Implements BitmapStorage.
|
overridevirtual |
Implements BitmapStorage.