Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OSGExtrusionGeometry.h File Reference

#include <OSGConfig.h>
#include <OSGSystemDef.h>
#include <OSGBaseTypes.h>
#include <OSGQuaternion.h>
#include <OSGNode.h>
#include <OSGGeoPropPtrs.h>
#include <OSGGeometry.h>
#include <vector>
#include <map>
#include "OSGExtrusionGeometry.inl"

Go to the source code of this file.

Namespaces

namespace  osg

Classes

class  osg::ExtrusionSurface
 Encapsulates the data of an X3D extrusion surface Not intended to be directly used. Use construction functions makeExtrusion and makeExtrusionGeo instead. More...
struct  osg::ExtrusionSurface::vecless< type >
struct  osg::ExtrusionSurface::Vertex

Defines

#define OSGEXTRUSIONGEOMETRY_HEADER_CVSID   "@(#)$Id: $"

Functions

NodePtr osg::makeExtrusion (const std::vector< Pnt2f > &crossSection, const std::vector< Quaternion > &orientation, const std::vector< Vec2f > &scale, const std::vector< Pnt3f > &spine, Real32 creaseAngle, bool beginCap, bool endCap, bool ccw, bool convex, bool buildNormal, bool buildTexCoord, UInt32 numOfSubdivision)
GeometryPtr osg::makeExtrusionGeo (const std::vector< Pnt2f > &crossSection, const std::vector< Quaternion > &orientation, const std::vector< Vec2f > &scale, const std::vector< Pnt3f > &spine, Real32 creaseAngle, bool beginCap, bool endCap, bool ccw, bool convex, bool buildNormal, bool buildTexCoord, UInt32 numSubdivs)

Variables

static const UInt32 osg::DEF_N_CROSS_SECTION_POINTS = 5
 The default number of points in the cross-section.
static const UInt32 osg::DEF_N_SCALE_PARAMS = 1
 The default number of scale parameters.
static const UInt32 osg::DEF_N_SPINE_POINTS = 2
 The default number of points in the spine.
static const UInt32 osg::DEF_N_ORIENTATION_PARAMS = 1
 The default number of orientation parameters.
static const Real32 osg::DEF_CROSS_SECTION [DEF_N_CROSS_SECTION_POINTS][2]
 The default cross-section.
static const Real32 osg::DEF_SCALE [DEF_N_SCALE_PARAMS][2] = {{ 1.f, 1.f }}
 The default scale parameters.
static const Real32 osg::DEF_SPINE [DEF_N_SPINE_POINTS][3]
 The default spine.
static const Real32 osg::DEF_ORIENTATION [DEF_N_ORIENTATION_PARAMS][4] = {{0.f, 0.f, 1.f, 0.f}}
 The default orientation parameters.


Define Documentation

#define OSGEXTRUSIONGEOMETRY_HEADER_CVSID   "@(#)$Id: $"
 

Definition at line 564 of file OSGExtrusionGeometry.h.


Generated on Thu Aug 25 04:12:20 2005 for OpenSG by  doxygen 1.4.3