AnimatLab
2
Test
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
BlMeshBase.h
1
// BlMesh.h: interface for the BlMesh class.
2
//
4
#pragma once
5
6
namespace
BulletAnimatSim
7
{
8
namespace
Environment
9
{
10
namespace
Bodies
11
{
12
13
class
BULLET_PORT
BlMeshBase
:
public
BulletAnimatSim::Environment::BlRigidBody
14
{
15
protected
:
16
Mesh *m_lpThisMesh;
17
osg::ref_ptr<osg::Node> m_osgBaseMeshNode;
18
osg::ref_ptr<osg::MatrixTransform> m_osgMeshNode;
19
20
virtual
void
SetThisPointers();
21
virtual
void
CreateGeometry(
bool
bOverrideStatic =
false
);
22
virtual
void
CreateGraphicsGeometry();
23
virtual
void
CreatePhysicsGeometry();
24
virtual
void
LoadMeshNode();
25
virtual
void
CreateDefaultMesh();
26
27
public
:
28
BlMeshBase
();
29
virtual
~
BlMeshBase
();
30
31
//Override the set color method so we can disable it. We do not want to set the color for
32
//a mesh. Let the color be set in the mesh file.
33
//virtual void SetColor(float *vAmbient, float *vDiffuse, float *vSpecular, float fltShininess) {};
34
//virtual void SetTexture(std::string strTexture) {};
35
36
virtual
void
Physics_Resize();
37
};
38
39
}
//Bodies
40
}
// Environment
41
}
//BulletAnimatSim
BulletAnimatSim::Environment::BlRigidBody
A common class for all rigid body data specific to vortex.
Definition:
BlRigidBody.h:87
BulletAnimatSim
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
Definition:
BlAnimatCollisionDispatcher.cpp:10
BulletAnimatSim::Environment::Bodies::BlMeshBase
Definition:
BlMeshBase.h:13
Libraries
BulletAnimatSim
BlMeshBase.h
Generated on Tue Sep 29 2015 07:07:12 for AnimatLab by
1.8.10