DeleDivaneeh Mon, 07/21/2008 - 18:57 Forums: Other usage issuesI want to express a point,an edge or a face to TopoDS Shape.How can I do that? Win Than Aung Mon, 07/21/2008 - 22:36 reverse of triangulation?? through triangulation process, you will get indexes and vertices..you wanna do in reverse way? Log in to post comments DeleDivaneeh Tue, 07/22/2008 - 01:11 I mean that I have a TopoDS_Vertex or TopoDS_Edge and I want to convert this to TopoDS_Shape. If it is not sense,I have another question.My problem is that I want to show a point or an edge but not a shape on VTK screen. That is TopoDS_Vertex or TopoDS_Edge, I want to show this on VTK screen? Thank you for reply.. Log in to post comments Hugues Delorme Tue, 07/22/2008 - 02:34 Simply do something like : TopoDS_Vertex vertex; // ... TopoDS_Shape shape = vertex; Log in to post comments DeleDivaneeh Tue, 07/22/2008 - 10:44 Ok,I have already done that.My real problem is that I want to show a point on VTK screen in OCC. Is there a code fragment which displays a point on VTK screen? Thank you.. Log in to post comments Svetlozar Kostadinov Wed, 07/23/2008 - 00:02 I suppose you need this method: gp_Pnt BRep_Tool::Pnt(const TopoDS_Vertex& V); Log in to post comments
Mon, 07/21/2008 - 22:36
reverse of triangulation?? through triangulation process, you will get indexes and vertices..you wanna do in reverse way?
Tue, 07/22/2008 - 01:11
I mean that I have a TopoDS_Vertex or TopoDS_Edge and I want to convert this to TopoDS_Shape.
If it is not sense,I have another question.My problem is that I want to show a point or an edge but not a shape on VTK screen.
That is TopoDS_Vertex or TopoDS_Edge, I want to show this on VTK screen?
Thank you for reply..
Tue, 07/22/2008 - 02:34
Simply do something like :
TopoDS_Vertex vertex;
// ...
TopoDS_Shape shape = vertex;
Tue, 07/22/2008 - 10:44
Ok,I have already done that.My real problem is that I want to show a point on VTK screen in OCC.
Is there a code fragment which displays a point on VTK screen?
Thank you..
Wed, 07/23/2008 - 00:02
I suppose you need this method:
gp_Pnt BRep_Tool::Pnt(const TopoDS_Vertex& V);