[vtkusers] Label vtkActor

joaoroberto88 joaorobertojr88 at gmail.com
Wed Sep 23 10:28:17 EDT 2015


Thank you guys. vtkCaptionActor2D worked like a charm. Just for future help:

vtkSmartPointer<vtkCaptionActor2D> textActor =
vtkSmartPointer<vtkCaptionActor2D>::New();
textActor->SetAttachmentPoint(station->getUtmX(), station->getUtmY(), 0);
textActor->SetCaption(station->getName().toStdString().c_str());

renderer.AddActor(textActor);

Joao.



--
View this message in context: http://vtk.1045678.n5.nabble.com/Label-vtkActor-tp5734069p5734082.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list