#include <PovTools.h>
Static Public Member Functions | |
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... | |
Member Function Documentation
◆ getCamera()
|
static |
returns the given camera position as povray defines in a file
References Raytracing::CamDef::CamPos, Raytracing::CamDef::LookAt, and Raytracing::CamDef::Up.
Referenced by RaytracingGui::Module::~Module().
◆ transferToArray()
|
static |
References Base::Console(), and Base::ConsoleSingleton::Log().
Referenced by Raytracing::LuxTools::writeShape().
◆ writeCamera()
|
static |
writes the given camera position as povray defines in a file
◆ writeCameraVec()
|
static |
writes the given camera positions as povray defines in a file
◆ writeData()
|
static |
write a given shape as povray file to disk
◆ writeShape() [1/2]
|
static |
write a given shape as povray file to disk
Referenced by Raytracing::RayFeature::execute().
◆ writeShape() [2/2]
|
static |
write a given shape as povray in a stream
References Base::Console(), Base::ConsoleSingleton::Log(), and Base::SequencerLauncher::next().
◆ writeShapeCSV()
|
static |
write a given shape as points and normal Vectors in a comma separated format
References Base::Console(), Base::ConsoleSingleton::Log(), and Base::SequencerLauncher::next().
The documentation for this class was generated from the following files:
- src/Mod/Raytracing/App/PovTools.h
- src/Mod/Raytracing/App/PovTools.cpp