HBitmapNode Class Reference

#include <HBitmap.h>

Inheritance diagram for HBitmapNode:

Inheritance graph
[legend]
Collaboration diagram for HBitmapNode:

Collaboration graph
[legend]
List of all members.

Public Types

enum  LoadFlags {
  LOADDEFAULT = 0x0, LOADBKCOLOR = 0x01, LOADINFOONLY = 0x02, INITIALIZE = 0x04,
  NOMODIFIEDCHECK = 0x08
}
enum  { LOAD_FAILED, LOAD_OK, ALREADY_LOADED }
enum  { WRITE_NORESULT = 0, WRITE_ERROR = 0x01, WRITE_OK = 0x02, WRITE_NEEDCLOSE = 0x04 }

Public Member Functions

const int GetWidth ()
const int GetHeight ()
void SetWidth (int width)
void SetHeight (int height)
HBitmapNodeScaleBitmap (int width, int height)
UBYTECreateByteBlock (int *rbytesperpixel, BOOL withborder=FALSE, BOOL *bHasTransparency=NULL)
const LONG GetFps ()
void SetFps (LONG fps)
const int GetLength ()
void SetLength (int length)
void AddBuffer (HBitmapBuffer *)
void DeleteAllBuffers ()
HBitmapBufferGetBufferHead ()
void ReadPixel (int x, int y, RGBFloat &color)
void ReadPixel (int x, int y, RGBAFloat &color)
void ReadPixel (int x, int y, YAFloat &color)
int LoadFrame (const String &filename, int frame=-1, LoadFlags flags=LOADDEFAULT)

Static Public Member Functions

static HYABufferCreateYABuffer (const String &name, HBitmapBuffer::ChannelType chantype, int width, int height)
static HRGBABufferCreateRGBABuffer (const String &name, HBitmapBuffer::ChannelType chantype, int width, int height)
static HRGBBufferCreateRGBBuffer (const String &name, HBitmapBuffer::ChannelType chantype, int width, int height)
static HScalarBufferCreateScalarBuffer (const String &name, HBitmapBuffer::ChannelType chantype, int width, int height)
static HRGBAFloatBufferCreateRGBAFloatBuffer (const String &name, int width, int height)

Detailed Description

Definition at line 103 of file HBitmap.h.


Member Enumeration Documentation

anonymous enum
 

Enumerator:
LOAD_FAILED 
LOAD_OK 
ALREADY_LOADED 

Definition at line 112 of file HBitmap.h.

anonymous enum
 

Enumerator:
WRITE_NORESULT 
WRITE_ERROR 
WRITE_OK 
WRITE_NEEDCLOSE 

Definition at line 114 of file HBitmap.h.

enum HBitmapNode::LoadFlags
 

Enumerator:
LOADDEFAULT 
LOADBKCOLOR 
LOADINFOONLY 
INITIALIZE 
NOMODIFIEDCHECK 

Definition at line 106 of file HBitmap.h.


Member Function Documentation

void HBitmapNode::AddBuffer HBitmapBuffer  ) 
 

UBYTE* HBitmapNode::CreateByteBlock int *  rbytesperpixel,
BOOL  withborder = FALSE,
BOOL *  bHasTransparency = NULL
 

static HRGBABuffer* HBitmapNode::CreateRGBABuffer const String name,
HBitmapBuffer::ChannelType  chantype,
int  width,
int  height
[static]
 

static HRGBAFloatBuffer* HBitmapNode::CreateRGBAFloatBuffer const String name,
int  width,
int  height
[static]
 

static HRGBBuffer* HBitmapNode::CreateRGBBuffer const String name,
HBitmapBuffer::ChannelType  chantype,
int  width,
int  height
[static]
 

static HScalarBuffer* HBitmapNode::CreateScalarBuffer const String name,
HBitmapBuffer::ChannelType  chantype,
int  width,
int  height
[static]
 

static HYABuffer* HBitmapNode::CreateYABuffer const String name,
HBitmapBuffer::ChannelType  chantype,
int  width,
int  height
[static]
 

void HBitmapNode::DeleteAllBuffers  ) 
 

HBitmapBuffer* HBitmapNode::GetBufferHead  ) 
 

const LONG HBitmapNode::GetFps  ) 
 

const int HBitmapNode::GetHeight  ) 
 

const int HBitmapNode::GetLength  ) 
 

const int HBitmapNode::GetWidth  ) 
 

int HBitmapNode::LoadFrame const String filename,
int  frame = -1,
LoadFlags  flags = LOADDEFAULT
 

void HBitmapNode::ReadPixel int  x,
int  y,
YAFloat color
 

void HBitmapNode::ReadPixel int  x,
int  y,
RGBAFloat color
 

void HBitmapNode::ReadPixel int  x,
int  y,
RGBFloat color
 

HBitmapNode* HBitmapNode::ScaleBitmap int  width,
int  height
 

void HBitmapNode::SetFps LONG  fps  ) 
 

void HBitmapNode::SetHeight int  height  ) 
 

void HBitmapNode::SetLength int  length  ) 
 

void HBitmapNode::SetWidth int  width  ) 
 


The documentation for this class was generated from the following file:
This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:46:53 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001