#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 | 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... | |
returns the given camera position as povray defines in a file
References Raytracing::CamDef::CamPos, Raytracing::CamDef::LookAt, and Raytracing::CamDef::Up.
|
static |
writes the given camera position as povray defines in a file
References writeCameraVec().
Referenced by ArchBuildingPart.ViewProviderBuildingPart::setupContextMenu(), and draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy::setupContextMenu().
|
static |
writes the given camera positions as povray defines in a file
Referenced by writeCamera().
|
static |
write a given shape as povray file to disk
|
static |
write a given shape as povray file to disk
References writeShape().
Referenced by Raytracing::RayFeature::execute(), and writeShape().
|
static |
write a given shape as povray in a stream
References Base::Console(), Part::Tools::getPointNormals(), Part::Tools::getTriangulation(), Base::ConsoleSingleton::Log(), and Base::SequencerLauncher::next().
|
static |
write a given shape as points and normal Vectors in a comma separated format
References Base::Console(), Part::Tools::getPointNormals(), Part::Tools::getTriangulation(), Base::ConsoleSingleton::Log(), and Base::SequencerLauncher::next().