[vtkusers] Drawing a simple line graph (CONTINUES...)

Isidro Moreno morenoisidro at yahoo.com.ar
Tue Jul 3 09:06:27 EDT 2007


Dean, vtkXYPlotActor works OK, but I think it isn't the best way to draw a 
line or a polygon in the plane. The methods for adjusting vtkActor2D's 
dimensions should work properly. In fact, vtkXYPlotActor inherits theese 
methods from vtkActor2D. However, there might be another way to do this. I'm 
a begginer, and I thought drawing a simple line would be simple to; I 
wouldn't like to think that such a complex system like VTK has this type of 
holes. There must be something that has to be changed in pipelines like the 
one in my code, something additional... The fact that vtkActor2D doesn't use 
a 4x4 matrix says somthing to me, and also the render process must have to 
do something with this. I would like to know how the renderer is working... 
But again, It's strange that ->GetPosition2Coordinate()->SetValue(x,y) works 
for vtkXYPlotActor and not for its mother class vtkActor2D (where the method 
is initially defined)...

Isidro

----- Original Message ----- 
From: "Dean Inglis" <dean.inglis at sympatico.ca>
To: <vtkusers at vtk.org>
Cc: <morenoisidro at yahoo.com.ar>
Sent: Tuesday, July 03, 2007 8:18 AM
Subject: [vtkusers] Drawing a simple line graph (CONTINUES...)


> what about using vtkXYPlotActor?
>
> Dean
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.9.12/878 - Release Date: 28/6/2007 
> 17:57
>
> 




More information about the vtkusers mailing list