GhoulPrimitive Namespace Reference


Classes

class  Drawer
class  OgreRenderableDrawer
class  Primitive
class  Loft
class  Ellipsoid
 ellipsoid More...
class  OgreEllipsoid
class  Cone
 cone More...
class  OgreCone

Typedefs

typedef Ogre::Real Real
typedef Ogre::Vector3 Vector3
typedef Ogre::Quaternion Quaternion
typedef Ogre::Camera Camera
typedef unsigned short IndexInt
typedef const Real kReal
typedef const Vector3 kVector3
typedef const Quaternion kQuaternion

Enumerations

enum  eInterpolationMode { kInterpolate_Constant, kInterpolate_Linear, kInterpolate_SmoothQuadric }
enum  eOpType {
  kOpType_POINT_LIST, kOpType_LINE_LIST, kOpType_LINE_STRIP, kOpType_TRIANGLE_LIST,
  kOpType_TRIANGLE_STRIP, kOpType_TRIANGLE_FAN
}
enum  eGeometryChange { kGeometryChange_Seldom, kGeometryChange_Often, kGeometryChange_AlmostEveryFrame }

Variables

const Real pi = 3.14159265358979323846
const Real pi2 = 2.0* 3.14159265358979323846


Detailed Description

Welcome to the GhoulyPrimitives library the main purpose of this library is to create "primitives", simple geometric objects like sphere, ellipsoid, cone, cylinder... this library is by default bound to ogre, but that can be changed easily, as the geometry generation is implemented independantly generation of geometric data has been seperated from usage of such data (e.g. rendering) generators for geometric are derived from the "Primitive" class users of such data are derived from the "Drawer" class thus it is possible to use the same data for different purposes, for example :

this library is not yet finished, but i think it is useful already Questions and Comments are welcome, just drop me an eMail to ghoulsblade@schattenkind.net i'm interested to see where this lib is used if you like spacegames, you might want to visit the project i'm currently working on : http://sfz.schattenkind.net for more code snippets for c++, php and other languages, visit my homepage http://ghoulsblade.schattenkind.net

Have fun =)


Typedef Documentation

typedef Ogre::Camera GhoulPrimitive::Camera

Definition at line 49 of file GhoulPrimitives.h.

typedef unsigned short GhoulPrimitive::IndexInt

Definition at line 50 of file GhoulPrimitives.h.

Definition at line 54 of file GhoulPrimitives.h.

typedef const Real GhoulPrimitive::kReal

Definition at line 52 of file GhoulPrimitives.h.

Definition at line 53 of file GhoulPrimitives.h.

typedef Ogre::Quaternion GhoulPrimitive::Quaternion

Definition at line 48 of file GhoulPrimitives.h.

typedef Ogre::Real GhoulPrimitive::Real

Definition at line 43 of file GhoulPrimitives.h.

typedef Ogre::Vector3 GhoulPrimitive::Vector3

Definition at line 47 of file GhoulPrimitives.h.


Enumeration Type Documentation

Enumerator:
kGeometryChange_Seldom 
kGeometryChange_Often 
kGeometryChange_AlmostEveryFrame 

Definition at line 76 of file GhoulPrimitives.h.

Enumerator:
kInterpolate_Constant 
kInterpolate_Linear 
kInterpolate_SmoothQuadric 

Definition at line 60 of file GhoulPrimitives.h.

Enumerator:
kOpType_POINT_LIST 
kOpType_LINE_LIST 
kOpType_LINE_STRIP 
kOpType_TRIANGLE_LIST 
kOpType_TRIANGLE_STRIP 
kOpType_TRIANGLE_FAN 

Definition at line 67 of file GhoulPrimitives.h.


Variable Documentation

const Real GhoulPrimitive::pi = 3.14159265358979323846

Definition at line 57 of file GhoulPrimitives.h.

Referenced by GhoulPrimitive::Ellipsoid::SetParams().

const Real GhoulPrimitive::pi2 = 2.0* 3.14159265358979323846

Definition at line 58 of file GhoulPrimitives.h.


Generated on Wed Feb 8 06:00:17 2012 for cpp by  doxygen 1.5.6