View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002840 | Open CASCADE | OCCT:Visualization | public | 2003-06-05 17:16 | 2013-09-03 12:23 |
Reporter | vro | Assigned To | bugmaster | ||
Priority | normal | Severity | trivial | ||
Status | closed | Resolution | no change required | ||
OS | All | ||||
Target Version | 6.7.0 | ||||
Summary | 0002840: Using Graphic3d_ArrayOfPoints doesn't allow to change the marker color, type | ||||
Description | Usage of Graphic3d_ArrayOfPoints to display the markers allows fast display, but doesn't allow change of the marker color and type. Here is an exmaple of usage: void MeshPrs_Prs::Compute(const Handle(PrsMgr_PresentationManager3d)&, const Handle(Prs3d_Presentation)& thePrs, const Standard_Integer) { thePrs->Clear(); Handle(Graphic3d_AspectMarker3d) aspect_nodes = new Graphic3d_AspectMarker3d(Aspect_TOM_STAR, Quantity_NOC_BLUE, 2.); Handle(Graphic3d_Group) node_group = Prs3d_Root::CurrentGroup(thePrs); node_group->SetPrimitivesAspect(aspect_nodes); Graphic3d_Array1OfVertex nodes(1, nb_nodes); for (inode = 1; inode <= nb_nodes; inode++) { mesh->GetNodes(inode, x, y, z); nodes->AddVertex(x, y, z); } node_group->AddPrimitiveArray(nodes); } So, it allows display the markers in one predefined color and by one predefined marker type. Thanks in advance for Your investigations of the problem and possible corrections, Vlad | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2003-06-05 17:37 | bugmaster | Assigned To | bugmaster => vtn |
2003-06-05 17:37 | bugmaster | Status | new => assigned |
2005-01-12 16:40 | bugmaster | Assigned To | vtn => san |
2011-08-02 11:24 | bugmaster | Category | OCCT:VIZ => OCCT:Visualization |
2012-10-23 14:59 |
|
Fixed in Version | EMPTY => |
2012-10-23 14:59 |
|
Target Version | => 6.6.0 |
2012-10-23 14:59 |
|
Description Updated | |
2013-02-26 18:33 |
|
Target Version | 6.6.0 => 6.7.0 |
2013-03-05 16:29 | kgv | Relationship added | related to 0023817 |
2013-08-29 11:45 | kgv | Relationship added | duplicate of 0024131 |
2013-08-30 17:07 |
|
Note Added: 0025421 | |
2013-08-30 17:07 |
|
Assigned To | san => bugmaster |
2013-08-30 17:07 |
|
Status | assigned => feedback |
2013-09-03 12:23 | bugmaster | Note Added: 0025435 | |
2013-09-03 12:23 | bugmaster | Status | feedback => closed |
2013-09-03 12:23 | bugmaster | Resolution | open => no change required |