[vtkusers] vtkAxisActor2D

beth at portugalmail.pt beth at portugalmail.pt
Mon Nov 13 05:00:37 EST 2006


 > Hi,
 >
 > I want to work with vtkAxisActor2D, in order to create x and y axes for my
 > graph. The problem is that it's not working as I thought. I don't see it at
 > all!
 >
 > My piece of code:
 >
 > vtkAxisActor2D *axesX = vtkAxisActor2D::New();
 >         axesX->SetTitle("Test");
 >         axesX->SetTickLength(2);
 >         axesX->SetRange(0, 10);
 >         axesX->SetPoint1(0, 0);
 >         axesX->SetPoint2(10, 0);
 >
 > vtkRenderer *ren =vtkRenderer::New();
 > ...usual stuff
 >
 > ren->AddViewProp(axesX);
 >
 > Can someone send to me a piece of example code (in Tcl, Python or C++).
 >
 > Thnaks and regards,
 >
 > Beth Carvalho
 >
 >
 > __________________________________________________________
 > Para grandes mails, grandes contas
 > Portugalmail: 2 000 MB de espaço
 > http://www.portugalmail.pt/2000mb
 >
 > ----- Fim da mensagem reencaminhada -----
 >
 >
 >
 > __________________________________________________________
 > Porque insiste em pagar o dobro?
 > Compare o preço da sua ligação à Internet
 > http://acesso.portugalmail.pt/maisbarato
 >
 
 
 -- 
 -------------------------------------------
 Andy Cedilnik
 Kitware Inc.
 http://www.kitware.com
 



__________________________________________________________
Email gratuito com 2 000 MB
Espaço para guardar 1 milhão de mensagens
http://www.portugalmail.pt/2000mb



More information about the vtkusers mailing list