setName

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.

JuryS's picture

Also I need to set the myName without OCAF driver. Can I do this ?

JuryS's picture

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.