
Sun, 12/27/2009 - 02:34
Forums:
Hi,
I try to change Point Name, but I can't find this function in Any AIS class documentation.
For the sample I make this:
gp_Pnt Point(myX,myY,myZ);
Handle(AIS_Point) myName = new AIS_Point(new Geom_CartesianPoint(Point));
getContext()->SetColor(myName,Quantity_NOC_BLACK,Standard_False);
getContext()->Display(myName,1);
...
But how I can take another myName?
Many Thanks,
Jury Sinithin.
Sun, 12/27/2009 - 06:03
Also I need to set the myName without OCAF driver. Can I do this ?
Sun, 12/27/2009 - 21:16
I can't use the TDF_Label, TPrsStd_AISPresentation....
I think that I must have been set to a OCAF document before run this function. But how I can do that ??? 2 days I can't set name of the created object.
Please help.