NL3D::CLodCharacterTexture Class Reference

#include <lod_character_texture.h>


Detailed Description

This describe Texturing information for CLods. It is stored in .shape.
Author:
Lionel Berenguier

Nevrax France

Date:
2002

Definition at line 51 of file lod_character_texture.h.

Public Member Functions

 CLodCharacterTexture ()
 Constructor.

uint getHeight () const
uint getWidth () const
void serial (NLMISC::IStream &f)

Data Fields

std::vector< CTUVQTexture

Private Attributes

uint32 _Height
uint32 _Width


Constructor & Destructor Documentation

NL3D::CLodCharacterTexture::CLodCharacterTexture  ) 
 

Constructor.

Definition at line 35 of file lod_character_texture.cpp.

References NL3D_CLOD_TEXT_HEIGHT, and NL3D_CLOD_TEXT_WIDTH.

00036 {
00037         _Width= NL3D_CLOD_TEXT_WIDTH;
00038         _Height= NL3D_CLOD_TEXT_HEIGHT;
00039 }


Member Function Documentation

uint NL3D::CLodCharacterTexture::getHeight  )  const [inline]
 

Definition at line 80 of file lod_character_texture.h.

References uint.

00080 {return _Height;}

uint NL3D::CLodCharacterTexture::getWidth  )  const [inline]
 

Definition at line 79 of file lod_character_texture.h.

References uint.

00079 {return _Width;}

void NL3D::CLodCharacterTexture::serial NLMISC::IStream f  ) 
 

Definition at line 43 of file lod_character_texture.cpp.

References NLMISC::IStream::serial(), NLMISC::IStream::serialCont(), NLMISC::IStream::serialVersion(), and sint.

00044 {
00045         sint    ver= f.serialVersion(0);
00046 
00047         f.serial(_Width, _Height);
00048         f.serialCont(Texture);
00049 }


Field Documentation

uint32 NL3D::CLodCharacterTexture::_Height [private]
 

Definition at line 87 of file lod_character_texture.h.

uint32 NL3D::CLodCharacterTexture::_Width [private]
 

Definition at line 87 of file lod_character_texture.h.

std::vector<CTUVQ> NL3D::CLodCharacterTexture::Texture
 

Definition at line 73 of file lod_character_texture.h.

Referenced by NL3D::CLodCharacterManager::addTextureCompute().


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 06:50:05 2004 for NeL by doxygen 1.3.6