libHSPlasma
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
plVertexSpan Class Reference

#include <plVertexSpan.h>

Inheritance diagram for plVertexSpan:
plSpan plIcicle plParticleSpan

Public Member Functions

virtual const char * ClassName () const
 plVertexSpan ()
virtual void read (hsStream *S)
virtual void write (hsStream *S)
unsigned int getGroupIdx () const
unsigned int getVBufferIdx () const
unsigned int getCellIdx () const
unsigned int getCellOffset () const
unsigned int getVStartIdx () const
unsigned int getVLength () const
void setGroupIdx (unsigned int idx)
void setVBufferIdx (unsigned int idx)
void setCellIdx (unsigned int idx)
void setCellOffset (unsigned int off)
void setVStartIdx (unsigned int idx)
void setVLength (unsigned int len)
- Public Member Functions inherited from plSpan
 plSpan ()
 plSpan (const plSpan &init)
virtual ~plSpan ()
void prcWrite (pfPrcHelper *prc)
void prcParse (const pfPrcTag *tag)
plKey getFogEnvironment () const
hsMatrix44 getLocalToWorld () const
hsMatrix44 getWorldToLocal () const
unsigned short getSubType () const
unsigned int getMaterialIdx () const
unsigned char getNumMatrices () const
unsigned int getProps () const
unsigned int getBaseMatrix () const
unsigned short getMaxBoneIdx () const
unsigned short getPenBoneIdx () const
unsigned short getLocalUVWChans () const
float getMinDist () const
float getMaxDist () const
float getWaterHeight () const
const hsBounds3ExtgetLocalBounds () const
const hsBounds3ExtgetWorldBounds () const
void setFogEnvironment (plKey fog)
void setLocalToWorld (hsMatrix44 l2w)
void setWorldToLocal (hsMatrix44 w2l)
void setSubType (unsigned short type)
void setMaterialIdx (unsigned int idx)
void setNumMatrices (unsigned char mats)
void setProps (unsigned int props)
void setBaseMatrix (unsigned int mat)
void setMaxBoneIdx (unsigned short idx)
void setPenBoneIdx (unsigned short idx)
void setLocalUVWChans (unsigned short chans)
void setMinDist (float dist)
void setMaxDist (float dist)
void setWaterHeight (float height)
void setLocalBounds (const hsBounds3Ext &bounds)
void setWorldBounds (const hsBounds3Ext &bounds)
const std::vector< plKey > & getPermaLights () const
std::vector< plKey > & getPermaLights ()
void addPermaLight (plKey light)
void delPermaLight (size_t idx)
void clearPermaLights ()
const std::vector< plKey > & getPermaProjs () const
std::vector< plKey > & getPermaProjs ()
void addPermaProj (plKey proj)
void delPermaProj (size_t idx)
void clearPermaProjs ()

Public Attributes

unsigned int fGroupIdx
unsigned int fVBufferIdx
unsigned int fCellIdx
unsigned int fCellOffset
unsigned int fVStartIdx
unsigned int fVLength

Protected Member Functions

virtual void IPrcWrite (pfPrcHelper *prc)
virtual void IPrcParse (const pfPrcTag *tag)

Additional Inherited Members

- Public Types inherited from plSpan
enum  {
  kLiteMaterial = 0x0, kPropNoDraw = 0x1, kPropNoShadowCast = 0x2, kPropFacesSortable = 0x4,
  kPropVolatile = 0x8, kWaterHeight = 0x10, kPropRunTimeLight = 0x20, kPropReverseSort = 0x40,
  kPropHasPermaLights = 0x80, kPropHasPermaProjs = 0x100, kLiteVtxPreshaded = 0x200, kLiteVtxNonPreshaded = 0x400,
  kLiteProjection = 0x800, kLiteShadowErase = 0x1000, kLiteShadow = 0x2000, kPropMatHasSpecular = 0x10000,
  kPropProjAsVtx = 0x20000, kPropSkipProjection = 0x40000, kPropNoShadow = 0x80000, kPropForceShadow = 0x100000,
  kPropDisableNormal = 0x200000, kPropCharacter = 0x400000, kPartialSort = 0x800000, kVisLOS = 0x1000000
}
enum  plSpanType {
  kSpan = 0x0, kVertexSpan = 0x1, kIcicleSpan = 0x2, kNullSpan = 0x4,
  kParticleSpan = 0x8, kParticleSet = 0x10
}
- Static Public Member Functions inherited from plSpan
static uint32_t deswizzleGeoFlags (uint32_t flags)
static uint32_t swizzleGeoFlags (uint32_t flags)
- Protected Attributes inherited from plSpan
unsigned short fSubType
unsigned int fMaterialIdx
hsMatrix44 fLocalToWorld
hsMatrix44 fWorldToLocal
unsigned int fBaseMatrix
unsigned char fNumMatrices
unsigned short fLocalUVWChans
unsigned short fMaxBoneIdx
unsigned short fPenBoneIdx
unsigned int fProps
hsBounds3Ext fLocalBounds
hsBounds3Ext fWorldBounds
plKey fFogEnvironment
float fMinDist
float fMaxDist
float fWaterHeight
std::vector< plKeyfPermaLights
std::vector< plKeyfPermaProjs

Constructor & Destructor Documentation

plVertexSpan::plVertexSpan ( )

Member Function Documentation

virtual const char* plVertexSpan::ClassName ( ) const
virtual

Reimplemented from plSpan.

Reimplemented in plParticleSpan, and plIcicle.

unsigned int plVertexSpan::getCellIdx ( ) const
unsigned int plVertexSpan::getCellOffset ( ) const
unsigned int plVertexSpan::getGroupIdx ( ) const
unsigned int plVertexSpan::getVBufferIdx ( ) const
unsigned int plVertexSpan::getVLength ( ) const
unsigned int plVertexSpan::getVStartIdx ( ) const
virtual void plVertexSpan::IPrcParse ( const pfPrcTag tag)
protectedvirtual

Reimplemented from plSpan.

Reimplemented in plParticleSpan, and plIcicle.

virtual void plVertexSpan::IPrcWrite ( pfPrcHelper prc)
protectedvirtual

Reimplemented from plSpan.

Reimplemented in plParticleSpan, and plIcicle.

virtual void plVertexSpan::read ( hsStream S)
virtual

Reimplemented from plSpan.

Reimplemented in plParticleSpan, and plIcicle.

void plVertexSpan::setCellIdx ( unsigned int  idx)
void plVertexSpan::setCellOffset ( unsigned int  off)
void plVertexSpan::setGroupIdx ( unsigned int  idx)
void plVertexSpan::setVBufferIdx ( unsigned int  idx)
void plVertexSpan::setVLength ( unsigned int  len)
void plVertexSpan::setVStartIdx ( unsigned int  idx)
virtual void plVertexSpan::write ( hsStream S)
virtual

Reimplemented from plSpan.

Reimplemented in plParticleSpan, and plIcicle.

Member Data Documentation

unsigned int plVertexSpan::fCellIdx
unsigned int plVertexSpan::fCellOffset
unsigned int plVertexSpan::fGroupIdx
unsigned int plVertexSpan::fVBufferIdx
unsigned int plVertexSpan::fVLength
unsigned int plVertexSpan::fVStartIdx

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