Utility functions for obtaining 3d window image. More...
#include <Grabber3d.h>
Static Public Member Functions | |
static double | copyActiveViewToSvgFile (App::Document *appDoc, std::string fileSpec, double outWidth=138.5, double outHeight=95.0, bool paintBackground=true, const QColor &bgcolor=QColor(Qt::white), double lineWidth=1.0, double border=0.0, int mode=0) |
static SoSeparator * | copySceneGraph (SoNode *sgIn) |
static void | execVectorizeAction (Gui::View3DInventorViewer *viewer, SoVectorizeAction *va, double width, double height, bool paintBackground, const QColor &bgcolor, double lineWidth, double border) |
static double | getPaperScale (Gui::View3DInventorViewer *viewer, double pWidth, double pHeight) |
static double | getViewerScale (Gui::View3DInventorViewer *viewer) |
static void | postProcessSvg (std::string fileSpec) |
Utility functions for obtaining 3d window image.
|
static |
References Base::Console(), copySceneGraph(), Base::ConsoleSingleton::Error(), execVectorizeAction(), Gui::Document::getActiveView(), Gui::Application::getDocument(), getPaperScale(), Gui::View3DInventor::getViewer(), getViewerScale(), Gui::Application::Instance, Base::ConsoleSingleton::Log(), Gui::View3DInventorViewer::setCameraType(), Gui::View3DInventorViewer::setSceneGraph(), OfflineRenderingUtils::viewer(), and Base::ConsoleSingleton::Warning().
Referenced by TechDrawGui::TaskActiveView::createActiveView().
|
static |
Referenced by copyActiveViewToSvgFile().
|
static |
|
static |
References Base::Console(), Base::ConsoleSingleton::Log(), and OfflineRenderingUtils::viewer().
Referenced by copyActiveViewToSvgFile().
|
static |
References OfflineRenderingUtils::viewer().
Referenced by copyActiveViewToSvgFile().
|
static |