#include <PovTools.h>
|
static std::string | getCamera (const CamDef &Cam, int width=800, int height=600) |
| returns the given camera position as povray defines in a file More...
|
|
static void | transferToArray (const TopoDS_Face &aFace, gp_Vec **vertices, gp_Vec **vertexnormals, long **cons, int &nbNodesInFace, int &nbTriInFace) |
|
static void | writeCamera (const char *FileName, const CamDef &Cam) |
| writes the given camera position as povray defines in a file More...
|
|
static void | writeCameraVec (const char *FileName, const std::vector< CamDef > &CamVec) |
| writes the given camera positions as povray defines in a file More...
|
|
static void | writeData (const char *FileName, const char *PartName, const Data::ComplexGeoData *, float fMeshDeviation=0.1) |
| write a given shape as povray file to disk More...
|
|
static void | writeShape (const char *FileName, const char *PartName, const TopoDS_Shape &Shape, float fMeshDeviation=0.1) |
| write a given shape as povray file to disk More...
|
|
static void | writeShape (std::ostream &out, const char *PartName, const TopoDS_Shape &Shape, float fMeshDeviation=0.1) |
| write a given shape as povray in a stream More...
|
|
static void | writeShapeCSV (const char *FileName, const TopoDS_Shape &Shape, float fMeshDeviation, float fLength) |
| write a given shape as points and normal Vectors in a comma separated format More...
|
|
◆ getCamera()
std::string PovTools::getCamera |
( |
const CamDef & |
Cam, |
|
|
int |
width = 800 , |
|
|
int |
height = 600 |
|
) |
| |
|
static |
◆ transferToArray()
void PovTools::transferToArray |
( |
const TopoDS_Face & |
aFace, |
|
|
gp_Vec ** |
vertices, |
|
|
gp_Vec ** |
vertexnormals, |
|
|
long ** |
cons, |
|
|
int & |
nbNodesInFace, |
|
|
int & |
nbTriInFace |
|
) |
| |
|
static |
◆ writeCamera()
void PovTools::writeCamera |
( |
const char * |
FileName, |
|
|
const CamDef & |
Cam |
|
) |
| |
|
static |
writes the given camera position as povray defines in a file
◆ writeCameraVec()
void PovTools::writeCameraVec |
( |
const char * |
FileName, |
|
|
const std::vector< CamDef > & |
CamVec |
|
) |
| |
|
static |
writes the given camera positions as povray defines in a file
◆ writeData()
void PovTools::writeData |
( |
const char * |
FileName, |
|
|
const char * |
PartName, |
|
|
const Data::ComplexGeoData * |
data, |
|
|
float |
fMeshDeviation = 0.1 |
|
) |
| |
|
static |
write a given shape as povray file to disk
◆ writeShape() [1/2]
void PovTools::writeShape |
( |
const char * |
FileName, |
|
|
const char * |
PartName, |
|
|
const TopoDS_Shape & |
Shape, |
|
|
float |
fMeshDeviation = 0.1 |
|
) |
| |
|
static |
◆ writeShape() [2/2]
void PovTools::writeShape |
( |
std::ostream & |
out, |
|
|
const char * |
PartName, |
|
|
const TopoDS_Shape & |
Shape, |
|
|
float |
fMeshDeviation = 0.1 |
|
) |
| |
|
static |
◆ writeShapeCSV()
void PovTools::writeShapeCSV |
( |
const char * |
FileName, |
|
|
const TopoDS_Shape & |
Shape, |
|
|
float |
fMeshDeviation, |
|
|
float |
fLength |
|
) |
| |
|
static |
The documentation for this class was generated from the following files:
- src/Mod/Raytracing/App/PovTools.h
- src/Mod/Raytracing/App/PovTools.cpp