Lugre::cBeam Class Reference

#include <lugre_beam.h>

Inheritance diagram for Lugre::cBeam:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 cBeam ()
virtual ~cBeam ()
int CountLines ()
void ClearLines ()
int AddLine ()
void DeleteLine (const int iLine)
void AddPoint (const int iLine, const cBeamPoint &p)
void ClearLine (const int iLine)
int CountLinePoints (const int iLine)
void PopFront (const int iLine)
void PopBack (const int iLine)
cBeamPointGetPoint (const int iLine, const int iPoint)
void UpdateBeamBounds (cRobRenderOp &pRobRenderOp)
void Draw (cRobRenderOp &pRobRenderOp, Ogre::Vector3 vEyePos, const bool bUseVertexColour, cBeamFilter &filter=cBeamFilter::IDENTITY)
 overwrites pRobRenderOp completely (begin...end)
void Draw (cRobRenderOp &pRobRenderOp, Ogre::Camera &pCam, Ogre::SceneNode &pBeamSceneNode, const bool bUseVertexColour, cBeamFilter &filter=cBeamFilter::IDENTITY)

Static Public Member Functions

static Ogre::Vector3 CalcEyePos (Ogre::Camera &pCam, Ogre::SceneNode &pBeamSceneNode)

Public Attributes

bool mbBoundsDirty
std::deque< std::deque
< cBeamPoint > * > 
mlBeamLines


Detailed Description

similar to Ogre::BillboardChain , but a more flexible in some ways might be used beams, rays, lasers, shots, fancy hud lines, smooth lines and such...

Definition at line 66 of file lugre_beam.h.


Constructor & Destructor Documentation

Lugre::cBeam::cBeam (  ) 

Definition at line 55 of file lugre_beam.cpp.

Lugre::cBeam::~cBeam (  )  [virtual]

Definition at line 56 of file lugre_beam.cpp.


Member Function Documentation

int Lugre::cBeam::CountLines (  )  [inline]

Definition at line 73 of file lugre_beam.h.

References mlBeamLines.

void Lugre::cBeam::ClearLines (  )  [inline]

Definition at line 74 of file lugre_beam.h.

References mbBoundsDirty, and mlBeamLines.

int Lugre::cBeam::AddLine (  )  [inline]

Definition at line 75 of file lugre_beam.h.

References mlBeamLines.

void Lugre::cBeam::DeleteLine ( const int  iLine  )  [inline]

Definition at line 76 of file lugre_beam.h.

References mbBoundsDirty, and mlBeamLines.

void Lugre::cBeam::AddPoint ( const int  iLine,
const cBeamPoint p 
) [inline]

Definition at line 86 of file lugre_beam.h.

References mbBoundsDirty, and mlBeamLines.

void Lugre::cBeam::ClearLine ( const int  iLine  )  [inline]

Definition at line 87 of file lugre_beam.h.

References mbBoundsDirty, and mlBeamLines.

int Lugre::cBeam::CountLinePoints ( const int  iLine  )  [inline]

Definition at line 88 of file lugre_beam.h.

References mlBeamLines.

void Lugre::cBeam::PopFront ( const int  iLine  )  [inline]

Definition at line 89 of file lugre_beam.h.

References mbBoundsDirty, and mlBeamLines.

void Lugre::cBeam::PopBack ( const int  iLine  )  [inline]

Definition at line 90 of file lugre_beam.h.

References mbBoundsDirty, and mlBeamLines.

cBeamPoint* Lugre::cBeam::GetPoint ( const int  iLine,
const int  iPoint 
) [inline]

Definition at line 91 of file lugre_beam.h.

References mlBeamLines.

void Lugre::cBeam::UpdateBeamBounds ( cRobRenderOp pRobRenderOp  ) 

void Lugre::cBeam::Draw ( cRobRenderOp pRobRenderOp,
Ogre::Vector3  vEyePos,
const bool  bUseVertexColour,
cBeamFilter filter = cBeamFilter::IDENTITY 
)

void Lugre::cBeam::Draw ( cRobRenderOp pRobRenderOp,
Ogre::Camera &  pCam,
Ogre::SceneNode &  pBeamSceneNode,
const bool  bUseVertexColour,
cBeamFilter filter = cBeamFilter::IDENTITY 
)

Definition at line 58 of file lugre_beam.cpp.

References CalcEyePos(), and Draw().

Ogre::Vector3 Lugre::cBeam::CalcEyePos ( Ogre::Camera &  pCam,
Ogre::SceneNode &  pBeamSceneNode 
) [static]

Definition at line 134 of file lugre_beam.cpp.

Referenced by Draw().


Member Data Documentation

std::deque<std::deque<cBeamPoint>*> Lugre::cBeam::mlBeamLines


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

Generated on Wed Feb 8 06:00:20 2012 for cpp by  doxygen 1.5.6