View Issue Details

IDProjectCategoryView StatusLast Update
0002840Open CASCADEOCCT:Visualizationpublic2013-09-03 12:23
Reportervro Assigned Tobugmaster  
PrioritynormalSeveritytrivial 
Status closedResolutionno change required 
OSAll 
Target Version6.7.0 
Summary0002840: Using Graphic3d_ArrayOfPoints doesn't allow to change the marker color, type
DescriptionUsage 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
TagsNo tags attached.
Test case number

Relationships

duplicate of 0024131 closedbugmaster Open CASCADE TKOpenGL redesign GPU memory management for markers presentation 
related to 0023817 closedbugmaster Open CASCADE Marker primitives presentation in TKOpenGl should be redesigned 

Activities

san

2013-08-30 17:07

developer   ~0025421

Please, close this issue as duplicate of 0024131

bugmaster

2013-09-03 12:23

administrator   ~0025435

Closed because issue is duplicate of 0024131

Issue History

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 abv Fixed in Version EMPTY =>
2012-10-23 14:59 abv Target Version => 6.6.0
2012-10-23 14:59 abv Description Updated
2013-02-26 18:33 san 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 san Note Added: 0025421
2013-08-30 17:07 san Assigned To san => bugmaster
2013-08-30 17:07 san 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