caelum::GeometryFactory Class Reference

#include <GeometryFactory.h>

List of all members.

Public Types

enum  DomeType { DT_GRADIENTS, DT_STARFIELD }

Static Public Member Functions

static void generateSphericDome (const Ogre::String &name, int segments, DomeType type=DT_GRADIENTS)


Detailed Description

A constructor for a number of caelum geometric objects.
Author:
Jesús Alonso Abad.
Version:
0.1

Definition at line 32 of file GeometryFactory.h.


Member Enumeration Documentation

Enumeration of types of sky domes.

Definition at line 37 of file GeometryFactory.h.


Member Function Documentation

void caelum::GeometryFactory::generateSphericDome ( const Ogre::String &  name,
int  segments,
DomeType  type = DT_GRADIENTS 
) [static]

Creates a longitude-latitude sky dome.

Note:
Does nothing if the sphere already exists.
Parameters:
name The name of the mesh to be created.
segments The number of sphere segments.
type The type of sky dome to create.

Definition at line 26 of file GeometryFactory.cpp.

Referenced by caelum::ImageStarfield::ImageStarfield(), and caelum::SkyDome::SkyDome().


The documentation for this class was generated from the following files:

Generated on Fri Jul 11 09:24:53 2008 for Caelum by  doxygen 1.5.6