[vtkusers] Blanking for vtkUnstructuredGrid

Luke J West ljw at noc.soton.ac.uk
Fri Sep 28 10:21:56 EDT 2007


OK, for those interested, I have workable solution...

I set the scalar values of the cells i want to vanish to 1.e20 (a big number)

and set the last entry of the colour table to transparent

(thanks for the suggestion, DS)

Luke

Quoting Luke J West <ljw at noc.soton.ac.uk>:

> hmmm maybe.. but how could I stop the flagged cells from displaying?
> 
> thanks
> 
> luke
> 
> Quoting Dominik Szczerba <domi at vision.ee.ethz.ch>:
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Why not mark them with an int scalar?
> > - -- DS
> > 
> > Luke J West wrote:
> > > Id there an equivalent of a blanking array, as per RegularGrid, but for
> > > Unstructured Grids ?
> > > 
> > > I'd like to turn cells on and off but would rather not have to delete
> them
> > if
> > > possible.
> > > 
> > > Thanks,
> > > 
> > > Luke
> > > 
> > > -----------------------------------------------------------------------
> > > National Oceanography Centre, Southampton :: http://www.noc.soton.ac.uk
> > > _______________________________________________
> > > This is the private VTK discussion list. 
> > > Please keep messages on-topic. Check the FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> > > Follow this link to subscribe/unsubscribe:
> > > http://www.vtk.org/mailman/listinfo/vtkusers
> > 
> > - --
> > Dominik Szczerba, Ph.D.
> > Computer Vision Lab CH-8092 Zurich
> > http://www.vision.ee.ethz.ch/~domi
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.6 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> > 
> > iD8DBQFG/QpV/EBMh9bUuzIRAtHxAKDqkr3X0483BYBh5mgLTN9lxXaJMgCfRJci
> > pHSCeywhHnvSrIM4rT2fiuI=
> > =JRht
> > -----END PGP SIGNATURE-----
> > _______________________________________________
> > This is the private VTK discussion list. 
> > Please keep messages on-topic. Check the FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> > 
> 
> 
> 
> 
> -----------------------------------------------------------------------
> National Oceanography Centre, Southampton :: http://www.noc.soton.ac.uk
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 




-----------------------------------------------------------------------
National Oceanography Centre, Southampton :: http://www.noc.soton.ac.uk



More information about the vtkusers mailing list