SFCGAL  1.4.1
Public Member Functions | Protected Member Functions | List of all members
SFCGAL::detail::io::OsgFactory Class Reference

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...
 

Detailed Description

helper class to convert SFCGAL::Geometry to osg::Geometry

Member Function Documentation

◆ addToGeometry() [1/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const Geometry  
)
protected

add a SFCGAL::Geometry to a osg::Geometry (dispatch method)

◆ addToGeometry() [2/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const Geometry  
)
protected

add a SFCGAL::Geometry to a osg::Geometry (dispatch method)

◆ addToGeometry() [3/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const GeometryCollection  
)
protected

add a GeometryCollection to a osg::Geometry

◆ addToGeometry() [4/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const GeometryCollection  
)
protected

add a GeometryCollection to a osg::Geometry

◆ addToGeometry() [5/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const LineString  
)
protected

add a LineString to a osg::Geometry

◆ addToGeometry() [6/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const LineString  
)
protected

add a LineString to a osg::Geometry

◆ addToGeometry() [7/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const Point  
)
protected

add a Point to a osg::Geometry

◆ addToGeometry() [8/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const Point  
)
protected

add a Point to a osg::Geometry

◆ addToGeometry() [9/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const Polygon  
)
protected

add a Polygon to a osg::Geometry

◆ addToGeometry() [10/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const Polygon  
)
protected

add a Polygon to a osg::Geometry

◆ addToGeometry() [11/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const PolyhedralSurface  
)
protected

add a PolyhedralSurface to a osg::Geometry

◆ addToGeometry() [12/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const PolyhedralSurface  
)
protected

add a PolyhedralSurface to a osg::Geometry

◆ addToGeometry() [13/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const Solid  
)
protected

add a Solid to a osg::Geometry

◆ addToGeometry() [14/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const Solid  
)
protected

add a Solid to a osg::Geometry

◆ addToGeometry() [15/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const Triangle  
)
protected

add a Triangle to a osg::Geometry

◆ addToGeometry() [16/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const Triangle  
)
protected

add a Triangle to a osg::Geometry

◆ addToGeometry() [17/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const TriangulatedSurface  
)
protected

add a TIN to a osg::Geometry

◆ addToGeometry() [18/18]

void SFCGAL::detail::io::OsgFactory::addToGeometry ( osg::Geometry *  ,
const TriangulatedSurface  
)
protected

add a TIN to a osg::Geometry

◆ createGeometry() [1/2]

osg::Geometry* SFCGAL::detail::io::OsgFactory::createGeometry ( const Geometry g)

create a osg::Geometry from a Point

◆ createGeometry() [2/2]

osg::Geometry* SFCGAL::detail::io::OsgFactory::createGeometry ( const Geometry g)

create a osg::Geometry from a Point

◆ createVec3() [1/2]

osg::Vec3 SFCGAL::detail::io::OsgFactory::createVec3 ( const Point g) const

create a osg::Vec3 from a Point

◆ createVec3() [2/2]

osg::Vec3 SFCGAL::detail::io::OsgFactory::createVec3 ( const Point g) const

create a osg::Vec3 from a Point

◆ createVertex() [1/4]

size_t SFCGAL::detail::io::OsgFactory::createVertex ( osg::Vec3Array *  vertices,
const osg::Vec3 &  g 
)
protected

create a vertex and returns its position in a vertice array

◆ createVertex() [2/4]

size_t SFCGAL::detail::io::OsgFactory::createVertex ( osg::Vec3Array *  vertices,
const osg::Vec3 &  g 
)
protected

create a vertex and returns its position in a vertice array

◆ createVertex() [3/4]

size_t SFCGAL::detail::io::OsgFactory::createVertex ( osg::Vec3Array *  vertices,
const Point g 
)
protected

create a vertex and returns its position in a vertice array

◆ createVertex() [4/4]

size_t SFCGAL::detail::io::OsgFactory::createVertex ( osg::Vec3Array *  vertices,
const Point g 
)
protected

create a vertex and returns its position in a vertice array