The methods in this class are grouped below.
(Links go to the Bitmap Class Reference page.)
- Misc Methods
- Bitmap::Manager()
- New Methods in Max 8
- Bitmap::Fill(const
BMM_Color_fl& fillColor)
Bitmap::Fill(const
BMM_Color_64& fillColor)
Bitmap::BMMGetBitmapTypeDescription(int bitmapType, DWORD
bitmapFlags)
- Memory Deallocation
- Bitmap::DeleteThis()
- Flag Access
- Bitmap::Flags()
Bitmap::SetFlag(DWORD
flag)
Bitmap::ToggleFlag(DWORD
flag)
Bitmap::ClearFlag(DWORD
flag)
- Bitmap Properties
- The following methods return properties of the bitmap. When
these methods are called, they are passed through to the BitmapStorage instance
maintained by the Bitmap. The BitmapStorage implements these
methods by returning the properties of the BitmapInfo instance maintained by the
storage. Therefore, the values returned from the methods represent
what is returned from the BitmapInfo instance associated with
the Bitmap.
Bitmap::Width()
Bitmap::Height()
Bitmap::Aspect()
Bitmap::Gamma()
Bitmap::Paletted()
Bitmap::IsDithered()
Bitmap::PreMultipliedAlpha()
Bitmap::HasAlpha()
Bitmap::MaxRGBLevel()
Bitmap::MaxAlphaLevel()
= 0
Bitmap::IsHighDynamicRange()
= 0
Bitmap::GoTo(BitmapInfo
*bi)
- Standard Pixel Access Methods.
- Note: The following methods access pixel data one scanline at a
time. Thus x+pixels must be less than the bitmap width.
Bitmap::Get16Gray(int
x,int y,int pixels,float *ptr)
Bitmap::Put16Gray(int
x,int y,int pixels,float *ptr)
Bitmap::GetPixels(int
x,int y,int pixels,BMM_Color_fl *ptr)
Bitmap::PutPixels(int
x,int y,int pixels,BMM_Color_fl *ptr)
Bitmap::GetLinearPixels(int
x,int y,int pixels,BMM_Color_64 *ptr)
Bitmap::GetIndexPixels(int
x,int y,int pixels,BYTE *ptr)
Bitmap::PutIndexPixels(int
x,int y,int pixels,BYTE *ptr)
- Palette Access
- Bitmap::GetPalette(int
start,int count,BMM_Color_48 *ptr)
Bitmap::SetPalette(int
start,int count,BMM_Color_48 *ptr)
- Copying / Cropping Methods
- Bitmap::GetFiltered(float
u, float v, float du, float dv, BMM_Color_fl *ptr)
Bitmap::CopyImage(Bitmap *from,int operation,BMM_Color_fl
fillcolor, BitmapInfo *bi = NULL)
Bitmap::CopyImage(Bitmap
*from,int operation,int fillindex)
Bitmap::ToDib(int
depth = 24, UWORD *gam=NULL, BOOL dither=FALSE)
Bitmap::FromDib(PBITMAPINFO
pbmi)
Bitmap::ResizeImage(int
width,int height,int newpalette)
- Channel Access
- Bitmap::GetChannel(ULONG
channelID, ULONG& chanType)
Bitmap::GetGBuffer()
Bitmap::CreateChannels(ULONG
channelIDs)
Bitmap::DeleteChannels(ULONG
channelIDs)
Bitmap::ChannelsPresent()
Bitmap::GetRenderInfo()
Bitmap::AllocRenderInfo()
Bitmap::PrepareGChannels(BitmapInfo
*bi)
- Filtering / Dithering Methods
- Bitmap::GetFiltered(float
u, float v, float du, float dv, BMM_Color_fl *ptr)
Bitmap::SetFilter(UINT
filterType)
Bitmap::HasFilter()
Bitmap::SetDither(UINT
ditherType)
Bitmap::Filter()
Bitmap::SetStorage(BitmapStorage
*storage)
Bitmap::Storage()
Bitmap::NullStorage()
- Output / Writing / Closing Methods
- Bitmap::OpenOutput(BitmapInfo
*bi)
Bitmap::Write(BitmapInfo *bi, DWORD frame =
BMM_SINGLEFRAME)
Bitmap::WriteAll(DWORD
frame = BMM_SINGLEFRAME)
Bitmap::Close(BitmapInfo *bi, int flag =
BMM_CLOSE_COMPLETE)
Bitmap::CloseAll(int
flag = BMM_CLOSE_COMPLETE)
Bitmap::UseScaleColors(int
on)
Bitmap::ScaleColors()
Bitmap::ClampColor(BMM_Color_64&
out, const BMM_Color_fl& in)
Bitmap::ClampColorA(BMM_Color_64&
out, const BMM_Color_fl& in)
Bitmap::ScaleColor
(BMM_Color_64&
out,
BMM_Color_fl in)
Bitmap::ScaleColorA(BMM_Color_64&
out, const BMM_Color_fl& in)
Bitmap::ClampScaleColor
(BMM_Color_64&
out, const
BMM_Color_fl& in)
Bitmap::ClampScaleColorA
(BMM_Color_64&
out, const
BMM_Color_fl& in)
- Display (Virtual Frame Buffer) Methods
- Bitmap::Display(TCHAR
*title=NULL, int position=BMM_CN, BOOL autonomous=FALSE, BOOL
savebutton=TRUE, CropCallback *crop=NULL, Bitmap *cloneMyVFB = NULL)
Bitmap::UnDisplay()
Bitmap::IsAutonomousVFB()
Bitmap::GetWindow()
Bitmap::RefreshWindow(RECT
*rect = NULL)
Bitmap::SetCroppingValues(float
u, float v, float w, float h, BOOL placeImage)
Bitmap::SetWindowTitle(TCHAR *title)
- Storage Change Notificiation
- Bitmap::SetNotify(BitmapNotify *bmnot=NULL)
Bitmap::GetNotify()
- Execute -- Generic Expansion Method
- Bitmap::Execute(int
cmd, ULONG arg1=0, ULONG arg2=0, ULONG arg3=0)
- Handy built-in functions
- Bitmap::Fill(int
r,int g,int b,int alpha)
Bitmap::Print(bool
silent = false)
Bitmap::ShowProgressLine(int
y)