Gui::SoFCDB Class Reference

The FreeCAD database class to initialize all our own Inventor nodes. More...

#include <SoFCDB.h>

Static Public Member Functions

static void finish ()
 
static SoGroupgetStorage ()
 
static void init ()
 
static SbBool isInitialized (void)
 
static SoNodereplaceSwitches (SoNode *node)
 
static const std::string & writeNodesToString (SoNode *root)
 helper to apply a SoWriteAction to a node and write it to a string More...
 
static bool writeToFile (SoNode *node, const char *filename, bool binary)
 
static bool writeToVRML (SoNode *node, const char *filename, bool binary)
 
static void writeToVRML (SoNode *node, std::string &buffer)
 
static bool writeToX3D (SoNode *node, bool exportViewpoints, std::string &buffer)
 
static bool writeToX3D (SoNode *node, const char *filename, bool binary)
 
static bool writeToX3DOM (SoNode *node, std::string &buffer)
 

Detailed Description

The FreeCAD database class to initialize all our own Inventor nodes.

Author
Werner Mayer

Member Function Documentation

◆ finish()

void Gui::SoFCDB::finish ( void  )
static

References Gui::SoFCBoundingBox::finish(), Gui::SoFCColorBarBase::finish(), Gui::SoFCColorBar::finish(), Gui::SoFCColorGradient::finish(), Gui::SoFCColorLegend::finish(), Gui::SoFCBackgroundGradient::finish(), Gui::SoFCSelection::finish(), Gui::SoFCHighlightAction::finish(), Gui::SoFCSelectionAction::finish(), Gui::SoFCEnableSelectionAction::finish(), Gui::SoFCEnableHighlightAction::finish(), Gui::SoFCSelectionColorAction::finish(), Gui::SoFCHighlightColorAction::finish(), Gui::SoFCDocumentAction::finish(), Gui::SoFCDocumentObjectAction::finish(), Gui::SoUpdateVBOAction::finish(), Gui::SoFCPathAnnotation::finish(), Gui::SoFCSeparator::finish(), and Gui::SoFCSelectionRoot::finish().

Referenced by drafttaskpanels.task_circulararray.TaskPanelCircularArray::accept(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray::accept(), drafttaskpanels.task_polararray.TaskPanelPolarArray::accept(), draftguitools.gui_arcs.Arc::action(), draftguitools.gui_beziers.BezCurve::action(), draftguitools.gui_beziers.CubicBezCurve::action(), draftguitools.gui_dimensions.Dimension::action(), draftguitools.gui_ellipses.Ellipse::action(), draftguitools.gui_fillets.Fillet::action(), draftguitools.gui_labels.Label::action(), draftguitools.gui_lines.Line::action(), draftguitools.gui_mirror.Mirror::action(), draftguitools.gui_move.Move::action(), draftguitools.gui_offset.Offset::action(), draftguitools.gui_polygons.Polygon::action(), draftguitools.gui_rectangles.Rectangle::action(), draftguitools.gui_rotate.Rotate::action(), draftguitools.gui_scale.Scale::action(), draftguitools.gui_selectplane.Draft_SelectPlane::action(), draftguitools.gui_shapestrings.ShapeString::action(), draftguitools.gui_splines.BSpline::action(), draftguitools.gui_split.Split::action(), draftguitools.gui_stretch.Stretch::action(), draftguitools.gui_texts.Text::action(), draftguitools.gui_trimex.Trimex::action(), draftguitools.gui_subelements.SubelementHighlight::action(), draftguitools.gui_clone.Clone::Activated(), draftguitools.gui_dimensions.Dimension::Activated(), draftguitools.gui_downgrade.Downgrade::Activated(), draftguitools.gui_draft2sketch.Draft2Sketch::Activated(), draftguitools.gui_edit.Edit::Activated(), draftguitools.gui_facebinders.Facebinder::Activated(), draftguitools.gui_join.Join::Activated(), draftguitools.gui_shape2dview.Shape2DView::Activated(), draftguitools.gui_subelements.SubelementHighlight::Activated(), draftguitools.gui_upgrade.Upgrade::Activated(), draftguitools.gui_wire2spline.WireToBSpline::Activated(), draftguitools.gui_selectplane.Draft_SelectPlane::checkSelection(), DraftGui.DraftToolBar::checkSpecialChars(), draftguitools.gui_points.Point::click(), draftguitools.gui_labels.Label::create(), draftguitools.gui_ellipses.Ellipse::createObject(), draftguitools.gui_rectangles.Rectangle::createObject(), draftguitools.gui_shapestrings.ShapeString::createObject(), draftguitools.gui_texts.Text::createObject(), draftviewproviders.view_text.ViewProviderText::createObject(), draftguitools.gui_stretch.Stretch::doStretch(), draftguitools.gui_arcs.Arc::drawArc(), draftguitools.gui_polygons.Polygon::drawPolygon(), DraftGui.DraftToolBar::escape(), draftguitools.gui_move.Move::get_object_selection(), draftguitools.gui_rotate.Rotate::get_object_selection(), draftguitools.gui_scale.Scale::get_object_selection(), draftguitools.gui_arcs.Arc_3Points::getPoint(), draftguitools.gui_edit.Edit::keyPressed(), draftguitools.gui_dimensions.Dimension::numericInput(), draftguitools.gui_trimex.Trimex::numericRadius(), draftguitools.gui_fillets.Fillet::numericRadius(), draftguitools.gui_offset.Offset::numericRadius(), draftguitools.gui_rotate.Rotate::numericRadius(), draftguitools.gui_selectplane.Draft_SelectPlane::onClickAlign(), draftguitools.gui_selectplane.Draft_SelectPlane::onClickAuto(), draftguitools.gui_selectplane.Draft_SelectPlane::onClickCenter(), draftguitools.gui_selectplane.Draft_SelectPlane::onClickFront(), draftguitools.gui_selectplane.Draft_SelectPlane::onClickMove(), draftguitools.gui_selectplane.Draft_SelectPlane::onClickPrevious(), draftguitools.gui_selectplane.Draft_SelectPlane::onClickSide(), draftguitools.gui_selectplane.Draft_SelectPlane::onClickTop(), draftguitools.gui_array_simple.Array::proceed(), draftguitools.gui_clone.Clone::proceed(), draftguitools.gui_downgrade.Downgrade::proceed(), draftguitools.gui_draft2sketch.Draft2Sketch::proceed(), draftguitools.gui_edit.Edit::proceed(), draftguitools.gui_facebinders.Facebinder::proceed(), draftguitools.gui_join.Join::proceed(), draftguitools.gui_patharray.PathArray::proceed(), draftguitools.gui_pathtwistedarray.PathTwistedArray::proceed(), draftguitools.gui_pointarray.PointArray::proceed(), draftguitools.gui_shape2dview.Shape2DView::proceed(), draftguitools.gui_subelements.SubelementHighlight::proceed(), draftguitools.gui_trimex.Trimex::proceed(), draftguitools.gui_upgrade.Upgrade::proceed(), draftguitools.gui_split.Split::proceed(), draftguitools.gui_selectplane.Draft_SelectPlane::reject(), drafttaskpanels.task_circulararray.TaskPanelCircularArray::reject(), drafttaskpanels.task_orthoarray.TaskPanelOrthoArray::reject(), drafttaskpanels.task_polararray.TaskPanelPolarArray::reject(), draftguitools.gui_edit.Edit::setTrackers(), and Gui::Application::~Application().

◆ getStorage()

SoGroup * Gui::SoFCDB::getStorage ( )
static

container for app lifetime storage. See SoFCCSysDragger for details on why this is needed.

◆ init()

void Gui::SoFCDB::init ( void  )
static

References Base::BaseClass::init(), SmSwitchboard::initClass(), Gui::SoAutoZoomTranslation::initClass(), Gui::SoAxisCrossKit::initClass(), Gui::SoRegPoint::initClass(), Gui::SoFCBoundingBox::initClass(), Gui::SoFCColorBarBase::initClass(), Gui::SoFCColorBar::initClass(), Gui::SoFCColorGradient::initClass(), Gui::SoFCColorLegend::initClass(), Gui::SoFCCSysDragger::initClass(), Gui::SoFCHighlightAction::initClass(), Gui::SoFCSelectionAction::initClass(), Gui::SoFCEnableSelectionAction::initClass(), Gui::SoFCEnableHighlightAction::initClass(), Gui::SoFCSelectionColorAction::initClass(), Gui::SoFCHighlightColorAction::initClass(), Gui::SoFCDocumentAction::initClass(), Gui::SoFCDocumentObjectAction::initClass(), Gui::SoGLSelectAction::initClass(), Gui::SoVisibleFaceAction::initClass(), Gui::SoUpdateVBOAction::initClass(), Gui::SoHighlightElementAction::initClass(), Gui::SoSelectionElementAction::initClass(), Gui::SoVRMLAction::initClass(), SoMouseWheelEvent::initClass(), RotTransDragger::initClass(), Gui::SoTextLabel::initClass(), Gui::SoColorBarLabel::initClass(), Gui::SoStringLabel::initClass(), Gui::SoFrameLabel::initClass(), Gui::TranslateManip::initClass(), Gui::SoShapeScale::initClass(), Gui::SoFCBackgroundGradient::initClass(), Gui::SoSkipBoundingGroup::initClass(), Gui::SoFCInteractiveElement::initClass(), Gui::SoGLWidgetElement::initClass(), Gui::SoGLRenderActionElement::initClass(), Gui::SoGLWidgetNode::initClass(), Gui::SoGLVBOActivatedElement::initClass(), Gui::SoFCSelection::initClass(), Gui::SoBoxSelectionRenderAction::initClass(), Gui::SoFCUnifiedSelection::initClass(), Gui::SoFCPathAnnotation::initClass(), Gui::SoFCSeparator::initClass(), Gui::SoFCSelectionRoot::initClass(), Gui::SoFCVectorizeSVGAction::initClass(), and Gui::SoFCVectorizeU3DAction::initClass().

Referenced by Gui::Application::initOpenInventor(), and DocumentObject.DocumentObject::onChanged().

◆ isInitialized()

SbBool Gui::SoFCDB::isInitialized ( void  )
static

◆ replaceSwitches()

SoNode * Gui::SoFCDB::replaceSwitches ( SoNode node)
static

◆ writeNodesToString()

const std::string & Gui::SoFCDB::writeNodesToString ( SoNode root)
static

◆ writeToFile()

bool Gui::SoFCDB::writeToFile ( SoNode node,
const char *  filename,
bool  binary 
)
static

◆ writeToVRML() [1/2]

bool Gui::SoFCDB::writeToVRML ( SoNode node,
const char *  filename,
bool  binary 
)
static

◆ writeToVRML() [2/2]

void Gui::SoFCDB::writeToVRML ( SoNode node,
std::string &  buffer 
)
static

◆ writeToX3D() [1/2]

bool Gui::SoFCDB::writeToX3D ( SoNode node,
bool  exportViewpoints,
std::string &  buffer 
)
static

◆ writeToX3D() [2/2]

bool Gui::SoFCDB::writeToX3D ( SoNode node,
const char *  filename,
bool  binary 
)
static

◆ writeToX3DOM()

bool Gui::SoFCDB::writeToX3DOM ( SoNode node,
std::string &  buffer 
)
static

Referenced by writeToFile().


The documentation for this class was generated from the following files: