View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024929 | Open CASCADE | OCCT:Visualization | public | 2014-05-15 18:27 | 2017-05-11 12:25 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | duplicate | ||
Product Version | 6.7.1 | ||||
Target Version | 7.2.0 | ||||
Summary | 0024929: Edge and vertex in compound are not highlighed in shading mode if compound is transparent | ||||
Description | If compound contains vertex or edge, and compound transparency is set to not null value, then edge and vertex are not highlighted on compound highlighting. | ||||
Steps To Reproduce | pload MODELING VISUALIZATION box b 2 0 0 1 2 3 explode b E ttranslate b_1 0 -1 0 psphere s 1 vertex v -2 0 0 compound b b_1 s v c vclear vinit View1 vdisplay -dispMode 1 c vfit vsettransparency c 0.5 vmoveto 350 250 # OK vselect 350 250 # KO - point and edge are NOT highlighted Bug can be reproduced by following code: BRep_Builder aBuilder; TopoDS_Compound aCompound; builder.MakeCompound (aCompound); TopoDS_Vertex aVertex = BRepBuilderAPI_MakeVertex(gp_Pnt(-20,10,-30)); aBuilder.Add (aCompound, aVertex); gp_Lin aLine (gp_Ax1(gp_Pnt(10,10,10),gp_Dir(1,0,0))); TopoDS_Edge anEdge = BRepBuilderAPI_MakeEdge (aLine,-20,10); aBuilder.Add (aCompound, anEdge); gp_Sphere aSphere (gp_Ax3(gp_Pnt(-80,0,0),gp_Dir(1,0,0)),150); TopoDS_Face aFace = BRepBuilderAPI_MakeFace (aSphere,0.1,0.7,0.2,0.9); aBuilder.Add (aCompound, aFace); TopoDS_Shape aBox = BRepPrimAPI_MakeBox(gp_Pnt(-60,0,0),30,60,40); aBuilder.Add (aCompound, aBox); Handle(AIS_Shape) aCompShape = new AIS_Shape (aCompound); myAISContext->SetDisplayMode (aCompShape, 1); myAISContext->Display (aCompShape, Standard_False); myAISContext->SetTransparency(aCompShape, 0.5); // Try to highlight a compound | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-05-15 18:27 |
|
New Issue | |
2014-05-15 18:27 |
|
Assigned To | => san |
2014-05-15 18:27 |
|
File Added: AfterTransparency.png | |
2014-05-15 18:28 |
|
File Added: BeforeTransparency.png | |
2014-09-12 14:19 |
|
Target Version | => 7.1.0 |
2016-06-16 20:55 | kgv | Relationship added | has duplicate 0027527 |
2016-10-25 09:37 | kgv | Target Version | 7.1.0 => 7.2.0 |
2017-05-10 12:02 | kgv | Steps to Reproduce Updated | |
2017-05-10 12:03 | kgv | Relationship replaced | duplicate of 0027527 |
2017-05-10 12:03 | kgv | Note Added: 0065799 | |
2017-05-10 12:03 | kgv | Assigned To | san => bugmaster |
2017-05-10 12:03 | kgv | Status | new => feedback |
2017-05-11 12:25 | bugmaster | Status | feedback => closed |
2017-05-11 12:25 | bugmaster | Resolution | open => duplicate |