# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CLodCharacterTmpBitmap Class Reference

This bitmap is builded in the Instance texturing build process of CLodCharacterManager. More...

#include <lod_character_manager.h>

List of all members.

Public Methods

 CLodCharacterTmpBitmap ()
void reset ()
void build (const NLMISC::CBitmap &bmp)
 build from a bitmap (NB: converted internally). More...

void build (CRGBA col)
CRGBA getPixel (uint8 U, uint8 V)

Private Attributes

NLMISC::CObjectVector< CRGBA > _Bitmap
uint _WidthPower
uint _UShift
uint _VShift


Detailed Description

This bitmap is builded in the Instance texturing build process of CLodCharacterManager.

Definition at line 65 of file lod_character_manager.h.


Constructor & Destructor Documentation

NL3D::CLodCharacterTmpBitmap::CLodCharacterTmpBitmap  
 

Definition at line 616 of file lod_character_manager.cpp.

References reset.


Member Function Documentation

void NL3D::CLodCharacterTmpBitmap::build CRGBA    col
 

Definition at line 659 of file lod_character_manager.cpp.

References _Bitmap, and reset.

void NL3D::CLodCharacterTmpBitmap::build const NLMISC::CBitmap   bmp
 

build from a bitmap (NB: converted internally).

Should be not so big (eg:64*64). Width and height must be <=256

Definition at line 633 of file lod_character_manager.cpp.

References _Bitmap, _UShift, _VShift, _WidthPower, NLMISC::CBitmap::convertToType, NLMISC::CBitmap::getHeight, NLMISC::getPowerOf2, NLMISC::CObjectVector< CRGBA >::getPtr, NLMISC::CBitmap::getWidth, height, nlassert, NLMISC::CObjectVector< CRGBA >::resize, src, and width.

CRGBA NL3D::CLodCharacterTmpBitmap::getPixel uint8    U,
uint8    V
[inline]
 

Definition at line 80 of file lod_character_manager.h.

References _Bitmap, _UShift, _VShift, and _WidthPower.

void NL3D::CLodCharacterTmpBitmap::reset  
 

Definition at line 622 of file lod_character_manager.cpp.

References _Bitmap, _UShift, _VShift, _WidthPower, and NLMISC::CObjectVector< CRGBA >::resize.

Referenced by build, and CLodCharacterTmpBitmap.


Member Data Documentation

NLMISC::CObjectVector<CRGBA> NL3D::CLodCharacterTmpBitmap::_Bitmap [private]
 

Definition at line 90 of file lod_character_manager.h.

Referenced by build, getPixel, and reset.

uint NL3D::CLodCharacterTmpBitmap::_UShift [private]
 

Definition at line 94 of file lod_character_manager.h.

Referenced by build, getPixel, and reset.

uint NL3D::CLodCharacterTmpBitmap::_VShift [private]
 

Definition at line 94 of file lod_character_manager.h.

Referenced by build, getPixel, and reset.

uint NL3D::CLodCharacterTmpBitmap::_WidthPower [private]
 

Definition at line 92 of file lod_character_manager.h.

Referenced by build, getPixel, and reset.


The documentation for this class was generated from the following files: