libHSPlasma
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
plSpan Class Reference

#include <plSpan.h>

Inheritance diagram for plSpan:
plVertexSpan plIcicle plParticleSpan

Public Types

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
}

Public Member Functions

virtual const char * ClassName () const
 plSpan ()
 plSpan (const plSpan &init)
virtual ~plSpan ()
virtual void read (hsStream *S)
virtual void write (hsStream *S)
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 ()

Static Public Member Functions

static uint32_t deswizzleGeoFlags (uint32_t flags)
static uint32_t swizzleGeoFlags (uint32_t flags)

Protected Member Functions

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

Protected Attributes

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

Member Enumeration Documentation

anonymous enum
Enumerator:
kLiteMaterial 
kPropNoDraw 
kPropNoShadowCast 
kPropFacesSortable 
kPropVolatile 
kWaterHeight 
kPropRunTimeLight 
kPropReverseSort 
kPropHasPermaLights 
kPropHasPermaProjs 
kLiteVtxPreshaded 
kLiteVtxNonPreshaded 
kLiteProjection 
kLiteShadowErase 
kLiteShadow 
kPropMatHasSpecular 
kPropProjAsVtx 
kPropSkipProjection 
kPropNoShadow 
kPropForceShadow 
kPropDisableNormal 
kPropCharacter 
kPartialSort 
kVisLOS 
Enumerator:
kSpan 
kVertexSpan 
kIcicleSpan 
kNullSpan 
kParticleSpan 
kParticleSet 

Constructor & Destructor Documentation

plSpan::plSpan ( )
plSpan::plSpan ( const plSpan init)
virtual plSpan::~plSpan ( )
virtual

Member Function Documentation

void plSpan::addPermaLight ( plKey  light)
void plSpan::addPermaProj ( plKey  proj)
virtual const char* plSpan::ClassName ( ) const
virtual

Reimplemented in plParticleSpan, plIcicle, and plVertexSpan.

void plSpan::clearPermaLights ( )
void plSpan::clearPermaProjs ( )
void plSpan::delPermaLight ( size_t  idx)
void plSpan::delPermaProj ( size_t  idx)
static uint32_t plSpan::deswizzleGeoFlags ( uint32_t  flags)
static
unsigned int plSpan::getBaseMatrix ( ) const
plKey plSpan::getFogEnvironment ( ) const
const hsBounds3Ext& plSpan::getLocalBounds ( ) const
hsMatrix44 plSpan::getLocalToWorld ( ) const
unsigned short plSpan::getLocalUVWChans ( ) const
unsigned int plSpan::getMaterialIdx ( ) const
unsigned short plSpan::getMaxBoneIdx ( ) const
float plSpan::getMaxDist ( ) const
float plSpan::getMinDist ( ) const
unsigned char plSpan::getNumMatrices ( ) const
unsigned short plSpan::getPenBoneIdx ( ) const
const std::vector<plKey>& plSpan::getPermaLights ( ) const
std::vector<plKey>& plSpan::getPermaLights ( )
const std::vector<plKey>& plSpan::getPermaProjs ( ) const
std::vector<plKey>& plSpan::getPermaProjs ( )
unsigned int plSpan::getProps ( ) const
unsigned short plSpan::getSubType ( ) const
float plSpan::getWaterHeight ( ) const
const hsBounds3Ext& plSpan::getWorldBounds ( ) const
hsMatrix44 plSpan::getWorldToLocal ( ) const
virtual void plSpan::IPrcParse ( const pfPrcTag tag)
protectedvirtual

Reimplemented in plParticleSpan, plIcicle, and plVertexSpan.

virtual void plSpan::IPrcWrite ( pfPrcHelper prc)
protectedvirtual

Reimplemented in plParticleSpan, plIcicle, and plVertexSpan.

void plSpan::prcParse ( const pfPrcTag tag)
void plSpan::prcWrite ( pfPrcHelper prc)
virtual void plSpan::read ( hsStream S)
virtual

Reimplemented in plParticleSpan, plIcicle, and plVertexSpan.

void plSpan::setBaseMatrix ( unsigned int  mat)
void plSpan::setFogEnvironment ( plKey  fog)
void plSpan::setLocalBounds ( const hsBounds3Ext bounds)
void plSpan::setLocalToWorld ( hsMatrix44  l2w)
void plSpan::setLocalUVWChans ( unsigned short  chans)
void plSpan::setMaterialIdx ( unsigned int  idx)
void plSpan::setMaxBoneIdx ( unsigned short  idx)
void plSpan::setMaxDist ( float  dist)
void plSpan::setMinDist ( float  dist)
void plSpan::setNumMatrices ( unsigned char  mats)
void plSpan::setPenBoneIdx ( unsigned short  idx)
void plSpan::setProps ( unsigned int  props)
void plSpan::setSubType ( unsigned short  type)
void plSpan::setWaterHeight ( float  height)
void plSpan::setWorldBounds ( const hsBounds3Ext bounds)
void plSpan::setWorldToLocal ( hsMatrix44  w2l)
static uint32_t plSpan::swizzleGeoFlags ( uint32_t  flags)
static
virtual void plSpan::write ( hsStream S)
virtual

Reimplemented in plParticleSpan, plIcicle, and plVertexSpan.

Member Data Documentation

unsigned int plSpan::fBaseMatrix
protected
plKey plSpan::fFogEnvironment
protected
hsBounds3Ext plSpan::fLocalBounds
protected
hsMatrix44 plSpan::fLocalToWorld
protected
unsigned short plSpan::fLocalUVWChans
protected
unsigned int plSpan::fMaterialIdx
protected
unsigned short plSpan::fMaxBoneIdx
protected
float plSpan::fMaxDist
protected
float plSpan::fMinDist
protected
unsigned char plSpan::fNumMatrices
protected
unsigned short plSpan::fPenBoneIdx
protected
std::vector<plKey> plSpan::fPermaLights
protected
std::vector<plKey> plSpan::fPermaProjs
protected
unsigned int plSpan::fProps
protected
unsigned short plSpan::fSubType
protected
float plSpan::fWaterHeight
protected
hsBounds3Ext plSpan::fWorldBounds
protected
hsMatrix44 plSpan::fWorldToLocal
protected

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