Changesets: occt

master 3475df12

2016-08-02 07:13:49

mgn


Committer: bugmaster Details Diff
0027724: Visualization, TKV3d - Null handle check missing in AIS_InteractiveContext::SelectedShape()
Null handle check has been added.
mod - src/AIS/AIS_InteractiveContext_1.cxx Diff File

master 6d0e6be5

2016-08-01 19:09:20

apl


Committer: bugmaster Details Diff
0027700: Visualization - glPolygonMode() used for frame drawing affects label text shading

Patch extends GL-state caching mechanism of OpenGl_Context by new methods.
The methods allow setting/inquiring polygon rasterization and hatching modes:
- OpenGl_Context::SetPolygonMode
- OpenGl_Context::SetPolygonHatchEnabled
- OpenGl_Context::SetPolygonHatchStyle

With these methods OpenGl_Text is able to configure shading as necessary.
And this configuration is done irrespectively of currently defined face aspect.
Code of OpenGl_Workspace is also modified to use these methods as well.

Porting notes:
- OpenGl_LineAttributes now require OpenGl_Context instance for calling GL API.
- OpenGl_LineAttributes has new flag IsEnabled, it turns on/off hatching without changing the hatch type.
By default this flag is turned on and can be never modified for compatibility with old code.
- OpenGl_LineAttributes is not anymore a field of OpenGl_Workspace::myLineAttrib.
This resource is directly created by an OpenGl_Context instance on demand.
If you use custom implementation of hatch patterns please create and share custom resource
under resource-key "OpenGl_LineAttributes" in corresponding OpenGl_Context before using
methods SetPolygonHatchEnabled, SetPolygonHatchStyle.
mod - src/OpenGl/OpenGl_Context.cxx Diff File
mod - src/OpenGl/OpenGl_Context.hxx Diff File
mod - src/OpenGl/OpenGl_LineAttributes.cxx Diff File
mod - src/OpenGl/OpenGl_LineAttributes.hxx Diff File
mod - src/OpenGl/OpenGl_Text.cxx Diff File
mod - src/OpenGl/OpenGl_Workspace.cxx Diff File
mod - src/OpenGl/OpenGl_Workspace.hxx Diff File
mod - src/QABugs/QABugs_19.cxx Diff File
add - tests/bugs/vis/bug27700 Diff File

master 6887652a

2016-08-01 15:10:55

san


Committer: bugmaster Details Diff
0027717: Visualization - drop broken Prs3d_Drawer::ShadingAspectGlobal() flag Affected Issues
0027717
mod - dox/dev_guides/upgrade/upgrade.md Diff File
mod - samples/mfc/standard/Common/User_Cylinder.cxx Diff File
mod - src/AIS/AIS_InteractiveContext.cxx Diff File
mod - src/AIS/AIS_Shape.cxx Diff File
mod - src/AIS/AIS_TexturedShape.cxx Diff File
mod - src/Prs3d/Prs3d_Drawer.cxx Diff File
mod - src/Prs3d/Prs3d_Drawer.hxx Diff File
mod - src/StdPrs/StdPrs_ShadedShape.cxx Diff File
mod - src/StdPrs/StdPrs_ShadedSurface.cxx Diff File

master d509e5a4

2016-08-01 14:15:52

kgv


Committer: bugmaster Details Diff
0027731: Visualization, OpenGl_AspectMarker - handle fractional marker Scale when sharing resources

OpenGl_AspectMarker::Resources::SpriteKeys() now encodes decimal number of marker scale into resource key,
since built-in markers are defined with 0.5 scale step.
Affected Issues
0027731
mod - samples/tcl/markers.tcl Diff File
mod - src/OpenGl/OpenGl_AspectMarker.cxx Diff File

master e2d7642f

2016-08-01 12:30:40

isk


Committer: bugmaster Details Diff
0027680: Visualization - AIS_InteractiveContext::Remove() should remove all presentation of the object
mod - src/AIS/AIS_InteractiveContext.cxx Diff File
mod - src/AIS/AIS_LocalContext.cxx Diff File
mod - src/PrsMgr/PrsMgr_PresentationManager.cxx Diff File
mod - src/PrsMgr/PrsMgr_PresentationManager.hxx Diff File

master 68ef63f9

2016-07-31 10:09:37

oan


Committer: bugmaster Details Diff
0025209: Draw Harness - add command 'vnormals' and extend command 'normals' to show variable number of normals Affected Issues
0025209
mod - src/DBRep/DBRep.cxx Diff File
mod - src/DBRep/DBRep_DrawableShape.cxx Diff File
mod - src/DBRep/DBRep_DrawableShape.hxx Diff File
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx Diff File

master d01ed5fd

2016-07-30 16:07:34

kgv


Committer: bugmaster Details Diff
0027543: Samples - flickering when view is resized in MFC samples

Define proper window class for OpenGL window within
overridden method CView::PreCreateWindow().
Affected Issues
0027543
mod - samples/mfc/standard/01_Geometry/src/GeometryView2D.cpp Diff File
mod - samples/mfc/standard/04_Viewer3d/src/Viewer3dView.cpp Diff File
mod - samples/mfc/standard/04_Viewer3d/src/Viewer3dView.h Diff File
mod - samples/mfc/standard/09_Animation/src/AnimationView3D.cpp Diff File
mod - samples/mfc/standard/10_Convert/src/WNT/OCCDemoView.cpp Diff File
mod - samples/mfc/standard/Common/OCC_2dView.cpp Diff File
mod - samples/mfc/standard/Common/OCC_3dView.cpp Diff File
mod - samples/mfc/standard/Common/Primitive/Sample2D_Text.cpp Diff File

master 2e5139af

2016-07-30 14:54:29

kgv


Committer: bugmaster Details Diff
0027360: Visualization - remove obsolete anti-aliasing API

The methods V3d_View::SetAntialiasingOn(), ::SetAntialiasingOff()
and Antialiasing() have been removed.
Affected Issues
0027360
mod - dox/dev_guides/upgrade/upgrade.md Diff File
mod - dox/user_guides/draw_test_harness/draw_test_harness.md Diff File
mod - samples/mfc/standard/04_Viewer3d/src/Viewer3dView.cpp Diff File
mod - src/Graphic3d/Graphic3d_CView.cxx Diff File
mod - src/Graphic3d/Graphic3d_CView.hxx Diff File
mod - src/OpenGl/OpenGl_NamedStatus.hxx Diff File
mod - src/OpenGl/OpenGl_View.cxx Diff File
mod - src/OpenGl/OpenGl_View.hxx Diff File
mod - src/OpenGl/OpenGl_View_Redraw.cxx Diff File
mod - src/OpenGl/OpenGl_Workspace.cxx Diff File
mod - src/OpenGl/OpenGl_Workspace.hxx Diff File
mod - src/QABugs/QABugs_3.cxx Diff File
mod - src/V3d/V3d_View.cxx Diff File
mod - src/V3d/V3d_View.hxx Diff File
mod - src/V3d/V3d_View_1.cxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File

master cde2e2f0

2016-07-30 14:05:32

kgv


Committer: bugmaster Details Diff
0027583: Visualization, MeshVS - handle MeshVS_DA_SupressBackFaces flag within MeshVS_NodalColorPrsBuilder

and within MeshVS_ElementalColorPrsBuilder builders.
Affected Issues
0027583
mod - src/MeshVS/MeshVS_ElementalColorPrsBuilder.cxx Diff File
mod - src/MeshVS/MeshVS_NodalColorPrsBuilder.cxx Diff File
mod - tests/bugs/vis/bug26028 Diff File

master 458e3c0d

2016-07-30 12:06:23

kgv


Committer: bugmaster Details Diff
0027728: Visualization, OpenGl_Text - handle correctly object local transformation

OpenGl_Context::ApplyWorldViewMatrix() - reset ModelWorld matrix to identity for consistency with FFP.
Affected Issues
0027728
mod - src/OpenGl/OpenGl_Context.cxx Diff File
mod - tests/bugs/vis/bug22368 Diff File

master 2ba9eb30

2016-07-29 15:23:57

msv


Committer: bugmaster Details Diff
0027729: UnifySameDomain: allow the user to specify linear and angular tolerances

- New methods SetLinearTolerance and SetAngularTolerance have been added in the class ShapeUpgrade_UnifySameDomain.
- The algorithm has been modified to consider these tolerances when checking if two faces are same domain.
- The draw command unifysamedomain has been changed to accept new parameters.
- The internal method MergeSeq has been changed to avoid exception connected with access to unknown key in the data map.

Create test case

Small correction of test case for issue CR27729
mod - src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx Diff File
mod - src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.hxx Diff File
mod - src/SWDRAW/SWDRAW_ShapeUpgrade.cxx Diff File
add - tests/bugs/heal/bug27729 Diff File

master 30c1ef75

2016-07-29 09:45:41

kgv


Committer: bugmaster Details Diff
0027727: Visualization, Graphic3d_ArrayOfPrimitives::SetVertexColor() - define opaque color for RGB input Affected Issues
0027727
mod - src/Graphic3d/Graphic3d_ArrayOfPrimitives.lxx Diff File
mod - tests/v3d/point_cloud/sphere Diff File

master 2613378e

2016-07-29 08:57:56

skv


Committer: bugmaster Details Diff
0027726: List of formats supported by TDocStd_Application

Minor corrections and implementation of ABV remark
mod - src/CDF/CDF_Application.cxx Diff File
mod - src/CDF/CDF_Application.hxx Diff File
mod - src/TDocStd/TDocStd_Application.cxx Diff File
mod - src/TDocStd/TDocStd_Application.hxx Diff File

master a85215df

2016-07-29 08:57:45

bugmaster

Details Diff
Update test cases after integration issue 27707
mod - tests/offset/faces_type_i/C8 Diff File
mod - tests/offset/shape_type_i/C8 Diff File

master 79cbd2cf

2016-07-29 08:39:08

bugmaster

Details Diff
Elimination of compiler warning on VC++ 2015 after integration 27448
mod - src/BOPAlgo/BOPAlgo_PaveFiller_5.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx Diff File

master c6f530b8

2016-07-28 13:13:25

ika


Committer: bugmaster Details Diff
0027721: Add possibility to read STEP file with invalid shape_representation entity.

Add special parameter, which allow reading of all top level (not shared by any other entities) solids (manifold_solid_brep) and shells (shell_based_surface_model).

The examples how to use a new parameter:

DRAW:
switch on a parameter:
param read.step.all.shapes On
update model to apply new parameter value:
newmodel
read as usual:
stepread test.stp res * // each top level solid or shell will be read as res_i shape.
or
ReadStep Doc test.stp

CXX Code:
switch on a parameter:
Interface_Static::SetIVal("read.step.all.shapes", 1);
read as usual
mod - src/STEPControl/STEPControl_Controller.cxx Diff File
mod - src/STEPControl/STEPControl_Reader.cxx Diff File
add - tests/bugs/step/bug27721 Diff File

master 990ab183

2016-07-27 16:12:28

nbv


Committer: apv Details Diff
0027718: Class GeomPlate_CurveConstraint contains two same constructors

Two constructors have been combined to one.
mod - src/GeomPlate/GeomPlate_CurveConstraint.cxx Diff File
mod - src/GeomPlate/GeomPlate_CurveConstraint.hxx Diff File

master be375252

2016-07-26 19:08:39

kgv


Committer: bugmaster Details Diff
0027715: Visualization - turn off deprecated OpenGL fixed-function pipeline by default

OpenGl_Caps - flag ffpEnable is now initialized to false on desktop OpenGL.
OpenGl_Context::init() - now prints error if OpenGL version does not support GLSL
and switches OpenGl_Caps::ffpEnable to true.

update test cases
Affected Issues
0027715
mod - src/OpenGl/OpenGl_Caps.cxx Diff File
mod - src/OpenGl/OpenGl_Context.cxx Diff File
mod - tests/3rdparty/export/end Diff File
mod - tests/bugs/moddata_2/bug23172 Diff File
mod - tests/bugs/vis/bug21091_3 Diff File
mod - tests/bugs/vis/bug21091_4 Diff File
mod - tests/bugs/vis/bug21091_5 Diff File
mod - tests/bugs/vis/bug21091_6 Diff File
mod - tests/bugs/vis/bug21091_7 Diff File
mod - tests/bugs/vis/bug21091_8 Diff File
mod - tests/bugs/vis/bug21091_9 Diff File
rm - tests/bugs/vis/bug22332 Diff File
mod - tests/bugs/vis/bug22368 Diff File
mod - tests/bugs/vis/bug22796_3 Diff File
mod - tests/bugs/vis/bug23407_2 Diff File
mod - tests/bugs/vis/bug23747_2 Diff File
mod - tests/bugs/vis/bug24224 Diff File
mod - tests/bugs/vis/bug24622 Diff File
mod - tests/bugs/vis/bug24728 Diff File
mod - tests/bugs/vis/bug25611_1 Diff File
mod - tests/bugs/vis/bug25611_2 Diff File
rm - tests/bugs/vis/bug25768 Diff File
mod - tests/demo/samples/dimensions Diff File
mod - tests/v3d/point_cloud/sphere Diff File

master 4c6b4bc7

2016-07-22 13:02:30

ibs


Committer: bugmaster Details Diff
0027706: Foundation Classes - OSD_Path::DownTrek() crashes on empty argument

a required check added
mod - src/OSD/OSD_Path.cxx Diff File

master 1aee6c82

2016-07-22 09:07:24

msv


Committer: bugmaster Details Diff
0027703: BinTools_ShapeSet stream read bug

Avoid out of array bounds read/write.
mod - src/BinTools/BinTools_ShapeSet.cxx Diff File

master 66cce03a

2016-07-22 08:53:07

emv


Committer: bugmaster Details Diff
0027704: Numeric inaccuracy due to huge extension of the offset faces

The max extension value of the faces in offset operation has been decreased
to 1.e+7 value to avoid the lack of precision in the calculations.

Update of test cases according to the new behavior
mod - src/BRepOffset/BRepOffset_Tool.cxx Diff File
add - tests/bugs/modalg_6/bug27704 Diff File
mod - tests/offset/faces_type_i/C8 Diff File
mod - tests/offset/shape_type_i/A5 Diff File
mod - tests/offset/shape_type_i/A9 Diff File
mod - tests/offset/shape_type_i/B4 Diff File
mod - tests/offset/shape_type_i/B6 Diff File
mod - tests/offset/shape_type_i/C8 Diff File

master bb526112

2016-07-22 08:33:47

nbv


Committer: bugmaster Details Diff
0027665: BrepExrtrema_DistShapeShape bad performance on OCCT 6.7.0

Creation of test case for issue #27665.
add - tests/bugs/modalg_6/bug27665 Diff File

master 758bacbb

2016-07-18 06:33:53

azv


Committer: bugmaster Details Diff
0027677: Incorrect CUT of a solid by semi-infinite solid

The problem of incorrect CUT is wrong Pcurve after projection onto cylinder of a small edge orthogonal to cylinder's axis. The result of projection is a line along V direction, but it should be along U.

ProjLib_Cylinder has no specific functionality to build projection in most common case, so it should return "not done" flag to start projection based on curve approximation.

Following changes are done:
1. ProjLib_Cylinder returns isDone=false in the following cases:
* the projected line is not parallel to cylinder's axis
* the plane of projected circle is not orthogonal to cylinder's axis
2. Test case added

Minor correction of test case
mod - src/ProjLib/ProjLib_Cylinder.cxx Diff File
mod - src/ProjLib/ProjLib_ProjectedCurve.cxx Diff File
add - tests/bugs/modalg_6/bug27677 Diff File

master fb66bb28

2016-07-17 13:53:43

kgv


Committer: bugmaster Details Diff
0027682: Visualization - provide method Prs3d_Drawer::SetShaderProgram() for setting program

AIS_ColoredDrawer has been moved to dedicated file.
AIS_ColoredShape::CustomAspectsMap() - added public method for accessing aspects map.

AIS_InteractiveObject::SynchronizeAspects() - added method for synchronizing
all primitive aspects at low-level (TKOpenGl) after their modification.
add - src/AIS/AIS_ColoredDrawer.hxx Diff File
mod - src/AIS/AIS_ColoredShape.cxx Diff File
mod - src/AIS/AIS_ColoredShape.hxx Diff File
add - src/AIS/AIS_DataMapOfShapeDrawer.hxx Diff File
mod - src/AIS/AIS_InteractiveObject.cxx Diff File
mod - src/AIS/AIS_InteractiveObject.hxx Diff File
mod - src/AIS/FILES Diff File
mod - src/Prs3d/Prs3d_Drawer.cxx Diff File
mod - src/Prs3d/Prs3d_Drawer.hxx Diff File
mod - src/ViewerTest/ViewerTest_OpenGlCommands.cxx Diff File

master 59ec40f8

2016-07-16 12:57:23

kgv


Committer: bugmaster Details Diff
0027684: Coding rules - drop unused declarations from Graphic3d

The following headers have been removed:
- Graphic3d_TypeOfPolygon
- Graphic3d_TypeOfPrimitive
- Graphic3d_Array1OfVector.hxx
- Graphic3d_Array1OfVertex.hxx
- Graphic3d_Array2OfVertex.hxx
- Graphic3d_CBitFields4.hxx
- Graphic3d_CBitFields8.hxx
- Graphic3d_CBitFields16.hxx
- Graphic3d_CBitFields20.hxx
- Graphic3d_CStructurePtr.hxx
- Graphic3d_CycleError.hxx
- Graphic3d_DataStructure.pxx
- Graphic3d_HSequenceOfStructure.hxx
- Graphic3d_InitialisationError.hxx
- Graphic3d_ListIteratorOfListOfShortReal.hxx
- Graphic3d_ListOfShortReal.hxx
- Graphic3d_NListOfHAsciiString.hxx
- Graphic3d_StructureManagerPtr.hxx
- Graphic3d_StructurePtr.hxx

Graphic3d_StructureManager - remove default aspects, which have been never used.

do not include non-existing header Graphic3d_Array1OfVertex.hxx from MFC sample

Graphic3d_Group::MinMaxValues() - add missing Standard_EXPORT
Affected Issues
0027684
mod - samples/mfc/standard/01_Geometry/src/StdAfx.h Diff File
mod - samples/mfc/standard/Common/Primitive/Sample2D_Markers.h Diff File
mod - samples/mfc/standard/Common/StdAfx.h Diff File
mod - samples/mfc/standard/Common/User_Cylinder.cxx Diff File
mod - src/Graphic3d/FILES Diff File
rm - src/Graphic3d/Graphic3d_Array1OfVector.hxx Diff File
rm - src/Graphic3d/Graphic3d_Array1OfVertex.hxx Diff File
rm - src/Graphic3d/Graphic3d_Array2OfVertex.hxx Diff File
mod - src/Graphic3d/Graphic3d_ArrayOfPrimitives.cxx Diff File
mod - src/Graphic3d/Graphic3d_ArrayOfPrimitives.hxx Diff File
rm - src/Graphic3d/Graphic3d_CBitFields16.hxx Diff File
rm - src/Graphic3d/Graphic3d_CBitFields20.hxx Diff File
rm - src/Graphic3d/Graphic3d_CBitFields4.hxx Diff File
rm - src/Graphic3d/Graphic3d_CBitFields8.hxx Diff File
rm - src/Graphic3d/Graphic3d_CStructurePtr.hxx Diff File
mod - src/Graphic3d/Graphic3d_CView.hxx Diff File
rm - src/Graphic3d/Graphic3d_CycleError.hxx Diff File
rm - src/Graphic3d/Graphic3d_DataStructure.pxx Diff File
mod - src/Graphic3d/Graphic3d_Group.cxx Diff File
mod - src/Graphic3d/Graphic3d_Group.hxx Diff File
rm - src/Graphic3d/Graphic3d_HSequenceOfStructure.hxx Diff File
rm - src/Graphic3d/Graphic3d_InitialisationError.hxx Diff File
rm - src/Graphic3d/Graphic3d_ListIteratorOfListOfShortReal.hxx Diff File
rm - src/Graphic3d/Graphic3d_ListOfShortReal.hxx Diff File
rm - src/Graphic3d/Graphic3d_NListOfHAsciiString.hxx Diff File
mod - src/Graphic3d/Graphic3d_Structure.hxx Diff File
mod - src/Graphic3d/Graphic3d_StructureManager.cxx Diff File
mod - src/Graphic3d/Graphic3d_StructureManager.hxx Diff File
rm - src/Graphic3d/Graphic3d_StructureManagerPtr.hxx Diff File
rm - src/Graphic3d/Graphic3d_StructurePtr.hxx Diff File
rm - src/Graphic3d/Graphic3d_TypeOfPolygon.hxx Diff File
rm - src/Graphic3d/Graphic3d_TypeOfPrimitive.hxx Diff File
mod - src/OpenGl/OpenGl_AVIWriter.hxx Diff File
mod - src/OpenGl/OpenGl_FrameBuffer.hxx Diff File
mod - src/OpenGl/OpenGl_GraphicDriver.hxx Diff File
mod - src/OpenGl/OpenGl_LayerList.cxx Diff File
mod - src/OpenGl/OpenGl_Window.cxx Diff File
mod - src/OpenGl/OpenGl_Window_1.mm Diff File
mod - src/OpenGl/OpenGl_Workspace.cxx Diff File
mod - src/V3d/V3d_CircularGrid.cxx Diff File
mod - src/WNT/WNT_WClass.cxx Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 116 117 118 119 120 121 122 ... 150 ... 180 ... 210 ... 240 ... 254 255 256  Next  Last