Static Public Member Functions | List of all members
ion::Scene::CGeometryCreator Class Reference

#include <CGeometryCreator.h>

Static Public Member Functions

static CSimpleMeshCreateCube (vec3f const &Size=vec3f(1.f))
 
static CSimpleMeshCreateCylinder (float const baseRadius=0.2f, float const topRadius=0.2f, float const height=1.f, uint const slices=32, uint const stacks=4)
 
static CSimpleMeshCreateDisc (float const innerRadius=0.1f, float const outerRadius=0.5f, float const height=0.2f, uint const slices=32, uint const stacks=4)
 
static CSimpleMeshCreateTorus (float const centralRadius=1.f, float const innerRadius=0.25f, uint const slices=16, uint const stacks=20)
 
static CSimpleMeshCreateSphere (vec3f const &Radii=vec3f(0.5f), uint const Slices=32, uint const Stacks=16)
 
static CSimpleMeshCreateSkySphere ()
 
static CSimpleMeshCreatePlane (vec2f const &Size=vec2f(1.f))
 
static CSimpleMeshCreateWafer (float const radius=0.5f, uint const Slices=40)
 
static CSimpleMeshCreateScreenTriangle ()
 
static CSimpleMeshIntersect (CSimpleMesh const *A, CSimpleMesh const *B, vec3f const &AOffset=0, vec3f const &BOffset=0)
 
static void IntersectAndDelete (CSimpleMesh *A, CSimpleMesh const *B, vec3f const &BOffset=0)
 
static vector< pair< string, CSimpleMesh * > > LoadOBJFileWithNames (string const &FileName, string const &Path="")
 
static vector< CSimpleMesh * > LoadOBJFile (string const &FileName, string const &Path="")
 

Member Function Documentation

CSimpleMesh * ion::Scene::CGeometryCreator::CreateCube ( vec3f const &  Size = vec3f(1.f))
static
CSimpleMesh * ion::Scene::CGeometryCreator::CreateCylinder ( float const  baseRadius = 0.2f,
float const  topRadius = 0.2f,
float const  height = 1.f,
uint const  slices = 32,
uint const  stacks = 4 
)
static
CSimpleMesh * ion::Scene::CGeometryCreator::CreateDisc ( float const  innerRadius = 0.1f,
float const  outerRadius = 0.5f,
float const  height = 0.2f,
uint const  slices = 32,
uint const  stacks = 4 
)
static
CSimpleMesh * ion::Scene::CGeometryCreator::CreatePlane ( vec2f const &  Size = vec2f(1.f))
static
CSimpleMesh * ion::Scene::CGeometryCreator::CreateScreenTriangle ( )
static
CSimpleMesh * ion::Scene::CGeometryCreator::CreateSkySphere ( )
static
CSimpleMesh * ion::Scene::CGeometryCreator::CreateSphere ( vec3f const &  Radii = vec3f(0.5f),
uint const  Slices = 32,
uint const  Stacks = 16 
)
static
CSimpleMesh * ion::Scene::CGeometryCreator::CreateTorus ( float const  centralRadius = 1.f,
float const  innerRadius = 0.25f,
uint const  slices = 16,
uint const  stacks = 20 
)
static
CSimpleMesh * ion::Scene::CGeometryCreator::CreateWafer ( float const  radius = 0.5f,
uint const  Slices = 40 
)
static
CSimpleMesh * ion::Scene::CGeometryCreator::Intersect ( CSimpleMesh const *  A,
CSimpleMesh const *  B,
vec3f const &  AOffset = 0,
vec3f const &  BOffset = 0 
)
static
void ion::Scene::CGeometryCreator::IntersectAndDelete ( CSimpleMesh A,
CSimpleMesh const *  B,
vec3f const &  BOffset = 0 
)
static
vector< CSimpleMesh * > ion::Scene::CGeometryCreator::LoadOBJFile ( string const &  FileName,
string const &  Path = "" 
)
static
vector< pair< string, CSimpleMesh * > > ion::Scene::CGeometryCreator::LoadOBJFileWithNames ( string const &  FileName,
string const &  Path = "" 
)
static

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