Changesets: occt

master 3065019c

2016-08-26 14:33:46

msv


Committer: bugmaster Details Diff
0027804: Two breps cause intersections to loop for too long/infinitely

In ProjLib_ComputeApprox algorithm, compute correct parametric tolerance from the input 3D tolerance using surface resolution, in order to pass it to low-level 2D algorithm Approx_FitAndDivide2d (instantiation of the generic class Approx_ComputeCLine). Earlier 3D tolerance was used as parametric tolerance directly, which was a problem for surfaces with too small radius of curvature.

Also, eliminate redundant creation of the object of type AppParCurves_MultiCurve on each iteration in the method Approx_ComputeCLine::Compute.

The post treatment of the Edge/Edge intersections has been improved. Namely:
a. Making the procedure of sharing Edge/Edge intersection vertices consistent with intersection algorithm by enlarging bounding box of each vertex on half of Precision::Confusion();
b. Algorithm of computation of vertex tolerance (in order to cover tangent zone between Edges) has been changed for Line/Circle cases.

Test cases for issue CR27804
Adjusting test cases according to their new behavior.

Mark the test boolean/volumemaker/A8 as unstable between different versions of MSVS (2010 and 2013).
mod - src/Approx/Approx_ComputeCLine.gxx Diff File
mod - src/BOPAlgo/BOPAlgo_PaveFiller_3.cxx Diff File
mod - src/ProjLib/ProjLib_ComputeApprox.cxx Diff File
mod - tests/boolean/volumemaker/A8 Diff File
add - tests/bugs/moddata_3/bug27804_1 Diff File
add - tests/bugs/moddata_3/bug27804_2 Diff File

master fe0d928d

2016-08-26 13:10:19

ika


Committer: bugmaster Details Diff
0027807: Units are lost during import presentation of GDT.

Add entities to import a subtype of draughting_model,
Add units calculating during STEP reading.
mod - src/RWStepAP214/RWStepAP214_GeneralModule.cxx Diff File
mod - src/RWStepAP214/RWStepAP214_ReadWriteModule.cxx Diff File
mod - src/RWStepRepr/FILES Diff File
add - src/RWStepRepr/RWStepRepr_RWCharacterizedRepresentation.cxx Diff File
add - src/RWStepRepr/RWStepRepr_RWCharacterizedRepresentation.hxx Diff File
mod - src/RWStepVisual/FILES Diff File
add - src/RWStepVisual/RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.cxx Diff File
add - src/RWStepVisual/RWStepVisual_RWCharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx Diff File
mod - src/StepAP214/StepAP214_Protocol.cxx Diff File
mod - src/STEPCAFControl/STEPCAFControl_Reader.cxx Diff File
mod - src/StepRepr/FILES Diff File
add - src/StepRepr/StepRepr_CharacterizedRepresentation.cxx Diff File
add - src/StepRepr/StepRepr_CharacterizedRepresentation.hxx Diff File
mod - src/StepVisual/FILES Diff File
add - src/StepVisual/StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.cxx Diff File
add - src/StepVisual/StepVisual_CharacterizedObjectAndCharacterizedRepresentationAndDraughtingModelAndRepresentation.hxx Diff File
add - tests/gdt/presentation/A5 Diff File
add - tests/gdt/presentation/A6 Diff File
add - tests/gdt/presentation/A7 Diff File
add - tests/gdt/presentation/A8 Diff File
add - tests/gdt/presentation/A9 Diff File
add - tests/gdt/presentation/B1 Diff File
add - tests/gdt/presentation/B2 Diff File
add - tests/gdt/presentation/B3 Diff File
add - tests/gdt/presentation/B4 Diff File

master 87b48b40

2016-08-26 12:19:19

bugmaster

Details Diff
0025220: Using BRepFill_OffsetWire withs wires containing arc edges throws exception "Standard_NullValue"
Adding testing case
Affected Issues
0025220
add - tests/bugs/modalg_6/bug25220 Diff File

master 45396f87

2016-08-25 13:57:08

bugmaster

Details Diff
0026910: General fuse does not find intersection between line and circle
Adding testing case
Affected Issues
0026910
add - tests/bugs/modalg_6/bug26910 Diff File

master 1ede545f

2016-08-25 13:46:13

oan


Committer: bugmaster Details Diff
0027810: Compilation error on NCollection_UBTree::Kill() Affected Issues
0027810
mod - src/NCollection/NCollection_UBTree.hxx Diff File

master dde68833

2016-08-25 11:58:51

abv


Committer: abv Details Diff
0027772: Foundation Classes - define Standard_Boolean using C++ type "bool" instead of "unsigned int"

Code has been updated to remove no-op casts and implicit casts to Standard_Boolean.

Places of inproper use of Standard_Boolean instead of Standard_Integer
have been corrected:
- Bnd_Box, Bnd_Box2d
Bit flags are now defined as private enum
- HLRAlgo_BiPoint, HLRAlgo_EdgesBlock, HLRBRep_EdgeData, HLRBRep_FaceData
Bit flags are now defined as enum
- HLRAlgo_EdgeStatus, HLRBRep_BiPnt2D, HLRBRep_BiPoint
Bit flags are now defined as bool fields
- HLRAlgo_PolyData
Bit flags are now defined as Standard_Integer
- OSD_DirectoryIterator, OSD_FileIterator
Boolean flag is now defined as Standard_Boolean
- ShapeAnalysis_Surface::SurfaceNewton()
now returns Standard_Integer (values 0, 1 or 3)
- ChFi2d_FilletAlgo
now uses TColStd_SequenceOfBoolean instead of TColStd_SequenceOfInteger
for storing boolean flags

Method IFSelect_Dispatch::PacketsCount() has been dropped from interface.

ShapeFix_Solid::Status() has been fixed to decode requested status
instead of returning integer value.

TopOpeBRepBuild_Builder1 now defines map storing Standard_Boolean values
instead of Standard_Integer.

Persistence for Standard_Boolean type has been corrected
to keep backward compatibility:
- BinMDataStd, BinTools, FSD_BinaryFile

Broken Draw Harness commands vdisplaymode and verasemode have been removed.

BRepMesh_FastDiscretFace::initDataStructure() - workaround old gcc limitations

BRepMesh_IncrementalMesh::clear() - avoid ambiguity
Affected Issues
0027772
mod - dox/dev_guides/upgrade/upgrade.md Diff File
mod - samples/mfc/standard/08_HLR/src/SelectionDialog.cpp Diff File
mod - samples/mfc/standard/Common/ColoredMeshDlg.cpp Diff File
mod - samples/mfc/standard/Common/DimensionDlg.cpp Diff File
mod - samples/mfc/standard/Common/User_Cylinder.cxx Diff File
mod - src/Adaptor3d/Adaptor3d_IsoCurve.cxx Diff File
mod - src/BinLDrivers/BinLDrivers_DocumentSection.cxx Diff File
mod - src/BinMDataStd/BinMDataStd_ByteArrayDriver.cxx Diff File
mod - src/BinMDataStd/BinMDataStd_ExtStringArrayDriver.cxx Diff File
mod - src/BinMDataStd/BinMDataStd_IntegerArrayDriver.cxx Diff File
mod - src/BinMDataStd/BinMDataStd_IntPackedMapDriver.cxx Diff File
mod - src/BinMDataStd/BinMDataStd_RealArrayDriver.cxx Diff File
mod - src/BinMDataXtd/BinMDataXtd_ConstraintDriver.cxx Diff File
mod - src/BinMDataXtd/BinMDataXtd_PatternStdDriver.cxx Diff File
mod - src/BinMDataXtd/BinMDataXtd_PresentationDriver.cxx Diff File
mod - src/BinObjMgt/BinObjMgt_Persistent.lxx Diff File
mod - src/BinTools/BinTools.cxx Diff File
mod - src/Bnd/Bnd_Box.cxx Diff File
mod - src/Bnd/Bnd_Box.hxx Diff File
rm - src/Bnd/Bnd_Box.lxx Diff File
mod - src/Bnd/Bnd_Box2d.hxx Diff File
rm - src/Bnd/Bnd_Box2d.lxx Diff File
mod - src/Bnd/FILES Diff File
mod - src/BOPDS/BOPDS_IndexRange.lxx Diff File
mod - src/BOPDS/BOPDS_Interf.hxx Diff File
mod - src/BOPTest/BOPTest_OptionCommands.cxx Diff File
mod - src/BOPTools/BOPTools_AlgoTools.cxx Diff File
mod - src/BOPTools/BOPTools_AlgoTools.hxx Diff File
mod - src/BRep/BRep_TEdge.cxx Diff File
mod - src/BRepAlgo/BRepAlgo_Tool.cxx Diff File
mod - src/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx Diff File
mod - src/BRepBuilderAPI/BRepBuilderAPI_Sewing.hxx Diff File
mod - src/BRepFill/BRepFill_Sweep.cxx Diff File
mod - src/BRepFill/BRepFill_TrimShellCorner.cxx Diff File
mod - src/BRepMesh/BRepMesh_Delaun.cxx Diff File
mod - src/BRepMesh/BRepMesh_FastDiscretFace.cxx Diff File
mod - src/BRepMesh/BRepMesh_IncrementalMesh.cxx Diff File
mod - src/BRepPrim/BRepPrim_GWedge.cxx Diff File
mod - src/BRepPrim/BRepPrim_OneAxis.cxx Diff File
mod - src/BRepTest/BRepTest_CheckCommands.cxx Diff File
mod - src/BRepTest/BRepTest_CurveCommands.cxx Diff File
mod - src/BRepTest/BRepTest_DraftAngleCommands.cxx Diff File
mod - src/BRepTest/BRepTest_FeatureCommands.cxx Diff File
mod - src/BRepTest/BRepTest_FillingCommands.cxx Diff File
mod - src/BRepTest/BRepTest_SweepCommands.cxx Diff File
mod - src/BRepToIGES/BRepToIGES_BREntity.cxx Diff File
mod - src/BRepToIGESBRep/BRepToIGESBRep_Entity.cxx Diff File
mod - src/BRepTools/BRepTools_Quilt.cxx Diff File
mod - src/ChFi2d/ChFi2d_FilletAlgo.cxx Diff File
mod - src/ChFi2d/ChFi2d_FilletAlgo.hxx Diff File
mod - src/ChFi3d/ChFi3d_Builder.hxx Diff File
mod - src/ChFi3d/ChFi3d_Builder_2.cxx Diff File
mod - src/ChFi3d/ChFi3d_Builder_6.cxx Diff File
mod - src/ChFi3d/ChFi3d_Builder_C1.cxx Diff File
mod - src/ChFi3d/ChFi3d_Builder_C2.cxx Diff File
mod - src/ChFi3d/ChFi3d_ChBuilder.cxx Diff File
mod - src/ChFi3d/ChFi3d_ChBuilder.hxx Diff File
mod - src/ChFi3d/ChFi3d_ChBuilder_C3.cxx Diff File
mod - src/ChFi3d/ChFi3d_FilBuilder.cxx Diff File
mod - src/ChFi3d/ChFi3d_FilBuilder.hxx Diff File
mod - src/ChFi3d/ChFi3d_FilBuilder_C3.cxx Diff File
mod - src/ChFiDS/ChFiDS_SurfData.lxx Diff File
mod - src/DDataStd/DDataStd_BasicCommands.cxx Diff File
mod - src/DDataStd/DDataStd_TreeCommands.cxx Diff File
mod - src/DNaming/DNaming.cxx Diff File
mod - src/DNaming/DNaming_BasicCommands.cxx Diff File
mod - src/DNaming/DNaming_Line3DDriver.cxx Diff File
mod - src/DNaming/DNaming_ModelingCommands.cxx Diff File
mod - src/DNaming/DNaming_SelectionCommands.cxx Diff File
mod - src/Draw/Draw.cxx Diff File
mod - src/Draw/Draw_Interpretor.cxx Diff File
mod - src/Extrema/Extrema_Curve2dTool.lxx Diff File
mod - src/FilletSurf/FilletSurf_InternalBuilder.cxx Diff File
mod - src/FilletSurf/FilletSurf_InternalBuilder.hxx Diff File
mod - src/FSD/FSD_BinaryFile.cxx Diff File
mod - src/GeometryTest/GeometryTest_CurveCommands.cxx Diff File
mod - src/Graphic3d/Graphic3d_MarkerImage.cxx Diff File
mod - src/HLRAlgo/FILES Diff File
mod - src/HLRAlgo/HLRAlgo_BiPoint.cxx Diff File
mod - src/HLRAlgo/HLRAlgo_BiPoint.hxx Diff File
rm - src/HLRAlgo/HLRAlgo_BiPoint.lxx Diff File
mod - src/HLRAlgo/HLRAlgo_EdgesBlock.hxx Diff File
rm - src/HLRAlgo/HLRAlgo_EdgesBlock.lxx Diff File
mod - src/HLRAlgo/HLRAlgo_EdgeStatus.cxx Diff File
mod - src/HLRAlgo/HLRAlgo_EdgeStatus.hxx Diff File
rm - src/HLRAlgo/HLRAlgo_EdgeStatus.lxx Diff File
mod - src/HLRAlgo/HLRAlgo_PolyAlgo.cxx Diff File
mod - src/HLRAlgo/HLRAlgo_PolyData.cxx Diff File
mod - src/HLRAlgo/HLRAlgo_PolyData.hxx Diff File
mod - src/HLRBRep/FILES Diff File
rm - src/HLRBRep/HLRBRep_BiPnt2D.cxx Diff File
mod - src/HLRBRep/HLRBRep_BiPnt2D.hxx Diff File
rm - src/HLRBRep/HLRBRep_BiPnt2D.lxx Diff File
rm - src/HLRBRep/HLRBRep_BiPoint.cxx Diff File
mod - src/HLRBRep/HLRBRep_BiPoint.hxx Diff File
rm - src/HLRBRep/HLRBRep_BiPoint.lxx Diff File
mod - src/HLRBRep/HLRBRep_EdgeData.hxx Diff File
mod - src/HLRBRep/HLRBRep_EdgeData.lxx Diff File
mod - src/HLRBRep/HLRBRep_FaceData.hxx Diff File
mod - src/HLRBRep/HLRBRep_FaceData.lxx Diff File
mod - src/HLRBRep/HLRBRep_PolyAlgo.cxx Diff File
mod - src/HLRBRep/HLRBRep_PolyAlgo.hxx Diff File
mod - src/IFSelect/IFSelect_Dispatch.cxx Diff File
mod - src/IFSelect/IFSelect_Dispatch.hxx Diff File
mod - src/IFSelect/IFSelect_DispGlobal.cxx Diff File
mod - src/IFSelect/IFSelect_DispGlobal.hxx Diff File
mod - src/IFSelect/IFSelect_DispPerCount.cxx Diff File
mod - src/IFSelect/IFSelect_DispPerCount.hxx Diff File
mod - src/IFSelect/IFSelect_DispPerFiles.cxx Diff File
mod - src/IFSelect/IFSelect_DispPerFiles.hxx Diff File
mod - src/IFSelect/IFSelect_DispPerOne.cxx Diff File
mod - src/IFSelect/IFSelect_DispPerOne.hxx Diff File
mod - src/IFSelect/IFSelect_Functions.cxx Diff File
mod - src/IFSelect/IFSelect_SelectRootComps.cxx Diff File
mod - src/IFSelect/IFSelect_SelectRoots.cxx Diff File
mod - src/IFSelect/IFSelect_SessionPilot.cxx Diff File
mod - src/IGESData/IGESData_IGESEntity.cxx Diff File
mod - src/IGESDraw/IGESDraw_CircArraySubfigure.cxx Diff File
mod - src/IGESDraw/IGESDraw_CircArraySubfigure.hxx Diff File
mod - src/IGESDraw/IGESDraw_ConnectPoint.cxx Diff File
mod - src/IGESDraw/IGESDraw_ConnectPoint.hxx Diff File
mod - src/IGESDraw/IGESDraw_RectArraySubfigure.cxx Diff File
mod - src/IGESDraw/IGESDraw_RectArraySubfigure.hxx Diff File
mod - src/IGESSolid/IGESSolid_TopoBuilder.cxx Diff File
mod - src/IGESSolid/IGESSolid_TopoBuilder.hxx Diff File
mod - src/IGESToBRep/IGESToBRep_Actor.cxx Diff File
mod - src/IntPatch/IntPatch_RstInt.cxx Diff File
mod - src/IntTools/IntTools_EdgeEdge.cxx Diff File
mod - src/IVtkDraw/IVtkDraw.cxx Diff File
mod - src/IVtkDraw/IVtkDraw_Interactor.cxx Diff File
mod - src/IVtkOCC/IVtkOCC_ShapeMesher.cxx Diff File
mod - src/LocOpe/LocOpe_SplitShape.cxx Diff File
mod - src/LocOpe/LocOpe_WiresOnShape.cxx Diff File
mod - src/OpenGl/OpenGl_Clipping.hxx Diff File
mod - src/OSD/OSD_DirectoryIterator.cxx Diff File
mod - src/OSD/OSD_DirectoryIterator.hxx Diff File
mod - src/OSD/OSD_FileIterator.cxx Diff File
mod - src/OSD/OSD_FileIterator.hxx Diff File
mod - src/Poly/Poly_MakeLoops.hxx Diff File
mod - src/QABugs/QABugs_11.cxx Diff File
mod - src/QABugs/QABugs_19.cxx Diff File
mod - src/QADNaming/QADNaming_BasicCommands.cxx Diff File
mod - src/QANewBRepNaming/QANewBRepNaming_Loader.cxx Diff File
mod - src/QANewBRepNaming/QANewBRepNaming_LoaderParent.cxx Diff File
mod - src/QANewDBRepNaming/QANewDBRepNaming_PrimitiveCommands.cxx Diff File
mod - src/QANewModTopOpe/QANewModTopOpe_Tools.cxx Diff File
mod - src/RWStl/RWStl.cxx Diff File
mod - src/SelectMgr/SelectMgr_BaseFrustum.cxx Diff File
mod - src/SelectMgr/SelectMgr_BaseFrustum.hxx Diff File
mod - src/ShapeAnalysis/ShapeAnalysis_Surface.cxx Diff File
mod - src/ShapeAnalysis/ShapeAnalysis_Surface.hxx Diff File
mod - src/ShapeCustom/ShapeCustom_DirectModification.cxx Diff File
mod - src/ShapeFix/ShapeFix_ComposeShell.cxx Diff File
mod - src/ShapeFix/ShapeFix_Face.cxx Diff File
mod - src/ShapeFix/ShapeFix_Shape.cxx Diff File
mod - src/ShapeFix/ShapeFix_Shell.cxx Diff File
mod - src/ShapeFix/ShapeFix_Solid.cxx Diff File
mod - src/ShapeFix/ShapeFix_Wire.cxx Diff File
mod - src/ShapePersistent/ShapePersistent_BRep.cxx Diff File
mod - src/ShapePersistent/ShapePersistent_TopoDS.cxx Diff File
mod - src/ShapeProcess/ShapeProcess_Context.cxx Diff File
mod - src/ShapeProcess/ShapeProcess_OperLibrary.cxx Diff File
mod - src/Standard/Standard_Character.hxx Diff File
mod - src/Standard/Standard_Transient.cxx Diff File
mod - src/Standard/Standard_TypeDef.hxx Diff File
mod - src/StdLPersistent/StdLPersistent_Collection.cxx Diff File
mod - src/StdLPersistent/StdLPersistent_Collection.hxx Diff File
mod - src/STEPCAFControl/STEPCAFControl_Writer.cxx Diff File
mod - src/STEPControl/STEPControl_ActorRead.cxx Diff File
mod - src/STEPControl/STEPControl_ActorWrite.cxx Diff File
mod - src/STEPControl/STEPControl_Reader.cxx Diff File
mod - src/StepToTopoDS/StepToTopoDS_TranslateEdge.cxx Diff File
mod - src/SWDRAW/SWDRAW_ShapeAnalysis.cxx Diff File
mod - src/SWDRAW/SWDRAW_ShapeCustom.cxx Diff File
mod - src/SWDRAW/SWDRAW_ShapeExtend.cxx Diff File
mod - src/TColStd/TColStd_PackedMapOfInteger.hxx Diff File
mod - src/TDataStd/TDataStd_BooleanList.cxx Diff File
mod - src/TestTopOpe/TestTopOpe_BOOPCommands.cxx Diff File
mod - src/TFunction/FILES Diff File
mod - src/TFunction/TFunction_Function.hxx Diff File
rm - src/TFunction/TFunction_Function.lxx Diff File
mod - src/TObj/TObj_Object.cxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeStepEdge.cxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeStepFace.cxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeStepVertex.cxx Diff File
mod - src/TopOpeBRep/TopOpeBRep_FacesFiller.hxx Diff File
mod - src/TopOpeBRep/TopOpeBRep_FacesFiller_1.cxx Diff File
mod - src/TopOpeBRep/TopOpeBRep_FFTransitionTool.cxx Diff File
mod - src/TopOpeBRep/TopOpeBRep_traceBOOPNINT.cxx Diff File
mod - src/TopOpeBRep/TopOpeBRep_vpr.cxx Diff File
mod - src/TopOpeBRep/TopOpeBRep_vprclo.cxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_Builder.cxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_Builder1.cxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_Builder1.hxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_GTool.cxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_GTopo.cxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_GTopo.hxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_KPart.cxx Diff File
mod - src/TopOpeBRepDS/TopOpeBRepDS_redu.cxx Diff File
mod - src/TopOpeBRepDS/TopOpeBRepDS_repvg.cxx Diff File
mod - src/ViewerTest/ViewerTest.cxx Diff File
mod - src/ViewerTest/ViewerTest_CmdParser.cxx Diff File
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File
mod - src/XCAFDoc/XCAFDoc_Dimension.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_ByteArrayDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_ExtStringArrayDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_IntegerArrayDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_IntPackedMapDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_RealArrayDriver.cxx Diff File
mod - src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx Diff File

master 1593b4ee

2016-08-23 14:26:22

kgv


Committer: bugmaster Details Diff
0027797: Visualization - consider ZLayer properties while sorting list of picked entities

OpenGl_GraphicDriver::ZLayers() / V3d_Viewer::GetAllZLayers() now return
the layers sequence following rendering order (taking into account IsImmediate flag).

StdSelect_ViewerSelector3d::Pick() now sort result taking into account ZLayers flags.
mod - src/OpenGl/OpenGl_GraphicDriver.cxx Diff File
mod - src/OpenGl/OpenGl_GraphicDriver.hxx Diff File
mod - src/SelectMgr/FILES Diff File
rm - src/SelectMgr/SelectMgr_SortCriterion.cxx Diff File
mod - src/SelectMgr/SelectMgr_SortCriterion.hxx Diff File
rm - src/SelectMgr/SelectMgr_SortCriterion.lxx Diff File
mod - src/SelectMgr/SelectMgr_ViewerSelector.cxx Diff File
mod - src/SelectMgr/SelectMgr_ViewerSelector.hxx Diff File
mod - src/StdSelect/StdSelect_ViewerSelector3d.cxx Diff File
mod - src/StdSelect/StdSelect_ViewerSelector3d.hxx Diff File
add - tests/bugs/vis/bug27797 Diff File

master 3fe9ce0e

2016-08-23 14:11:49

abv


Committer: abv Details Diff
0027793: Visualization - object drifts at zoom within Graphic3d_TMF_TriedronPers applied

Graphic3d_TransformPers now takes Graphic3d_Camera definition as argument
for methods applying transformation.

Graphic3d_TransformPers::Apply() now computes Graphic3d_TMF_TriedronPers
transformation in the following way:
- The object is moved onto Z focus distance.
- The object is expected to be defined in pixels.
- The Z coordinate on anchor point is used as offset from the view corner in pixels.
- It is now possible to define not only corners of the view, but also middle of the side.
- Graphic3d_TMF_TriedronPers now works with perspective projection.

OpenGl_LayerList::ChangeLayer() - fixed removing of the element in old ZLayer.

OpenGl_Layer::BoundingBox() now takes into account bounding box
of Graphic3d_TMF_TriedronPers presentations for Z-fit operation.
mod - dox/dev_guides/upgrade/upgrade.md Diff File
mod - src/Graphic3d/Graphic3d_Camera.cxx Diff File
mod - src/Graphic3d/Graphic3d_Camera.hxx Diff File
mod - src/Graphic3d/Graphic3d_CStructure.hxx Diff File
mod - src/Graphic3d/Graphic3d_CView.cxx Diff File
mod - src/Graphic3d/Graphic3d_CView.hxx Diff File
mod - src/Graphic3d/Graphic3d_TransformPers.hxx Diff File
mod - src/OpenGl/OpenGl_BVHClipPrimitiveTrsfPersSet.cxx Diff File
mod - src/OpenGl/OpenGl_BVHClipPrimitiveTrsfPersSet.hxx Diff File
mod - src/OpenGl/OpenGl_BVHTreeSelector.cxx Diff File
mod - src/OpenGl/OpenGl_BVHTreeSelector.hxx Diff File
mod - src/OpenGl/OpenGl_GraduatedTrihedron.cxx Diff File
mod - src/OpenGl/OpenGl_Layer.cxx Diff File
mod - src/OpenGl/OpenGl_Layer.hxx Diff File
mod - src/OpenGl/OpenGl_LayerList.cxx Diff File
mod - src/OpenGl/OpenGl_Structure.cxx Diff File
mod - src/OpenGl/OpenGl_View.cxx Diff File
mod - src/OpenGl/OpenGl_View.hxx Diff File
mod - src/SelectMgr/SelectMgr_BaseFrustum.cxx Diff File
mod - src/SelectMgr/SelectMgr_BaseFrustum.hxx Diff File
mod - src/SelectMgr/SelectMgr_SelectableObjectTrsfPersSet.cxx Diff File
mod - src/SelectMgr/SelectMgr_SelectableObjectTrsfPersSet.hxx Diff File
mod - src/SelectMgr/SelectMgr_SelectingVolumeManager.hxx Diff File
mod - src/SelectMgr/SelectMgr_ViewerSelector.cxx Diff File
mod - src/V3d/V3d_View.cxx Diff File
mod - src/ViewerTest/ViewerTest.cxx Diff File
mod - tests/bugs/vis/bug26344 Diff File
add - tests/bugs/vis/bug27793 Diff File

master a2f76b15

2016-08-23 12:52:11

rkv


Committer: bugmaster Details Diff
0027567: VIS - possible memory leaks due to use of plain pointers: Fix also the VIS guide. Add the test v3d/ivtk/bug27567. Add a draw command "ivtkremove".
0027734: Configuration - TKIVtkDraw build fails with TBB: Remove unnecessary define statement (windows specific).

Small correction of test case for issue CR27567
Affected Issues
0027567
mod - dox/user_guides/vis/vis.md Diff File
mod - src/Draw/Draw_Interpretor.cxx Diff File
mod - src/DrawResources/TestCommands.tcl Diff File
mod - src/IVtkDraw/IVtkDraw.cxx Diff File
mod - src/IVtkDraw/IVtkDraw_HighlightAndSelectionPipeline.cxx Diff File
mod - src/IVtkDraw/IVtkDraw_Interactor.cxx Diff File
mod - src/IVtkOCC/IVtkOCC_SelectableObject.cxx Diff File
mod - src/IVtkOCC/IVtkOCC_SelectableObject.hxx Diff File
mod - src/IVtkOCC/IVtkOCC_ShapeMesher.cxx Diff File
mod - src/IVtkOCC/IVtkOCC_ShapePickerAlgo.cxx Diff File
mod - src/IVtkOCC/IVtkOCC_ShapePickerAlgo.hxx Diff File
mod - src/IVtkOCC/IVtkOCC_ViewerSelector.cxx Diff File
mod - src/IVtkOCC/IVtkOCC_ViewerSelector.hxx Diff File
mod - src/IVtkTools/IVtkTools.cxx Diff File
mod - src/IVtkTools/IVtkTools.hxx Diff File
mod - src/IVtkTools/IVtkTools_DisplayModeFilter.hxx Diff File
mod - src/IVtkTools/IVtkTools_ShapeDataSource.cxx Diff File
mod - src/IVtkTools/IVtkTools_ShapeDataSource.hxx Diff File
mod - src/IVtkTools/IVtkTools_ShapeObject.cxx Diff File
mod - src/IVtkTools/IVtkTools_ShapeObject.hxx Diff File
mod - src/IVtkTools/IVtkTools_ShapePicker.cxx Diff File
mod - src/IVtkTools/IVtkTools_ShapePicker.hxx Diff File
mod - src/IVtkTools/IVtkTools_SubPolyDataFilter.cxx Diff File
mod - src/IVtkTools/IVtkTools_SubPolyDataFilter.hxx Diff File
mod - src/IVtkVTK/IVtkVTK_ShapeData.cxx Diff File
mod - src/IVtkVTK/IVtkVTK_ShapeData.hxx Diff File
mod - src/IVtkVTK/IVtkVTK_View.cxx Diff File
mod - src/IVtkVTK/IVtkVTK_View.hxx Diff File
mod - tests/bugs/begin Diff File
add - tests/v3d/ivtk/bug27567 Diff File

master e5b8456d

2016-08-23 12:18:48

kgv


Committer: bugmaster Details Diff
0027783: Visualization, XCAFPrs_AISObject - override method SetMaterial()

XCAFPrs_AISObject::SetMaterial() now changes the default material of the object
but preserves custom XDE styles.

XCAFPrs_AISObject::Compute() now does not reset map of custom aspects each call,
so that to keep in sync aspects across multiple presentations.

AIS_InteractiveContext - private methods and class fields
are now protected to allow inheritance.
Affected Issues
0027783
mod - src/AIS/AIS_ColoredShape.hxx Diff File
mod - src/AIS/AIS_InteractiveContext.hxx Diff File
mod - src/XCAFPrs/XCAFPrs_AISObject.cxx Diff File
mod - src/XCAFPrs/XCAFPrs_AISObject.hxx Diff File

master 94afca11

2016-08-23 12:00:50

kgv


Committer: bugmaster Details Diff
0027801: Configuration - fix compilation of Standard.cxx when using MinGW-W64 Affected Issues
0027801
mod - src/OSD/OSD_signal.cxx Diff File
mod - src/Standard/Standard.cxx Diff File

master f3ec3b37

2016-08-23 08:06:03

ika


Committer: bugmaster Details Diff
0027645: Data Exchange - access violation when reading STEP AP242 file

Fix exceptions, add test cases.

Small correction of test cases for issue CR27645
mod - src/STEPCAFControl/STEPCAFControl_Reader.cxx Diff File
mod - src/STEPCAFControl/STEPCAFControl_Writer.cxx Diff File
add - tests/gdt/export/A6 Diff File
add - tests/gdt/export/A7 Diff File
add - tests/gdt/export/A8 Diff File
add - tests/gdt/export/A9 Diff File
add - tests/gdt/export/B1 Diff File
add - tests/gdt/export/B2 Diff File
add - tests/gdt/export/B3 Diff File
add - tests/gdt/export/B4 Diff File
add - tests/gdt/export/B5 Diff File

master 3bffef55

2016-08-21 18:55:10

osa


Committer: bugmaster Details Diff
0022582: Visualization - provide an API for dumping a sub-region of the viewport

Graphic3d_Camera definition has been exended by optional Tile property (Graphic3d_CameraTile structure).
V3d_View::ToPixMap() now performs tiled dump when image size exceeds hardware limits.

OpenGl_View::Redraw() - fixed dump of immediate Z layers in no stereo and no MSAA case.

OpenGl_Context now tracks viewport values.
Draw Harness command vdump has been extended with new argument -tileSize.
Affected Issues
0022582
mod - src/Graphic3d/FILES Diff File
mod - src/Graphic3d/Graphic3d_Camera.cxx Diff File
mod - src/Graphic3d/Graphic3d_Camera.hxx Diff File
add - src/Graphic3d/Graphic3d_CameraTile.hxx Diff File
mod - src/Graphic3d/Graphic3d_GraphicDriver.hxx Diff File
mod - src/Graphic3d/Graphic3d_TransformPers.hxx Diff File
mod - src/Graphic3d/Graphic3d_TransformUtils.hxx Diff File
add - src/Graphic3d/Graphic3d_TypeOfLimit.hxx Diff File
mod - src/OpenGl/OpenGl_BackgroundArray.cxx Diff File
mod - src/OpenGl/OpenGl_BackgroundArray.hxx Diff File
mod - src/OpenGl/OpenGl_Context.cxx Diff File
mod - src/OpenGl/OpenGl_Context.hxx Diff File
mod - src/OpenGl/OpenGl_FrameBuffer.cxx Diff File
mod - src/OpenGl/OpenGl_GraduatedTrihedron.cxx Diff File
mod - src/OpenGl/OpenGl_GraphicDriver.cxx Diff File
mod - src/OpenGl/OpenGl_GraphicDriver.hxx Diff File
mod - src/OpenGl/OpenGl_Structure.cxx Diff File
mod - src/OpenGl/OpenGl_Text.cxx Diff File
mod - src/OpenGl/OpenGl_Text.hxx Diff File
mod - src/OpenGl/OpenGl_View_Redraw.cxx Diff File
mod - src/OpenGl/OpenGl_Window.cxx Diff File
mod - src/V3d/FILES Diff File
add - src/V3d/V3d_ImageDumpOptions.hxx Diff File
mod - src/V3d/V3d_View.cxx Diff File
mod - src/V3d/V3d_View.hxx Diff File
mod - src/ViewerTest/ViewerTest.cxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File
add - tests/v3d/glsl/tiles Diff File

master 150ed3d5

2016-08-20 16:37:56

kgv


Committer: bugmaster Details Diff
0027796: Visualization - allow 3D objects with Graphic3d_TMF_2d flag

Graphic3d_TransformPers::Apply() now does not reset projection matrix
for objects with Graphic3d_TMF_2d flag.

Useless flag Graphic3d_TMF_2d_IsTopDown has been removed.
SelectMgr_SelectableObjectTrsfPersSet now does not skip Graphic3d_TMF_2d presentations.
OpenGl_Layer::BoundingBox() now takes into account Graphic3d_TMF_2d presentations for proper Z-fit.

AIS_ColorScale now uses "lazy" mode for rendering labels
(considering 2D persistence to be already defined within entire structure).

OpenGl_Layer::updateBVH() now updates myAlwaysRenderedMap to handle
dynamic transformation persistence flag change without redisplaying the object.
Affected Issues
0027796
mod - src/AIS/AIS_ColorScale.cxx Diff File
mod - src/Graphic3d/Graphic3d_CView.cxx Diff File
mod - src/Graphic3d/Graphic3d_TransformPers.hxx Diff File
mod - src/Graphic3d/Graphic3d_TransModeFlags.hxx Diff File
mod - src/OpenGl/OpenGl_Layer.cxx Diff File
mod - src/OpenGl/OpenGl_Layer.hxx Diff File
mod - src/SelectMgr/SelectMgr_SelectableObjectTrsfPersSet.cxx Diff File
mod - src/StdSelect/StdSelect_ViewerSelector3d.cxx Diff File
mod - src/ViewerTest/ViewerTest.cxx Diff File
rm - tests/bugs/vis/bug25783_2 Diff File
add - tests/bugs/vis/bug27796 Diff File

master afa6834b

2016-08-19 13:44:19

bugmaster

Details Diff
0023585: Boolean Fuse Operation Fails.
Adding test case
Affected Issues
0023585
add - tests/bugs/modalg_6/bug23585 Diff File

master 4eb65ae9

2016-08-19 06:55:06

bugmaster

Details Diff
0022794: Boolean Cut operation produces incorrect result.
Adding testing case
Affected Issues
0022794
add - tests/bugs/modalg_6/bug22794 Diff File

master 1a7ece8f

2016-08-18 16:41:05

dbp


Committer: bugmaster Details Diff
0027787: Visualization, TKOpenGl - Optimize rendering by additional check whether the object is fully clipped or not

OpenGl_Structure::Render() now checks if structure is entirely clipped to skip rendering at all,
or entirely NOT clipped to disable clipping / capping plane.

OpenGl_ShaderManager now defines dedicated GLSL programs for one and two clipping planes
to optimize rendering on slow hardware.
Affected Issues
0027787
mod - src/NCollection/NCollection_Vec4.hxx Diff File
mod - src/OpenGl/OpenGl_Clipping.cxx Diff File
mod - src/OpenGl/OpenGl_Clipping.hxx Diff File
mod - src/OpenGl/OpenGl_SetOfShaderPrograms.hxx Diff File
mod - src/OpenGl/OpenGl_ShaderManager.cxx Diff File
mod - src/OpenGl/OpenGl_ShaderManager.hxx Diff File
mod - src/OpenGl/OpenGl_Structure.cxx Diff File

master 8b1e055f

2016-08-18 09:12:33

msv


Committer: bugmaster Details Diff
0027781: [Regression to 6.9.0] Exception in ShapeFix_Shape algorithm with option FixSmallAreaWireMode

The matter was that during checking wires of a shape for small area, non-outer wires were checked with constructing a new face with BRepBuilderAPI_MakeFace. If a face has location an edge from original face has no pcurve on the constructed face, which leads to exception in BRepGProp::SurfaceProperties. The fix constructs new face using EmptyCopy.

The method ShapeAnalysis_Wire::CheckSmallArea() has been changed so as to check area of the outer wire without hole-wires. API of this method has been changed, as the second argument theIsOuterWire is not needed any more.

The test cases have been updated, below are explanations of changes:

test de iges_2 G7
The fixed version leaves a wire in a face, but the master version considered it small and removed. The master version works wrong. It is because the face built with this wire has negative area, but the code in CheckSmallArea function does not get absolute value before comparing area with the tolerance. The left wire leads to splitting of the face on two, checkshape error in the face, and statshape faulty due to increased number of faces in the second pass.

test de iges_2 G2
The fixed version leaves a wire that is removed in the master version. The cause is the same as in G7 test case. However, here the problematic wire has very big tolerance. So, when the fixed version left it in the shape, the overall maximal tolerance became much greater than in reference data.

test de step_3 E6
In fixed version a really bad small wire is removed from the face, while in master version it is left and produces an error in checkshape report. So, it is an improvement.
mod - src/ShapeAnalysis/ShapeAnalysis_Wire.cxx Diff File
mod - src/ShapeAnalysis/ShapeAnalysis_Wire.hxx Diff File
mod - src/ShapeFix/ShapeFix_Face.cxx Diff File
add - tests/bugs/heal/bug27781 Diff File
mod - tests/de/iges_2/G2 Diff File
mod - tests/de/iges_2/G7 Diff File
mod - tests/de/step_3/E6 Diff File

master 0deb6f04

2016-08-17 19:28:35

kgv


Committer: bugmaster Details Diff
0027789: Visualization, TKOpenGl - improve compatibility with new OpenGL ES devices

OpenGl_ShaderManager::prepareStdProgramStereo() - fixed definition of global constants
in optimized Anaglyph shader.

OpenGl_Context now loads GL_KHR_debug extension within OpenGL ES context.
Affected Issues
0027789
mod - src/OpenGl/OpenGl_ArbDbg.hxx Diff File
mod - src/OpenGl/OpenGl_Context.cxx Diff File
mod - src/OpenGl/OpenGl_GlFunctions.hxx Diff File
mod - src/OpenGl/OpenGl_ShaderManager.cxx Diff File

master 3a17b168

2016-08-17 13:32:01

bugmaster

Details Diff
0022634: Cut operation on closed solids returns opened one
Adding testing cases
Affected Issues
0022634
add - tests/bugs/modalg_6/bug22634 Diff File

master bf3220cf

2016-08-16 10:58:32

bugmaster

Details Diff
0008040: Offset direction is wrong for a closed circle
Adding testing case
Affected Issues
0008040
add - tests/bugs/modalg_6/bug8040 Diff File

master 5185b161

2016-08-16 09:41:23

msv


Committer: bugmaster Details Diff
0027780: Face-face intersection produces 2D curve that has reversed derivative at its end

The matter was that with starting point paased into intersector the walking line goes one point outside of the surface domain. Then during purging this extra point is removed from the line but its geometry is used for the last vertex. This makes a set of points invalid for approximation, and as a result we obtain the curve with reversed tangent direction at the end.

The API of the method IntPatch_WLineTool::ComputePurgedWLine has been changed to insert a new Boolean parameter RestrictLine. If this parameter is false than the step of removing of outside points is skipped, and the result line is not distorted. This flag is determined inside IntTools_FaceFace to tell the intersector if it is needed to limit intersection line by surface domain.

Test case has been added.
Affected Issues
0027780
mod - src/IntPatch/IntPatch_Intersection.cxx Diff File
mod - src/IntPatch/IntPatch_WLineTool.cxx Diff File
mod - src/IntPatch/IntPatch_WLineTool.hxx Diff File
add - tests/bugs/modalg_6/bug27780 Diff File

master 5146b5ba

2016-08-15 15:06:34

nbv


Committer: bugmaster Details Diff
0027775: Different behavior of GeomFill_BSplineCurves algorithm in DEBUG and RELEASE mode

Throw an exception in case of incorrect input data.
mod - src/GeomFill/GeomFill_BSplineCurves.cxx Diff File
add - tests/bugs/modalg_6/bug27775 Diff File

master 032881f4

2016-08-15 12:57:11

nbv


Committer: bugmaster Details Diff
0027774: Constructor GeomPlate_BuildAveragePlane crashes if two input normals are parallel to each other

Normalization has been avoided in case of impossibility.
mod - src/GeomPlate/GeomPlate_BuildAveragePlane.cxx Diff File

master 2cc873e2

2016-08-15 12:53:02

bugmaster

Details Diff
0021246: checkshape command does not return faulty shapes.
Adding testing case
Affected Issues
0021246
add - tests/bugs/modalg_6/bug21246 Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 114 115 116 117 118 119 120 ... 150 ... 180 ... 210 ... 240 ... 254 255 256  Next  Last