OGS
|
Namespaces | |
namespace | GocadAsciiReader |
Classes | |
class | CoordinateSystem |
class | GocadNode |
class | GocadSGridReader |
class | GocadSplitNode |
class | IndexCalculator |
struct | Layer |
struct | Property |
struct | Region |
Typedefs | |
using | Bitset = boost::dynamic_bitset<> |
Enumerations | |
enum class | DataType { UNDEFINED , VSET , PLINE , TSURF , MODEL3D , ALL } |
enum class | FaceDirection : char { U , V , W } |
Functions | |
std::string | parseName (std::string const &str) |
std::ostream & | operator<< (std::ostream &os, CoordinateSystem const &c) |
void | generateFaceSets (GocadSGridReader const &reader, std::string const &path) |
std::string | dataType2String (DataType const t) |
Given a Gocad DataType this returns the appropriate string. | |
std::string | dataType2ShortString (DataType const t) |
Given a Gocad DataType this returns the appropriate short form. | |
bool | operator<= (GocadNode const &n0, GocadNode const &n1) |
Bitset | readBits (std::ifstream &in, const std::size_t bits) |
std::ostream & | operator<< (std::ostream &os, Layer const &l) |
Layer | parseLayer (std::string const &line, std::vector< Region > const ®ions) |
std::ostream & | operator<< (std::ostream &os, Property const &p) |
Property | parseGocadPropertyMetaData (std::string &line, std::istream &in, std::string const &path) |
std::ostream & | operator<< (std::ostream &os, Region const &r) |
Region | parseRegion (std::string const &line) |
using FileIO::Gocad::Bitset = boost::dynamic_bitset<> |
Definition at line 29 of file GocadSGridReader.cpp.
|
strong |
|
strong |
std::string FileIO::Gocad::dataType2ShortString | ( | DataType const | t | ) |
Given a Gocad DataType this returns the appropriate short form.
Definition at line 42 of file GocadEnums.cpp.
References MODEL3D, PLINE, TSURF, UNDEFINED, and VSET.
Referenced by FileIO::Gocad::GocadAsciiReader::createMesh().
std::string FileIO::Gocad::dataType2String | ( | DataType const | t | ) |
Given a Gocad DataType this returns the appropriate string.
Definition at line 17 of file GocadEnums.cpp.
References MODEL3D, PLINE, TSURF, UNDEFINED, and VSET.
Referenced by FileIO::Gocad::GocadAsciiReader::isKeyword(), and FileIO::Gocad::GocadAsciiReader::readFile().
void FileIO::Gocad::generateFaceSets | ( | GocadSGridReader const & | reader, |
std::string const & | path ) |
Definition at line 19 of file GenerateFaceSetMeshes.cpp.
References FileIO::Gocad::GocadSGridReader::getFaceSetMesh(), INFO(), and MeshLib::IO::writeMeshToFile().
Referenced by main().
std::ostream & FileIO::Gocad::operator<< | ( | std::ostream & | os, |
CoordinateSystem const & | c ) |
Definition at line 111 of file CoordinateSystem.cpp.
References FileIO::Gocad::CoordinateSystem::Depth.
std::ostream & FileIO::Gocad::operator<< | ( | std::ostream & | os, |
Layer const & | l ) |
Definition at line 22 of file Layer.cpp.
References FileIO::Gocad::Layer::regions.
std::ostream & FileIO::Gocad::operator<< | ( | std::ostream & | os, |
Property const & | p ) |
Definition at line 23 of file Property.cpp.
std::ostream & FileIO::Gocad::operator<< | ( | std::ostream & | os, |
Region const & | r ) |
Definition at line 21 of file Region.cpp.
References FileIO::Gocad::Region::bit, and FileIO::Gocad::Region::name.
Definition at line 16 of file GocadNode.cpp.
References FileIO::Gocad::GocadNode::getLayerTransitionIndex().
Property FileIO::Gocad::parseGocadPropertyMetaData | ( | std::string & | line, |
std::istream & | in, | ||
std::string const & | path ) |
Definition at line 30 of file Property.cpp.
References FileIO::Gocad::Property::_property_class_name, FileIO::Gocad::Property::_property_data_fname, FileIO::Gocad::Property::_property_data_type, FileIO::Gocad::Property::_property_id, FileIO::Gocad::Property::_property_name, FileIO::Gocad::Property::_property_no_data_value, FileIO::Gocad::Property::_property_unit, FileIO::Gocad::Property::checkID(), ERR(), and BaseLib::trim().
Referenced by FileIO::Gocad::GocadSGridReader::GocadSGridReader().
Definition at line 29 of file Layer.cpp.
References ERR(), and FileIO::Gocad::Layer::regions.
Referenced by FileIO::Gocad::GocadSGridReader::GocadSGridReader().
std::string FileIO::Gocad::parseName | ( | std::string const & | str | ) |
Definition at line 22 of file CoordinateSystem.cpp.
Referenced by FileIO::Gocad::CoordinateSystem::parse().
Region FileIO::Gocad::parseRegion | ( | std::string const & | line | ) |
Definition at line 26 of file Region.cpp.
References FileIO::Gocad::Region::bit, ERR(), and FileIO::Gocad::Region::name.
Referenced by FileIO::Gocad::GocadSGridReader::GocadSGridReader().
Bitset FileIO::Gocad::readBits | ( | std::ifstream & | in, |
const std::size_t | bits ) |
Definition at line 395 of file GocadSGridReader.cpp.
Referenced by FileIO::Gocad::GocadSGridReader::readRegionFlagsBinary().