<style> p {margin-top:0px;margin-bottom:0px;} </style> <table border=0 width=100%% cellpadding=0 cellspacing=0 align=center> <tr> <td valign=top style='padding:8pt;'><font size=2><P>Try using AddActor2D on your renderer pointer.</P>
<P>&nbsp;</P>
<P>vtkRenderer *ren =vtkRenderer::New();</P>
<P></P>
<P>ren-&gt;AddActor2D (axesX);</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>-Praveen<BR>
<BR>
<BR>
<BR>
<BR>
</P>
<BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<P></P>
<P></P>
<P>---------[ Received Mail Content ]----------<BR>
</P>
<P></P>
<P><B>Subject : </B>[vtkusers] vtkAxisActor2D<BR>
</P>
<P></P>
<P><B>Date : </B>Mon, 13 Nov 2006 10:00:37 +0000<BR>
</P>
<P></P>
<P><B>From : </B>beth@portugalmail.pt<BR>
</P>
<P></P>
<P><B>To : </B>vtkusers@vtk.org<BR>
</P>
<P></P>
<P><BR>
</P>
<P></P>
<P>&gt; Hi,</P>
<P></P>
<P><BR>
&gt;</P>
<P></P>
<P><BR>
&gt; I want to work with vtkAxisActor2D, in order to create x and y axes for my</P>
<P></P>
<P><BR>
&gt; graph. The problem is that it's not working as I thought. I don't see it at</P>
<P></P>
<P><BR>
&gt; all!</P>
<P></P>
<P><BR>
&gt;</P>
<P></P>
<P><BR>
&gt; My piece of code:</P>
<P></P>
<P><BR>
&gt;</P>
<P></P>
<P><BR>
&gt; vtkAxisActor2D *axesX = vtkAxisActor2D::New();</P>
<P></P>
<P><BR>
&gt; axesX-&gt;SetTitle("Test");</P>
<P></P>
<P><BR>
&gt; axesX-&gt;SetTickLength(2);</P>
<P></P>
<P><BR>
&gt; axesX-&gt;SetRange(0, 10);</P>
<P></P>
<P><BR>
&gt; axesX-&gt;SetPoint1(0, 0);</P>
<P></P>
<P><BR>
&gt; axesX-&gt;SetPoint2(10, 0);</P>
<P></P>
<P><BR>
&gt;</P>
<P></P>
<P><BR>
&gt; vtkRenderer *ren =vtkRenderer::New();</P>
<P></P>
<P><BR>
&gt; ...usual stuff</P>
<P></P>
<P><BR>
&gt;</P>
<P></P>
<P><BR>
&gt; ren-&gt;AddViewProp(axesX);</P>
<P></P>
<P><BR>
&gt;</P>
<P></P>
<P><BR>
&gt; Can someone send to me a piece of example code (in Tcl, Python or C++).</P>
<P></P>
<P><BR>
&gt;</P>
<P></P>
<P><BR>
&gt; Thnaks and regards,</P>
<P></P>
<P><BR>
&gt;</P>
<P></P>
<P><BR>
&gt; Beth Carvalho</P>
<P></P>
<P><BR>
&gt;</P>
<P></P>
<P><BR>
&gt;</P>
<P></P>
<P><BR>
&gt; __________________________________________________________</P>
<P></P>
<P><BR>
&gt; Para grandes mails, grandes contas</P>
<P></P>
<P><BR>
&gt; Portugalmail: 2 000 MB de espaço</P>
<P></P>
<P><BR>
&gt; http://www.portugalmail.pt/2000mb</P>
<P></P>
<P><BR>
&gt;</P>
<P></P>
<P><BR>
&gt; ----- Fim da mensagem reencaminhada -----</P>
<P></P>
<P><BR>
&gt;</P>
<P></P>
<P><BR>
&gt;</P>
<P></P>
<P><BR>
&gt;</P>
<P></P>
<P><BR>
&gt; __________________________________________________________</P>
<P></P>
<P><BR>
&gt; Porque insiste em pagar o dobro?</P>
<P></P>
<P><BR>
&gt; Compare o preço da sua ligação à Internet</P>
<P></P>
<P><BR>
&gt; http://acesso.portugalmail.pt/maisbarato</P>
<P></P>
<P><BR>
&gt;</P>
<P></P>
<P><BR>
</P>
<P></P>
<P><BR>
</P>
<P></P>
<P><BR>
-- </P>
<P></P>
<P><BR>
-------------------------------------------</P>
<P></P>
<P><BR>
Andy Cedilnik</P>
<P></P>
<P><BR>
Kitware Inc.</P>
<P></P>
<P><BR>
http://www.kitware.com</P>
<P></P>
<P><BR>
</P>
<P></P>
<P><BR>
</P>
<P></P>
<P><BR>
</P>
<P></P>
<P><BR>
</P>
<P></P>
<P><BR>
__________________________________________________________</P>
<P></P>
<P><BR>
Email gratuito com 2 000 MB</P>
<P></P>
<P><BR>
Espaço para guardar 1 milhão de mensagens</P>
<P></P>
<P><BR>
http://www.portugalmail.pt/2000mb</P>
<P></P>
<P><BR>
_______________________________________________</P>
<P></P>
<P><BR>
This is the private VTK discussion list. </P>
<P></P>
<P><BR>
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ</P>
<P></P>
<P><BR>
Follow this link to subscribe/unsubscribe:</P>
<P></P>
<P><BR>
http://www.vtk.org/mailman/listinfo/vtkusers</P>
<P></P>
<P><BR>
</P>
<P></P>
<P><BR>
</P></BLOCKQUOTE>
<P></P></font></td></tr>
</table>
<br/>
<div>
<hr style="width:85%;margin-left:0px;text-align:left"/><br/>
Lycos Cinema : Catch up with your friends and see free movies online - watch, chat & connect now &gt;&gt;
<a href="http://cinema.lycos.com/?if_Event=mail" target="_blank"><u>http://cinema.lycos.com</u></a>
</div>