SFCGAL
1.4.1
|
helper class to convert SFCGAL::Geometry to osg::Geometry More...
#include <OsgFactory.h>
Public Member Functions | |
osg::Geometry * | createGeometry (const Geometry &g) |
create a osg::Geometry from a Point More... | |
osg::Vec3 | createVec3 (const Point &g) const |
create a osg::Vec3 from a Point More... | |
osg::Geometry * | createGeometry (const Geometry &g) |
create a osg::Geometry from a Point More... | |
osg::Vec3 | createVec3 (const Point &g) const |
create a osg::Vec3 from a Point More... | |
Protected Member Functions | |
size_t | createVertex (osg::Vec3Array *vertices, const Point &g) |
create a vertex and returns its position in a vertice array More... | |
size_t | createVertex (osg::Vec3Array *vertices, const osg::Vec3 &g) |
create a vertex and returns its position in a vertice array More... | |
void | addToGeometry (osg::Geometry *, const Geometry &) |
add a SFCGAL::Geometry to a osg::Geometry (dispatch method) More... | |
void | addToGeometry (osg::Geometry *, const Point &) |
add a Point to a osg::Geometry More... | |
void | addToGeometry (osg::Geometry *, const LineString &) |
add a LineString to a osg::Geometry More... | |
void | addToGeometry (osg::Geometry *, const Triangle &) |
add a Triangle to a osg::Geometry More... | |
void | addToGeometry (osg::Geometry *, const Polygon &) |
add a Polygon to a osg::Geometry More... | |
void | addToGeometry (osg::Geometry *, const TriangulatedSurface &) |
add a TIN to a osg::Geometry More... | |
void | addToGeometry (osg::Geometry *, const PolyhedralSurface &) |
add a PolyhedralSurface to a osg::Geometry More... | |
void | addToGeometry (osg::Geometry *, const Solid &) |
add a Solid to a osg::Geometry More... | |
void | addToGeometry (osg::Geometry *, const GeometryCollection &) |
add a GeometryCollection to a osg::Geometry More... | |
size_t | createVertex (osg::Vec3Array *vertices, const Point &g) |
create a vertex and returns its position in a vertice array More... | |
size_t | createVertex (osg::Vec3Array *vertices, const osg::Vec3 &g) |
create a vertex and returns its position in a vertice array More... | |
void | addToGeometry (osg::Geometry *, const Geometry &) |
add a SFCGAL::Geometry to a osg::Geometry (dispatch method) More... | |
void | addToGeometry (osg::Geometry *, const Point &) |
add a Point to a osg::Geometry More... | |
void | addToGeometry (osg::Geometry *, const LineString &) |
add a LineString to a osg::Geometry More... | |
void | addToGeometry (osg::Geometry *, const Triangle &) |
add a Triangle to a osg::Geometry More... | |
void | addToGeometry (osg::Geometry *, const Polygon &) |
add a Polygon to a osg::Geometry More... | |
void | addToGeometry (osg::Geometry *, const TriangulatedSurface &) |
add a TIN to a osg::Geometry More... | |
void | addToGeometry (osg::Geometry *, const PolyhedralSurface &) |
add a PolyhedralSurface to a osg::Geometry More... | |
void | addToGeometry (osg::Geometry *, const Solid &) |
add a Solid to a osg::Geometry More... | |
void | addToGeometry (osg::Geometry *, const GeometryCollection &) |
add a GeometryCollection to a osg::Geometry More... | |
helper class to convert SFCGAL::Geometry to osg::Geometry
|
protected |
add a SFCGAL::Geometry to a osg::Geometry (dispatch method)
|
protected |
add a SFCGAL::Geometry to a osg::Geometry (dispatch method)
|
protected |
add a GeometryCollection to a osg::Geometry
|
protected |
add a GeometryCollection to a osg::Geometry
|
protected |
add a LineString to a osg::Geometry
|
protected |
add a LineString to a osg::Geometry
|
protected |
add a Point to a osg::Geometry
|
protected |
add a Point to a osg::Geometry
|
protected |
add a Polygon to a osg::Geometry
|
protected |
add a Polygon to a osg::Geometry
|
protected |
add a PolyhedralSurface to a osg::Geometry
|
protected |
add a PolyhedralSurface to a osg::Geometry
|
protected |
add a Solid to a osg::Geometry
|
protected |
add a Solid to a osg::Geometry
|
protected |
add a Triangle to a osg::Geometry
|
protected |
add a Triangle to a osg::Geometry
|
protected |
add a TIN to a osg::Geometry
|
protected |
add a TIN to a osg::Geometry
osg::Geometry* SFCGAL::detail::io::OsgFactory::createGeometry | ( | const Geometry & | g | ) |
create a osg::Geometry from a Point
osg::Geometry* SFCGAL::detail::io::OsgFactory::createGeometry | ( | const Geometry & | g | ) |
create a osg::Geometry from a Point
osg::Vec3 SFCGAL::detail::io::OsgFactory::createVec3 | ( | const Point & | g | ) | const |
create a osg::Vec3 from a Point
osg::Vec3 SFCGAL::detail::io::OsgFactory::createVec3 | ( | const Point & | g | ) | const |
create a osg::Vec3 from a Point
|
protected |
create a vertex and returns its position in a vertice array
|
protected |
create a vertex and returns its position in a vertice array
|
protected |
create a vertex and returns its position in a vertice array
|
protected |
create a vertex and returns its position in a vertice array