SketcherGui::EditModeGeometryCoinManager Class Reference

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 ()
 

Detailed Description

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:

  1. Creation of Edit mode coin nodes to handle Geometry representation.
  2. Converting Sketcher geometry into Coin information.
  3. Updating the Geometry colors.

Internally, EditModeGeometryCoinManager uses yet another class for geometry conversion, GeometryCoinConverter.

Constructor & Destructor Documentation

◆ EditModeGeometryCoinManager()

EditModeGeometryCoinManager::EditModeGeometryCoinManager ( ViewProviderSketch vp,
DrawingParameters drawingParams,
GeometryLayerParameters geometryLayerParams,
AnalysisResults analysisResultStruct,
EditModeScenegraphNodes editModeScenegraph,
CoinMapping coinMap 
)
explicit

◆ ~EditModeGeometryCoinManager()

EditModeGeometryCoinManager::~EditModeGeometryCoinManager ( )

Member Function Documentation

◆ createEditModeInventorNodes()

◆ processGeometry()

◆ updateGeometryColor()

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.


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