Cast3dImport::Cast3dXFile Class Reference

Cast3dXFile class, main import class. More...

#include <Cast3dXFile.h>

List of all members.

Public Types

enum  TYPE_DATA
 Enumeration data container class types.
enum  TYPE_GEOMETRY
 Enumeration geometry types.
enum  TYPE_OBJECT
 Enumeration scene object types.
enum  TYPE_ASSET
 Enumeration asset types.
enum  TYPE_MATERIAL
 Enumeration material types.
enum  TYPE_NODE
 Enumeration scene node types.
enum  TYPE_FRAME
 Enumeration scene keyframe types.
enum  TYPE_TRACK
 Enumeration scene motion track types.
enum  TYPE_SAMPLING
 Enumeration sampling data types.

Public Member Functions

StreamblemakeDataArray (TYPE_DATA type, const char *id, LIST_CONTEXT context)
 Factory function for data container classes.
StreamblemakeGeometry (TYPE_GEOMETRY type, const char *id, Geometry::Type gtype)
 Factory function for geometry class.
StreamblemakeSceneObject (TYPE_OBJECT type, const char *id)
 Factory function for scene object classes.
StreamblemakeAsset (TYPE_ASSET type, const char *id, Asset::Type atype)
 Factory function for asset classes.
StreamblemakeMaterial (TYPE_MATERIAL type, const char *id, Material::Type mtype)
 Factory function for material class.
StreamblemakeFrame (TYPE_FRAME type, const char *id)
 Factory function for frame class.
StreamblemakeTrack (TYPE_TRACK type, const char *id, Track::Type ttype)
 Factory function for track class.
StreamblemakeSpline (TYPE_SAMPLING type, const char *id)
 Factory function for spline class.
StreamblemakeNode (TYPE_NODE type, const char *id)
 Factory function for node class.
Streamblefind (const char *id) const
 Finds item by given id.
void version (const char *str)
 File description data.
void author (const char *str)
 Sets file author.
void authoring_tool (const char *str)
 Sets authoring_tool information.
void source (const char *str)
 Sets original source of data.
void created (const char *str)
 Sets creation date.
void copyright (const char *str)
 Sets modification date.
void comments (const char *str)
 Sets additional comments.
Light * makeLighting (const char *id)
 Scene Light factory function.
BackgroundmakeBackground (const char *id, Background::BACKTYPE btype)
 Scene Bacground factory function.


Detailed Description

Cast3dXFile class, main import class.

Member Function Documentation

Streamble* Cast3dImport::Cast3dXFile::makeDataArray ( TYPE_DATA  type,
const char *  id,
LIST_CONTEXT  context 
)

Factory function for data container classes.

Parameters:
type conatiner type,
See also:
SCENE_DATA.
Parameters:
id unique id for data container.
context container data context.

Streamble* Cast3dImport::Cast3dXFile::makeGeometry ( TYPE_GEOMETRY  type,
const char *  id,
Geometry::Type  gtype 
)

Factory function for geometry class.

Parameters:
type conatiner type,
See also:
SCENE_GEOMETRY.
Parameters:
id unique id.
gtype geometry type,
See also:
Geometry::Type.

Streamble* Cast3dImport::Cast3dXFile::makeSceneObject ( TYPE_OBJECT  type,
const char *  id 
)

Factory function for scene object classes.

Parameters:
type object type,
See also:
SCENE_OBJECT.
Parameters:
id unique id.

Streamble* Cast3dImport::Cast3dXFile::makeAsset ( TYPE_ASSET  type,
const char *  id,
Asset::Type  atype 
)

Factory function for asset classes.

Parameters:
type object type,
See also:
SCENE_ASSET.
Parameters:
id unique id.
atype asset type,
See also:
Asset::Type.

Streamble* Cast3dImport::Cast3dXFile::makeMaterial ( TYPE_MATERIAL  type,
const char *  id,
Material::Type  mtype 
)

Factory function for material class.

Parameters:
type object type,
See also:
SCENE_MATERIAL.
Parameters:
id unique id.
mtype material type,
See also:
Asset::Type.

Streamble* Cast3dImport::Cast3dXFile::makeFrame ( TYPE_FRAME  type,
const char *  id 
)

Factory function for frame class.

Parameters:
type object type,
See also:
SCENE_FRAME.
Parameters:
id unique id.

Streamble* Cast3dImport::Cast3dXFile::makeTrack ( TYPE_TRACK  type,
const char *  id,
Track::Type  ttype 
)

Factory function for track class.

Parameters:
type object type,
See also:
SCENE_TRACK.
Parameters:
id unique id.
ttype track type,
See also:
Track::Type.

Streamble* Cast3dImport::Cast3dXFile::makeSpline ( TYPE_SAMPLING  type,
const char *  id 
)

Factory function for spline class.

Parameters:
type object type,
See also:
SCENE_SAMPLING.
Parameters:
id unique id.

Streamble* Cast3dImport::Cast3dXFile::makeNode ( TYPE_NODE  type,
const char *  id 
)

Factory function for node class.

Parameters:
type object type,
See also:
SCENE_NODE.
Parameters:
id unique id.

Streamble* Cast3dImport::Cast3dXFile::find ( const char *  id  )  const

Finds item by given id.

Parameters:
id unique id.

void Cast3dImport::Cast3dXFile::version ( const char *  str  )  [inline]

File description data.

Sets file version.

Parameters:
str file version.

void Cast3dImport::Cast3dXFile::author ( const char *  str  )  [inline]

Sets file author.

Parameters:
str author.

void Cast3dImport::Cast3dXFile::authoring_tool ( const char *  str  )  [inline]

Sets authoring_tool information.

Parameters:
str authoring_tool description.

void Cast3dImport::Cast3dXFile::source ( const char *  str  )  [inline]

Sets original source of data.

Parameters:
str source description.

void Cast3dImport::Cast3dXFile::created ( const char *  str  )  [inline]

Sets creation date.

Parameters:
str date string.

void Cast3dImport::Cast3dXFile::copyright ( const char *  str  )  [inline]

Sets modification date.

Parameters:
str date string.

void Cast3dImport::Cast3dXFile::comments ( const char *  str  )  [inline]

Sets additional comments.

Parameters:
str comment text.

Light* Cast3dImport::Cast3dXFile::makeLighting ( const char *  id  ) 

Scene Light factory function.

Parameters:
id unque id string.

Background* Cast3dImport::Cast3dXFile::makeBackground ( const char *  id,
Background::BACKTYPE  btype 
)

Scene Bacground factory function.

Parameters:
id unque id string.
btype backgound type
See also:
Background::BACKTYPE


The documentation for this class was generated from the following file:
Generated at Thu Oct 9 09:50:18 2008 for the Cast3D by doxygen 1.5.4.