#include <RhinoParser.h>
Inheritance diagram for RhinoParser:
Public Member Functions | |
RhinoParser (const char *, const SDS &, SceneGraphObject::OID firstOID=1, Parser::Statistics *pStat=NULL) | |
virtual | ~RhinoParser () |
virtual bool | parseObject (void) |
virtual SceneGraphObject * | getObject (void) |
virtual LightSource * | getLight (void) |
void | setOID (SceneGraphObject::OID o) |
SceneGraphObject::OID | getOID (void) const |
Statistics * | getStatistics (void) |
Public Attributes | |
ON_String | startComments |
ON_3dmProperties | properties |
ON_3dmSettings | settings |
int | version |
ON_SimpleArray< ON_Bitmap * > | bitmapTable |
ON_ClassArray< ON_Layer > | layerTable |
ON_ClassArray< ON_Group > | groupTable |
Protected Member Functions | |
bool | _read_bitmap_table (ON_BinaryFile &) |
bool | _read_material_table (ON_BinaryFile &) |
bool | _read_layer_table (ON_BinaryFile &) |
bool | _read_group_table (ON_BinaryFile &) |
bool | _read_lights_table (ON_BinaryFile &) |
Vertex3 * | _get_vertices (const ON_Mesh &) |
Vector3 * | _get_normals (const ON_Mesh &) |
Vector2 * | _get_texture_coords (const ON_Mesh &) |
void | _set_material (SceneGraphObject &, const ON_3dmObjectAttributes &) const |
Shape * | _parse_mesh (const ON_Mesh &) |
Shape * | _parse_brep (const ON_Brep &, int) |
void | _parse_object (const ON_Geometry &, const ON_3dmObjectAttributes &) |
Protected Attributes | |
int | _matTableSize |
AutoPtr< Material > ** | _specularMatTable |
AutoPtr< Material > ** | _diffuseMatTable |
AutoPtr< Material > ** | _ambientMatTable |
AutoPtr< Material > ** | _roughnessMatTable |
AutoPtr< Material > * | _pDefSpecularMat |
AutoPtr< Material > * | _pDefDiffuseMat |
AutoPtr< Material > * | _pDefAmbientMat |
AutoPtr< Material > * | _pDefRoughnessMat |
bool | _continueReading |
ON_Workspace | _workspace |
ON_BinaryFile * | _pFile |
const SDS * | _pSSProto |
SceneGraphObject::OID | _oid |
SceneGraphObject * | _pParsedObject |
Statistics * | _pStat |
List< LightSource > | _lights |
Static Protected Attributes | |
static const int | _objectFilter = ON::mesh_object |
Definition at line 21 of file RhinoParser.h.
|
Definition at line 503 of file RhinoParser.cc. References RhinoParser::_pDefAmbientMat, RhinoParser::_pDefDiffuseMat, RhinoParser::_pDefRoughnessMat, RhinoParser::_pFile, RhinoParser::_workspace, esg::Ambient, esg::Diffuse, AutoPtr::registerReferer(), esg::Roughness, esg::Specular, RhinoParser::startComments, and RhinoParser::version. |
|
Definition at line 565 of file RhinoParser.cc. References RhinoParser::_ambientMatTable, RhinoParser::_diffuseMatTable, RhinoParser::_pDefAmbientMat, RhinoParser::_pDefDiffuseMat, RhinoParser::_pDefRoughnessMat, RhinoParser::_roughnessMatTable, and RhinoParser::_specularMatTable. |
|
Definition at line 277 of file RhinoParser.cc. Referenced by RhinoParser::_parse_mesh(). |
|
Definition at line 288 of file RhinoParser.cc. Referenced by RhinoParser::_parse_mesh(). |
|
Definition at line 269 of file RhinoParser.cc. Referenced by RhinoParser::_parse_mesh(). |
|
Definition at line 409 of file RhinoParser.cc. Referenced by RhinoParser::_parse_object(). |
|
Definition at line 335 of file RhinoParser.cc. References RhinoParser::_get_normals(), RhinoParser::_get_texture_coords(), RhinoParser::_get_vertices(), Parser::_pSSProto, and Surface::TRIANGLES. Referenced by RhinoParser::_parse_object(). |
|
Definition at line 431 of file RhinoParser.cc. References Parser::_oid, RhinoParser::_parse_brep(), RhinoParser::_parse_mesh(), Parser::_pParsedObject, Parser::_pSSProto, RhinoParser::_set_material(), and SceneGraphObject::setSharedGeometry(). Referenced by RhinoParser::parseObject(). |
|
Definition at line 21 of file RhinoParser.cc. References RhinoParser::bitmapTable. |
|
Definition at line 156 of file RhinoParser.cc. References RhinoParser::groupTable. |
|
Definition at line 124 of file RhinoParser.cc. References RhinoParser::layerTable. |
|
Definition at line 188 of file RhinoParser.cc. References Parser::_oid. |
|
Definition at line 52 of file RhinoParser.cc. |
|
Definition at line 299 of file RhinoParser.cc. References RhinoParser::layerTable. Referenced by RhinoParser::_parse_object(). |
|
Definition at line 52 of file Parser.h. References Parser::_lights, List::firstItem(), and List::remove(). |
|
Definition at line 50 of file Parser.h. References Parser::_pParsedObject. |
|
Definition at line 58 of file Parser.h. References Parser::_oid. |
|
Definition at line 60 of file Parser.h. References Parser::_pStat. |
|
Implements Parser. Definition at line 588 of file RhinoParser.cc. References RhinoParser::_continueReading, RhinoParser::_objectFilter, RhinoParser::_parse_object(), RhinoParser::_pFile, and Parser::_pParsedObject. |
|
Definition at line 57 of file Parser.h. References Parser::_oid. |
|
Definition at line 27 of file RhinoParser.h. Referenced by RhinoParser::~RhinoParser(). |
|
Definition at line 39 of file RhinoParser.h. Referenced by RhinoParser::parseObject(). |
|
Definition at line 26 of file RhinoParser.h. Referenced by RhinoParser::~RhinoParser(). |
|
Definition at line 28 of file Parser.h. Referenced by Parser::getLight(), and Parser::~Parser(). |
|
Definition at line 24 of file RhinoParser.h. |
|
Definition at line 38 of file RhinoParser.h. Referenced by RhinoParser::parseObject(). |
|
Definition at line 25 of file Parser.h. Referenced by RhinoParser::_parse_object(), RhinoParser::_read_lights_table(), Parser::getOID(), MayaParser::parseObject(), and Parser::setOID(). |
|
Definition at line 34 of file RhinoParser.h. Referenced by RhinoParser::RhinoParser(), and RhinoParser::~RhinoParser(). |
|
Definition at line 33 of file RhinoParser.h. Referenced by RhinoParser::RhinoParser(), and RhinoParser::~RhinoParser(). |
|
Definition at line 36 of file RhinoParser.h. Referenced by RhinoParser::RhinoParser(), and RhinoParser::~RhinoParser(). |
|
Definition at line 32 of file RhinoParser.h. |
|
Definition at line 41 of file RhinoParser.h. Referenced by RhinoParser::parseObject(), and RhinoParser::RhinoParser(). |
|
Definition at line 26 of file Parser.h. Referenced by RhinoParser::_parse_object(), MayaParser::_set_material(), Parser::getObject(), RhinoParser::parseObject(), MayaParser::parseObject(), and Parser::Parser(). |
|
Definition at line 24 of file Parser.h. Referenced by RhinoParser::_parse_mesh(), RhinoParser::_parse_object(), MayaParser::parseObject(), Parser::Parser(), and Parser::~Parser(). |
|
Definition at line 27 of file Parser.h. Referenced by MayaParser::_parse_triangle(), Parser::getStatistics(), and Parser::Parser(). |
|
Definition at line 29 of file RhinoParser.h. Referenced by RhinoParser::~RhinoParser(). |
|
Definition at line 25 of file RhinoParser.h. Referenced by RhinoParser::~RhinoParser(). |
|
Definition at line 40 of file RhinoParser.h. Referenced by RhinoParser::RhinoParser(). |
|
Definition at line 66 of file RhinoParser.h. Referenced by RhinoParser::_read_bitmap_table(). |
|
Definition at line 69 of file RhinoParser.h. Referenced by RhinoParser::_read_group_table(). |
|
Definition at line 68 of file RhinoParser.h. Referenced by RhinoParser::_read_layer_table(), and RhinoParser::_set_material(). |
|
Definition at line 63 of file RhinoParser.h. |
|
Definition at line 64 of file RhinoParser.h. |
|
Definition at line 62 of file RhinoParser.h. Referenced by RhinoParser::RhinoParser(). |
|
Definition at line 65 of file RhinoParser.h. Referenced by RhinoParser::RhinoParser(). |