Main Page | Class Hierarchy | Class List | Class Members

DVR::Graphics::Utils2D Class Reference

List of all members.

Public Member Functions

 Utils2D ()

Static Public Member Functions

int CoordsToByteIndex (int x, int y, int stride)
byte GetR (int ARGB)
byte GetG (int ARGB)
byte GetB (int ARGB)
byte GetA (int ARGB)
int RGBA (byte R, byte G, byte B, byte A)
int RGB (byte R, byte G, byte B)
int BGRA (byte B, byte G, byte R, byte A)
short LoWord (int n)
short HiWord (int n)
byte LoByte (short n)
byte HiByte (short n)

Detailed Description

Summary description for Utils2D.


Constructor & Destructor Documentation

DVR::Graphics::Utils2D::Utils2D (   )  [inline]
 

Constructor.


Member Function Documentation

int DVR::Graphics::Utils2D::BGRA (  byte  B,
byte  G,
byte  R,
byte  A
)  [inline, static]
 

Creates a color from spec. components. The red component. The green component. The blue component. The alpha component. The created color.

int DVR::Graphics::Utils2D::CoordsToByteIndex (  int  x,
int  y,
int  stride
)  [inline, static]
 

Transforms coords to a byte index. X coordinate. Y coordinate. The stride. The byte index.

byte DVR::Graphics::Utils2D::GetA (  int  ARGB  )  [inline, static]
 

Returns the alpha component of a color. The color to get the component from. The alpha component.

byte DVR::Graphics::Utils2D::GetB (  int  ARGB  )  [inline, static]
 

Returns the blue component of a color. The color to get the component from. The blue component.

byte DVR::Graphics::Utils2D::GetG (  int  ARGB  )  [inline, static]
 

Returns the green component of a color. The color to get the component from. The green component.

byte DVR::Graphics::Utils2D::GetR (  int  ARGB  )  [inline, static]
 

Returns the red component of a color. The color to get the component from. The red component.

byte DVR::Graphics::Utils2D::HiByte (  short  n  )  [inline, static]
 

Returns the high byte from a spec. number. The number. The high byte word.

short DVR::Graphics::Utils2D::HiWord (  int  n  )  [inline, static]
 

Returns the high word from a spec. number. The number. The high word.

byte DVR::Graphics::Utils2D::LoByte (  short  n  )  [inline, static]
 

Returns the low byte from a spec. number. The number. The low byte.

short DVR::Graphics::Utils2D::LoWord (  int  n  )  [inline, static]
 

Returns the low word from a spec. number. The number. The low word.

int DVR::Graphics::Utils2D::RGB (  byte  R,
byte  G,
byte  B
)  [inline, static]
 

Creates a color from spec. components. The red component. The green component. The blue component. The created color.

int DVR::Graphics::Utils2D::RGBA (  byte  R,
byte  G,
byte  B,
byte  A
)  [inline, static]
 

Creates a color from spec. components. The red component. The green component. The blue component. The alpha component. The created color.


The documentation for this class was generated from the following file:
Generated on Tue Nov 30 22:19:43 2004 for DirectVolumeRenderer by doxygen 1.3.6