OSGSimpleGeometry.cpp File Reference

#include <stdlib.h>
#include <stdio.h>
#include "OSGConfig.h"
#include <OSGLog.h>
#include <OSGQuaternion.h>
#include <OSGSimpleMaterial.h>
#include <OSGTriangleIterator.h>
#include "OSGSimpleGeometry.h"

Go to the source code of this file.

Namespaces

namespace  osg

Functions

Material Access


MaterialPtr osg::getDefaultMaterial (void)
MaterialPtr osg::getDefaultUnlitMaterial (void)
Construction functions


NodePtr osg::makePlane (Real32 xsize, Real32 ysize, UInt16 hor, UInt16 vert)
GeometryPtr osg::makePlaneGeo (Real32 xsize, Real32 ysize, UInt16 hor, UInt16 vert)
NodePtr osg::makeCone (Real32 height, Real32 botradius, UInt16 sides, bool doSide, bool doBottom)
GeometryPtr osg::makeConeGeo (Real32 height, Real32 botradius, UInt16 sides, bool doSide, bool doBottom)
NodePtr osg::makeCylinder (Real32 height, Real32 radius, UInt16 sides, bool doSide, bool doTop, bool doBottom)
GeometryPtr osg::makeCylinderGeo (Real32 height, Real32 radius, UInt16 sides, bool doSide, bool doTop, bool doBottom)
NodePtr osg::makeConicalFrustum (Real32 height, Real32 topradius, Real32 botradius, UInt16 sides, bool doSide, bool doTop, bool doBottom)
GeometryPtr osg::makeConicalFrustumGeo (Real32 height, Real32 topradius, Real32 botradius, UInt16 sides, bool doSide, bool doTop, bool doBottom)
NodePtr osg::makeTorus (Real32 innerRadius, Real32 outerRadius, UInt16 sides, UInt16 rings)
GeometryPtr osg::makeTorusGeo (Real32 innerRadius, Real32 outerRadius, UInt16 sides, UInt16 rings)
NodePtr osg::makeSphere (UInt16 depth, Real32 radius)
GeometryPtr osg::makeSphereGeo (UInt16 depth, Real32 radius)
NodePtr osg::makeLatLongSphere (UInt16 latres, UInt16 longres, Real32 radius)
GeometryPtr osg::makeLatLongSphereGeo (UInt16 latres, UInt16 longres, Real32 radius)
NodePtr osg::makeBox (Real32 xsize, Real32 ysize, Real32 zsize, UInt16 hor, UInt16 vert, UInt16 depth)
GeometryPtr osg::makeBoxGeo (Real32 xsize, Real32 ysize, Real32 zsize, UInt16 hor, UInt16 vert, UInt16 depth)

Variables

static SimpleMaterialPtr _defaultMaterial
static SimpleMaterialPtr _defaultUnlitMaterial


Generated on Mon Mar 17 11:10:18 2008 for OpenSG by  doxygen 1.5.5