#include <Cast3dXFile.h>
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 | |
| Streamble * | makeDataArray (TYPE_DATA type, const char *id, LIST_CONTEXT context) |
| Factory function for data container classes. | |
| Streamble * | makeGeometry (TYPE_GEOMETRY type, const char *id, Geometry::Type gtype) |
| Factory function for geometry class. | |
| Streamble * | makeSceneObject (TYPE_OBJECT type, const char *id) |
| Factory function for scene object classes. | |
| Streamble * | makeAsset (TYPE_ASSET type, const char *id, Asset::Type atype) |
| Factory function for asset classes. | |
| Streamble * | makeMaterial (TYPE_MATERIAL type, const char *id, Material::Type mtype) |
| Factory function for material class. | |
| Streamble * | makeFrame (TYPE_FRAME type, const char *id) |
| Factory function for frame class. | |
| Streamble * | makeTrack (TYPE_TRACK type, const char *id, Track::Type ttype) |
| Factory function for track class. | |
| Streamble * | makeSpline (TYPE_SAMPLING type, const char *id) |
| Factory function for spline class. | |
| Streamble * | makeNode (TYPE_NODE type, const char *id) |
| Factory function for node class. | |
| Streamble * | find (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. | |
| Background * | makeBackground (const char *id, Background::BACKTYPE btype) |
| Scene Bacground factory function. | |
| Streamble* Cast3dImport::Cast3dXFile::makeDataArray | ( | TYPE_DATA | type, | |
| const char * | id, | |||
| LIST_CONTEXT | context | |||
| ) |
Factory function for data container classes.
| type | conatiner type, |
| 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.
| type | conatiner type, |
| id | unique id. | |
| gtype | geometry type, |
| Streamble* Cast3dImport::Cast3dXFile::makeSceneObject | ( | TYPE_OBJECT | type, | |
| const char * | id | |||
| ) |
Factory function for scene object classes.
| type | object type, |
| id | unique id. |
| Streamble* Cast3dImport::Cast3dXFile::makeAsset | ( | TYPE_ASSET | type, | |
| const char * | id, | |||
| Asset::Type | atype | |||
| ) |
Factory function for asset classes.
| type | object type, |
| id | unique id. | |
| atype | asset type, |
| Streamble* Cast3dImport::Cast3dXFile::makeMaterial | ( | TYPE_MATERIAL | type, | |
| const char * | id, | |||
| Material::Type | mtype | |||
| ) |
Factory function for material class.
| type | object type, |
| id | unique id. | |
| mtype | material type, |
| Streamble* Cast3dImport::Cast3dXFile::makeFrame | ( | TYPE_FRAME | type, | |
| const char * | id | |||
| ) |
Factory function for frame class.
| type | object type, |
| id | unique id. |
| Streamble* Cast3dImport::Cast3dXFile::makeTrack | ( | TYPE_TRACK | type, | |
| const char * | id, | |||
| Track::Type | ttype | |||
| ) |
Factory function for track class.
| type | object type, |
| id | unique id. | |
| ttype | track type, |
| Streamble* Cast3dImport::Cast3dXFile::makeSpline | ( | TYPE_SAMPLING | type, | |
| const char * | id | |||
| ) |
Factory function for spline class.
| type | object type, |
| id | unique id. |
Factory function for node class.
| type | object type, |
| id | unique id. |
| Streamble* Cast3dImport::Cast3dXFile::find | ( | const char * | id | ) | const |
Finds item by given id.
| id | unique id. |
| void Cast3dImport::Cast3dXFile::version | ( | const char * | str | ) | [inline] |
File description data.
Sets file version.
| str | file version. |
| void Cast3dImport::Cast3dXFile::author | ( | const char * | str | ) | [inline] |
Sets file author.
| str | author. |
| void Cast3dImport::Cast3dXFile::authoring_tool | ( | const char * | str | ) | [inline] |
Sets authoring_tool information.
| str | authoring_tool description. |
| void Cast3dImport::Cast3dXFile::source | ( | const char * | str | ) | [inline] |
Sets original source of data.
| str | source description. |
| void Cast3dImport::Cast3dXFile::created | ( | const char * | str | ) | [inline] |
Sets creation date.
| str | date string. |
| void Cast3dImport::Cast3dXFile::copyright | ( | const char * | str | ) | [inline] |
Sets modification date.
| str | date string. |
| void Cast3dImport::Cast3dXFile::comments | ( | const char * | str | ) | [inline] |
Sets additional comments.
| str | comment text. |
| Light* Cast3dImport::Cast3dXFile::makeLighting | ( | const char * | id | ) |
| Background* Cast3dImport::Cast3dXFile::makeBackground | ( | const char * | id, | |
| Background::BACKTYPE | btype | |||
| ) |
Scene Bacground factory function.
| id | unque id string. | |
| btype | backgound type |