| Linderdaum Engine: clVisualGeom Class Reference | ![]() |
#include <VisualRenderables.h>
Public Member Functions | |
| clVisualGeom () | |
| virtual | ~clVisualGeom () |
| virtual void | SetGeom (clGeom *G) |
| Initial setup. | |
| virtual void | UpdateMaterial (clMaterial *M) |
| Update the material for the geom. | |
| virtual void | UpdateGeom (clGeom *G) |
| Update the current geometry. | |
| virtual void | SetMaterial (clMaterial *M) |
| virtual clMaterial * | GetMaterial () |
| virtual void | SetTransform (const LMatrix4 &Mtx) |
| virtual LMatrix4 | GetTransform () const |
| virtual void | SetAnimation (const std::string &AnimName) |
| Deleagates for the Scene::SetAnimation. | |
| virtual void | SetAnimationSpeed (float Speed) |
| virtual std::string | GetMaterialName () const |
| virtual void | SetMaterialName (const std::string &MaterialName) |
| virtual void | AddGeometry (clScene *S) |
| Add renderables to the scene. | |
| virtual void | RemoveGeometry (clScene *S) |
| Remove renderables from the scene. | |
| virtual bool | IntersectsWithRay (const LMatrix4 &Proj, const LMatrix4 &View, const LVector3 &P, const LVector3 &Dir, LVector3 &isect) |
| TODO : Heading, Up, Side. | |
| virtual void | UpdateTransform () |
| TODO : EulerAngleSystem to .NET export. | |
Protected Attributes | |
| std::string | FMaterialName |
| clGeom * | FGeom |
| clMaterial * | FMaterial |
| int | FGeomID |
| int | FMatID |
| clVisualGeom::clVisualGeom | ( | ) |
| clVisualGeom::~clVisualGeom | ( | ) | [virtual] |
| void clVisualGeom::AddGeometry | ( | clScene * | S | ) | [virtual] |
Add renderables to the scene.
Reimplemented from clVisualObject.
Reimplemented in clVisualGenerator.
| virtual clMaterial* clVisualGeom::GetMaterial | ( | ) | [inline, virtual] |
| virtual std::string clVisualGeom::GetMaterialName | ( | ) | const [inline, virtual] |
| LMatrix4 clVisualGeom::GetTransform | ( | ) | const [virtual] |
Reimplemented from clVisualObject.
| bool clVisualGeom::IntersectsWithRay | ( | const LMatrix4 & | Proj, |
| const LMatrix4 & | View, | ||
| const LVector3 & | P, | ||
| const LVector3 & | Dir, | ||
| LVector3 & | isect | ||
| ) | [virtual] |
TODO : Heading, Up, Side.
To TypeConverters :
LEulerAngleSystem scalar AngleSystemToStr StrToAngleSystem
To NetTypes :
LEulerAngleSystem scalar AngleSystemToString
Reimplemented from clVisualObject.
| void clVisualGeom::RemoveGeometry | ( | clScene * | S | ) | [virtual] |
Remove renderables from the scene.
Reimplemented from clVisualObject.
Reimplemented in clVisualGenerator.
| void clVisualGeom::SetAnimation | ( | const std::string & | AnimName | ) | [virtual] |
Deleagates for the Scene::SetAnimation.
| void clVisualGeom::SetAnimationSpeed | ( | float | Speed | ) | [virtual] |
| void clVisualGeom::SetGeom | ( | clGeom * | G | ) | [virtual] |
Initial setup.
| virtual void clVisualGeom::SetMaterial | ( | clMaterial * | M | ) | [inline, virtual] |
| void clVisualGeom::SetMaterialName | ( | const std::string & | MaterialName | ) | [virtual] |
| void clVisualGeom::SetTransform | ( | const LMatrix4 & | Mtx | ) | [virtual] |
Reimplemented from clVisualRenderable.
| void clVisualGeom::UpdateGeom | ( | clGeom * | G | ) | [virtual] |
Update the current geometry.
| void clVisualGeom::UpdateMaterial | ( | clMaterial * | M | ) | [virtual] |
Update the material for the geom.
| void clVisualGeom::UpdateTransform | ( | ) | [virtual] |
TODO : EulerAngleSystem to .NET export.
Called after something has changed in transformation
Reimplemented from clVisualRenderable.
clGeom* clVisualGeom::FGeom [protected] |
int clVisualGeom::FGeomID [protected] |
clMaterial* clVisualGeom::FMaterial [protected] |
std::string clVisualGeom::FMaterialName [protected] |
int clVisualGeom::FMatID [protected] |