mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025621: CAST analysis - Avoid constructors not supplying an initial value for all non-static data members
The constructors of classes from following files have been fixed to ensure that all non-static fields are initialized: Adaptor2d_Line2d.cxx Adaptor3d_IsoCurve.cxx Adaptor3d_OffsetCurve.cxx AdvApp2Var_ApproxAFunc2Var.cxx AIS_Dimension.cxx AIS_InteractiveContext.cxx Aspect_DisplayConnection.cxx BiTgte_CurveOnEdge.cxx BiTgte_CurveOnVertex.cxx BRepAdaptor_CompCurve.cxx BRepMesh_Circle.hxx BRepMesh_Delaun.cxx BRepToIGES_BREntity.cxx ChFi2d_AnaFilletAlgo.cxx ChFi2d_ChamferAPI.cxx ChFi2d_FilletAlgo.cxx ChFi2d_FilletAlgo.hxx Extrema_ExtPExtS.cxx Font_FTFont.cxx GccEnt_QualifiedCirc.cxx Geom2dAdaptor_Curve.cxx IGESData_IGESEntity.cxx IGESData_DefSwitch.cxx IGESToBRep_CurveAndSurface.cxx LDOM_XmlReader.cxx math_TrigonometricFunctionRoots.cxx NCollection_ListNode.hxx ProjLib_CompProjectedCurve.cxx ProjLib_ComputeApproxOnPolarSurface.cxx Select3D_Box2d.hxx Select3D_PointData.hxx
This commit is contained in:
@@ -98,16 +98,18 @@ namespace
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
AIS_Dimension::AIS_Dimension (const AIS_KindOfDimension theType)
|
||||
: AIS_InteractiveObject(),
|
||||
myCustomValue (0.0),
|
||||
myIsValueCustom (Standard_False),
|
||||
mySpecialSymbol (' '),
|
||||
: AIS_InteractiveObject (),
|
||||
mySelToleranceForText2d(0.0),
|
||||
myCustomValue (0.0),
|
||||
myIsValueCustom (Standard_False),
|
||||
myIsTextPositionFixed (Standard_False),
|
||||
mySpecialSymbol (' '),
|
||||
myDisplaySpecialSymbol (AIS_DSS_No),
|
||||
myGeometryType (GeometryType_UndefShapes),
|
||||
myIsPlaneCustom (Standard_False),
|
||||
myFlyout (0.0),
|
||||
myIsGeometryValid (Standard_False),
|
||||
myKindOfDimension (theType)
|
||||
myGeometryType (GeometryType_UndefShapes),
|
||||
myIsPlaneCustom (Standard_False),
|
||||
myFlyout (0.0),
|
||||
myIsGeometryValid (Standard_False),
|
||||
myKindOfDimension (theType)
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -78,7 +78,10 @@ mgrSelector(new SelectMgr_SelectionManager()),
|
||||
myMainPM(new PrsMgr_PresentationManager3d(MainViewer->Viewer())),
|
||||
myMainVwr(MainViewer),
|
||||
myMainSel(new StdSelect_ViewerSelector3d()),
|
||||
myToHilightSelected( Standard_True ),
|
||||
myWasLastMain(Standard_False),
|
||||
myCurrentTouched(Standard_False),
|
||||
mySelectedTouched(Standard_False),
|
||||
myToHilightSelected(Standard_True),
|
||||
myFilters(new SelectMgr_OrFilter()),
|
||||
myDefaultDrawer(new Prs3d_Drawer()),
|
||||
myDefaultColor(Quantity_NOC_GOLDENROD),
|
||||
@@ -88,6 +91,7 @@ myPreselectionColor(Quantity_NOC_GREEN),
|
||||
mySubIntensity(Quantity_NOC_GRAY40),
|
||||
myDisplayMode(0),
|
||||
myCurLocalIndex(0),
|
||||
myAISCurDetected(0),
|
||||
myZDetectionFlag(0),
|
||||
myIsAutoActivateSelMode( Standard_True )
|
||||
{
|
||||
|
Reference in New Issue
Block a user