Namespace SFCGAL::io
Namespace List > SFCGAL > io
Namespaces
Type | Name |
---|---|
namespace | OBJ |
namespace | VTK |
Classes
Type | Name |
---|---|
class | BinarySerializer |
class | BinaryUnserializer |
Public Functions
Type | Name |
---|---|
SFCGAL_API void | osgWriteFile (const Geometry & g, const std::string & filepath) [helper] write an OSG geometry in a file. The format depends on the extension ( http://www.openscenegraph.org/projects/osg/wiki/Support/UserGuides/Plugins ) Note that osgviewer command line executable allows the visualization of the resulting files, screenshots and co |
auto | readBinaryGeometry (const std::string & str) |
auto | readBinaryPrepared (const std::string & str) |
auto | readEwkb (std::istream & stream, bool asHexString) |
auto | readEwkb (const std::string & s, bool asHexString=false) |
auto | readEwkb (const char * str, size_t len, bool asHexString) |
auto | readEwkt (std::istream & s) |
auto | readEwkt (const std::string & s) |
auto | readEwkt (const char * str, size_t len) |
auto | readWkb (std::istream & stream, bool asHexString=false) |
auto | readWkb (const std::string & s, bool asHexString=false) |
auto | readWkb (const char * str, size_t len, bool asHexString=false) |
auto | readWkt (std::istream & s) |
auto | readWkt (const std::string & s) |
auto | readWkt (const char * str, size_t len) |
SFCGAL_API osg::Geometry * | toOsgGeometry (const Geometry & g) [helper] converts a SFCGAL::Geometry to an OSG geometry |
auto | writeBinaryGeometry (const SFCGAL::Geometry & g) |
auto | writeBinaryPrepared (const SFCGAL::PreparedGeometry & g) |
Public Functions Documentation
function osgWriteFile
[helper] write an OSG geometry in a file. The format depends on the extension ( http://www.openscenegraph.org/projects/osg/wiki/Support/UserGuides/Plugins ) Note that osgviewer command line executable allows the visualization of the resulting files, screenshots and co
SFCGAL_API void SFCGAL::io::osgWriteFile (
const Geometry & g,
const std::string & filepath
)
Warning:
requires OpenSceneGraph
Todo
list of geometries?
function readBinaryGeometry
auto SFCGAL::io::readBinaryGeometry (
const std::string & str
)
Read a Geometry from a binary representation
function readBinaryPrepared
auto SFCGAL::io::readBinaryPrepared (
const std::string & str
)
Read a PreparedGeometry from a binary representation
function readEwkb
auto SFCGAL::io::readEwkb (
std::istream & stream,
bool asHexString
)
Read a WKB geometry from an input stream
Read a EWKB geometry from an input stream
function readEwkb
auto SFCGAL::io::readEwkb (
const std::string & s,
bool asHexString=false
)
Read a EWKB geometry from a string
function readEwkb
auto SFCGAL::io::readEwkb (
const char * str,
size_t len,
bool asHexString
)
Read a WKB geometry from a char*
Read a EWKB geometry from a char*
function readEwkt
auto SFCGAL::io::readEwkt (
std::istream & s
)
Read a EWKT prepared geometry from an input stream
function readEwkt
auto SFCGAL::io::readEwkt (
const std::string & s
)
Read a EWKT geometry from a string
function readEwkt
auto SFCGAL::io::readEwkt (
const char * str,
size_t len
)
Read a EWKT geometry from a char*
function readWkb
auto SFCGAL::io::readWkb (
std::istream & stream,
bool asHexString=false
)
Read a WKB geometry from an input stream
function readWkb
auto SFCGAL::io::readWkb (
const std::string & s,
bool asHexString=false
)
Read a WKB geometry from a string
function readWkb
auto SFCGAL::io::readWkb (
const char * str,
size_t len,
bool asHexString=false
)
Read a WKB geometry from a char*
function readWkt
auto SFCGAL::io::readWkt (
std::istream & s
)
Read a WKT geometry from an input stream
function readWkt
auto SFCGAL::io::readWkt (
const std::string & s
)
Read a WKT geometry from a string
function readWkt
auto SFCGAL::io::readWkt (
const char * str,
size_t len
)
Read a WKT geometry from a char*
function toOsgGeometry
SFCGAL_API osg::Geometry * SFCGAL::io::toOsgGeometry (
const Geometry & g
)
function writeBinaryGeometry
auto SFCGAL::io::writeBinaryGeometry (
const SFCGAL::Geometry & g
)
Convert a Geometry to its binary representation
Warning:
resulting string may contain 0s
function writeBinaryPrepared
auto SFCGAL::io::writeBinaryPrepared (
const SFCGAL::PreparedGeometry & g
)
Convert a PreparedGeometry to its binary representation
Warning:
resulting string may contain 0s
The documentation for this class was generated from the following file /builds/sfcgal/SFCGAL/src/detail/io/Serialization.cpp