![]() |
An open-source, flexible 3D physical simulation framework
|
Classes | |
class | AxisPrimitive |
class | CapsuleDrawObject |
class | CoordsPrimitive |
class | CubeDrawObject |
class | CylinderDrawObject |
struct | drawMapper |
class | DrawObject |
class | EmptyDrawObject |
class | GeodeVisitor |
used to get a geode from a nodegroup More... | |
class | GetVerticesFunctor |
This visitor class is used to get triangles from a mesh. More... | |
class | GraphicsCamera |
class | GraphicsManager |
class | GraphicsViewer |
class | GraphicsWidget |
Widget with OpenGL context and event handling. More... | |
class | GridPrimitive |
class | GuiHelper |
class | HUD |
class | HUDDataType |
class | HUDElement |
class | HUDLabel |
class | HUDLines |
class | HUDNodeCallback |
class | HUDOSGNode |
class | HUDTerminal |
class | HUDTexture |
struct | imageFileStruct |
struct | lightmanager |
internal struct to manage lights More... | |
class | LoadDrawObject |
struct | LoadDrawObjectPSetBox |
class | map_data_compare |
struct | nodeFileStruct |
struct | nodemanager |
internal struct for GraphicManager.h connecting the node indices with the osg nodes More... | |
class | OSGDrawItem |
Wraps draw_item in osg::Group. More... | |
class | OSGHudElementStruct |
Wraps hudElementStruct in osg::Group. More... | |
class | OSGLightStruct |
Wraps lightStruct in osg::LightSource. More... | |
class | OSGMaterialStruct |
Wraps MaterialData in osg::Material. More... | |
class | OSGNodeStruct |
class | PlaneDrawObject |
class | PostDrawCallback |
class | QtOsgMixGraphicsWidget |
A GraphicsWidget using QWidget. More... | |
class | ShadowMap |
class | SphereDrawObject |
struct | SphereFace |
struct | SubTile |
class | TerrainDrawObject |
struct | TerrainDrawObject2Info |
struct | textureFileStruct |
class | VertexBufferTerrain |
Typedefs | |
typedef std::map< unsigned long, osg::ref_ptr< OSGNodeStruct > > | DrawObjects |
typedef std::list< osg::ref_ptr< OSGNodeStruct > > | DrawObjectList |
typedef std::list< osg::ref_ptr< OSGHudElementStruct > > | HUDElements |
Functions | |
void | createCircleGeometry (osg::Vec3Array *vertices, osg::Vec3Array *normals, osg::Vec2Array *uv, float radius, float theta, osg::Vec3 offset, bool switchFace) |
static osg::Material * | makeSelectionMaterial () |
std::vector< SphereFace > * | makeSphere (unsigned int levelOfDetail) |
static void | sphereUV (const osg::Vec3 &p, float *s, float *t) |
double | sqr (double x) |
bool | operator<= (const osg::Vec3 &a, const osg::Vec3 &b) |
template<typename T > | |
bool | between (const T &down, const T &up, const T &query) |
osg::Vec4 | toOSGVec4 (const Color &col) |
osg::Vec4 | toOSGVec4 (const Vector &v, float w) |
static osg::ref_ptr< osg::Geode > | createLightMarker (const LightData &ls) |
Variables | |
static int | ReceivesShadowTraversalMask = 0x1000 |
static int | CastsShadowTraversalMask = 0x2000 |
const unsigned int | MASK_2D = 0xF0000000 |
typedef std::list< osg::ref_ptr<OSGNodeStruct> > mars::graphics::DrawObjectList |
Definition at line 106 of file GraphicsManager.h.
typedef std::map< unsigned long, osg::ref_ptr<OSGNodeStruct> > mars::graphics::DrawObjects |
Definition at line 105 of file GraphicsManager.h.
typedef std::list< osg::ref_ptr<OSGHudElementStruct> > mars::graphics::HUDElements |
Definition at line 107 of file GraphicsManager.h.
bool mars::graphics::between | ( | const T & | down, |
const T & | up, | ||
const T & | query | ||
) |
Definition at line 913 of file TerrainDrawObject.cpp.
void mars::graphics::createCircleGeometry | ( | osg::Vec3Array * | vertices, |
osg::Vec3Array * | normals, | ||
osg::Vec2Array * | uv, | ||
float | radius, | ||
float | theta, | ||
osg::Vec3 | offset, | ||
bool | switchFace | ||
) |
Definition at line 81 of file CylinderDrawObject.cpp.
|
static |
Definition at line 38 of file OSGLightStruct.cpp.
|
static |
Definition at line 55 of file DrawObject.cpp.
std::vector<SphereFace>* mars::graphics::makeSphere | ( | unsigned int | levelOfDetail | ) |
Definition at line 52 of file SphereDrawObject.cpp.
bool mars::graphics::operator<= | ( | const osg::Vec3 & | a, |
const osg::Vec3 & | b | ||
) |
Definition at line 906 of file TerrainDrawObject.cpp.
|
static |
Definition at line 93 of file SphereDrawObject.cpp.
|
inline |
Definition at line 831 of file TerrainDrawObject.cpp.
osg::Vec4 mars::graphics::toOSGVec4 | ( | const Color & | col | ) |
Definition at line 62 of file gui_helper_functions.cpp.
osg::Vec4 mars::graphics::toOSGVec4 | ( | const Vector & | v, |
float | w | ||
) |
Definition at line 66 of file gui_helper_functions.cpp.
|
static |
Definition at line 84 of file GraphicsManager.cpp.
const unsigned int mars::graphics::MASK_2D = 0xF0000000 |
Definition at line 56 of file GraphicsWidget.h.
|
static |
Definition at line 83 of file GraphicsManager.cpp.