[vtkusers] LookupTable with (x,y,z)
patgo at sapo.pt
patgo at sapo.pt
Fri Jul 29 09:19:23 EDT 2005
I send you the whole code (it's not big), written in C#. The
problematic lines are marked with ***. They just don't do anything...
Thank you for your time,
Patrícia Gonçalves
using System;
using System.IO;
using vtkDotNetWrap;
namespace Delaunay2Dgraph
{
///
/// Summary description for Class1.
///
class Del2D
{
[STAThread]
static void
Main()
{
//Ler dados de entrada
LerFx lf = new LerFx();
lf.LerFicheiro();
int numberPlies = 4;
int ply;
vtkRenderWindow renWin = vtkRenderWindow.New();
renWin.SetSize(1200, 800);
vtkRenderWindowInteractor iren = vtkRenderWindowInteractor.New();
iren.SetRenderWindow(renWin);
for (int a=1; a I plotted a set of points (x,y,z) and used the 2D
Delaunay
> triangulation to make a surface graphic. This worked just fine! Now
I
> want the graphic to apear in different colors, acordding to the zz
> coordinate. I built a LookupTable but it doesn't work. Why?
>
> All the vtkLookupTable examples use previously built files with
data
> so they're not helping me...
>
> Does anybody know how I can do this?
>
> Thanks,
> Patrícia Gonçalves
___________________________________________________________________
O SAPO já está livre de vírus com a Panda Software, fique você também!
Clique em: http://antivirus.sapo.pt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050729/cd7bea8c/attachment.htm>
More information about the vtkusers
mailing list