Class for managing the Edit mode coin nodes of ViewProviderSketch relating to geometry. More...
#include <EditModeGeometryCoinManager.h>
Public Member Functions | |
EditModeGeometryCoinManager (ViewProviderSketch &vp, DrawingParameters &drawingParams, GeometryLayerParameters &geometryLayerParams, AnalysisResults &analysisResultStruct, EditModeScenegraphNodes &editModeScenegraph, CoinMapping &coinMap) | |
void | processGeometry (const GeoListFacade &geolistfacade) |
void | updateGeometryColor (const GeoListFacade &geolistfacade, bool issketchinvalid) |
~EditModeGeometryCoinManager () | |
coin nodes creation | |
void | createEditModeInventorNodes () |
Class for managing the Edit mode coin nodes of ViewProviderSketch relating to geometry.
EditModeGeometryCoinManager is a helper of EditModeCoinManager specialised in geometry management.
Three main functions are delegated to it:
Internally, EditModeGeometryCoinManager uses yet another class for geometry conversion, GeometryCoinConverter.
|
explicit |
EditModeGeometryCoinManager::~EditModeGeometryCoinManager | ( | ) |
void EditModeGeometryCoinManager::createEditModeInventorNodes | ( | ) |
References SketcherGui::GeometryLayerParameters::CoinLayers, SketcherGui::EditModeScenegraphNodes::CurvesCoordinate, SketcherGui::EditModeScenegraphNodes::CurvesDrawStyle, SketcherGui::EditModeScenegraphNodes::CurveSet, SketcherGui::EditModeScenegraphNodes::CurvesGroup, SketcherGui::EditModeScenegraphNodes::CurvesMaterials, SketcherGui::EditModeScenegraphNodes::EditRoot, Gui::Inventor::MarkerBitmaps::getMarkerIndex(), SketcherGui::DrawingParameters::markerSize, SketcherGui::DrawingParameters::pixelScalingFactor, SketcherGui::EditModeScenegraphNodes::PointsCoordinate, SketcherGui::EditModeScenegraphNodes::PointsDrawStyle, SketcherGui::EditModeScenegraphNodes::PointSet, SketcherGui::EditModeScenegraphNodes::PointsGroup, and SketcherGui::EditModeScenegraphNodes::PointsMaterials.
void EditModeGeometryCoinManager::processGeometry | ( | const GeoListFacade & | geolistfacade | ) |
References SketcherGui::AnalysisResults::boundingBoxMagnitudeOrder, SketcherGui::AnalysisResults::bsplineGeoIds, SketcherGui::GeometryLayerParameters::CoinLayers, SketcherGui::AnalysisResults::combRepresentationScale, SketcherGui::EditModeGeometryCoinConverter::convert(), SketcherGui::EditModeScenegraphNodes::CurvesCoordinate, SketcherGui::EditModeScenegraphNodes::CurveSet, SketcherGui::EditModeScenegraphNodes::CurvesGroup, SketcherGui::EditModeScenegraphNodes::CurvesMaterials, SmSwitchboard::enable, SketcherGui::EditModeGeometryCoinConverter::getBoundingBoxMaxMagnitude(), SketcherGui::EditModeGeometryCoinConverter::getBSplineGeoIds(), SketcherGui::EditModeGeometryCoinConverter::getCombRepresentationScale(), SketcherGui::EditModeScenegraphNodes::PointsCoordinate, SketcherGui::EditModeScenegraphNodes::PointsGroup, SketcherGui::EditModeScenegraphNodes::PointsMaterials, and SketcherGui::EditModeScenegraphNodes::RootCrossSet.
void EditModeGeometryCoinManager::updateGeometryColor | ( | const GeoListFacade & | geolistfacade, |
bool | issketchinvalid | ||
) |
References SketcherGui::GeometryLayerParameters::CoinLayers, SketcherGui::DrawingParameters::Construction, SketcherGui::DrawingParameters::CrossColorH, SketcherGui::DrawingParameters::CrossColorV, SketcherGui::DrawingParameters::CurveColor, SketcherGui::DrawingParameters::CurveDraftColor, SketcherGui::DrawingParameters::CurveExternalColor, SketcherGui::EditModeScenegraphNodes::CurvesCoordinate, SketcherGui::EditModeScenegraphNodes::CurveSet, SketcherGui::EditModeScenegraphNodes::CurvesMaterials, SketcherGui::DrawingParameters::ExternalGeometry, SketcherGui::MultiFieldId::fieldIndex, SketcherGui::DrawingParameters::FullyConstrainedColor, Sketcher::SolverGeometryExtension::FullyConstraint, SketcherGui::DrawingParameters::FullyConstraintConstructionElementColor, SketcherGui::DrawingParameters::FullyConstraintConstructionPointColor, SketcherGui::DrawingParameters::FullyConstraintElementColor, SketcherGui::DrawingParameters::FullyConstraintInternalAlignmentColor, Base::BaseClass::getClassTypeId(), Base::Persistence::getClassTypeId(), Sketcher::GeometryFacade::getConstruction(), SketcherGui::CoinMapping::getCurveGeoId(), Sketcher::GeoListModel< T >::getGeometryFacadeFromGeoId(), SketcherGui::CoinMapping::getIndexLayer(), SketcherGui::CoinMapping::getPointGeoId(), SketcherGui::DrawingParameters::InternalAlignedGeoColor, SketcherGui::MultiFieldId::Invalid, SketcherGui::DrawingParameters::InvalidSketchColor, Sketcher::GeometryFacade::isGeoType(), Sketcher::GeometryFacade::isInternalAligned(), SketcherGui::MultiFieldId::layerId, SketcherGui::DrawingParameters::midRenderingGeometry, SketcherGui::DrawingParameters::NormalGeometry, SketcherGui::EditModeScenegraphNodes::PointsCoordinate, SketcherGui::EditModeScenegraphNodes::PointsMaterials, SketcherGui::DrawingParameters::PreselectColor, SketcherGui::DrawingParameters::PreselectSelectedColor, SketcherGui::EditModeScenegraphNodes::RootCrossMaterials, SketcherGui::DrawingParameters::SelectColor, SketcherGui::DrawingParameters::topRenderingGeometry, SketcherGui::DrawingParameters::VertexColor, SketcherGui::DrawingParameters::zHighLine, SketcherGui::DrawingParameters::zHighLines, SketcherGui::DrawingParameters::zHighPoints, SketcherGui::DrawingParameters::zLowLines, SketcherGui::DrawingParameters::zLowPoints, SketcherGui::DrawingParameters::zMidLines, and SketcherGui::DrawingParameters::zRootPoint.