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

#include <plPostEffectMod.h>

Inheritance diagram for plPostEffectMod:
plSingleModifier plModifier plSynchedObject hsKeyedObject plCreatable

Public Types

enum  plPostEffectModStates { kEnabled }

Public Member Functions

 plPostEffectMod ()
virtual void read (hsStream *S, plResManager *mgr)
virtual void write (hsStream *S, plResManager *mgr)
const hsBitVectorgetState () const
hsBitVectorgetState ()
float getHither () const
float getYon () const
float getFovX () const
float getFovY () const
plKey getNodeKey () const
hsMatrix44 getDefaultW2C () const
hsMatrix44 getDefaultC2W () const
void setHither (float hither)
void setYon (float yon)
void setFov (float x, float y)
void setNodeKey (plKey node)
void setDefaultW2C (const hsMatrix44 &w2c)
void setDefaultC2W (const hsMatrix44 &c2w)
- Public Member Functions inherited from plSingleModifier
bool getFlag (size_t flag) const
void setFlag (size_t flag, bool value)
virtual size_t getTargetsCount () const
virtual plKey getTarget (size_t) const
virtual void addTarget (plKey target)
virtual void removeTarget (plKey)

Protected Member Functions

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

Protected Attributes

hsBitVector fState
float fHither
float fYon
float fFovX
float fFovY
plKey fNodeKey
hsMatrix44 fDefaultW2C
hsMatrix44 fDefaultC2W
- Protected Attributes inherited from plSingleModifier
hsBitVector fFlags
plKey fTarget

Member Enumeration Documentation

Enumerator:
kEnabled 

Constructor & Destructor Documentation

plPostEffectMod::plPostEffectMod ( )

Member Function Documentation

hsMatrix44 plPostEffectMod::getDefaultC2W ( ) const
hsMatrix44 plPostEffectMod::getDefaultW2C ( ) const
float plPostEffectMod::getFovX ( ) const
float plPostEffectMod::getFovY ( ) const
float plPostEffectMod::getHither ( ) const
plKey plPostEffectMod::getNodeKey ( ) const
const hsBitVector& plPostEffectMod::getState ( ) const
hsBitVector& plPostEffectMod::getState ( )
float plPostEffectMod::getYon ( ) const
virtual void plPostEffectMod::IPrcParse ( const pfPrcTag tag,
plResManager mgr 
)
protectedvirtual

This must be overloaded by subclasses to parse PRC data specific to the class from the PRC document. It is called once for each tag that is a child to the Creatable tag itself, so subclasses should check for each supported tag and handle it accordingly if it matches. If the tag is not recognized, it should be passed along to the parent class.

Reimplemented from plSingleModifier.

virtual void plPostEffectMod::IPrcWrite ( pfPrcHelper prc)
protectedvirtual

This must be overloaded by subclasses to write PRC data specific to the class to the PRC document. Do not write the top-level creatable tag, that is handled by prcWrite().

Reimplemented from plSingleModifier.

virtual void plPostEffectMod::read ( hsStream ,
plResManager  
)
virtual

Reads this creatable directly from the stream. If any keys are read, they will be added to the plResManager automatically.

Reimplemented from plSingleModifier.

void plPostEffectMod::setDefaultC2W ( const hsMatrix44 c2w)
void plPostEffectMod::setDefaultW2C ( const hsMatrix44 w2c)
void plPostEffectMod::setFov ( float  x,
float  y 
)
void plPostEffectMod::setHither ( float  hither)
void plPostEffectMod::setNodeKey ( plKey  node)
void plPostEffectMod::setYon ( float  yon)
virtual void plPostEffectMod::write ( hsStream ,
plResManager  
)
virtual

Writes this creatable directly to the stream. The plResManager is used to manage any key references written by this creatable.

Reimplemented from plSingleModifier.

Member Data Documentation

hsMatrix44 plPostEffectMod::fDefaultC2W
protected
hsMatrix44 plPostEffectMod::fDefaultW2C
protected
float plPostEffectMod::fFovX
protected
float plPostEffectMod::fFovY
protected
float plPostEffectMod::fHither
protected
plKey plPostEffectMod::fNodeKey
protected
hsBitVector plPostEffectMod::fState
protected
float plPostEffectMod::fYon
protected

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