[vtkusers] vtkLookupTable with vtkStructuredPoints or vtkStructuredGrid : How it works ???

Lisa Avila lisa.avila at kitware.com
Thu Feb 5 17:01:21 EST 2004


Hello,

How big is your data? (the dimensions of the structured points object)

Lisa

At 04:40 PM 2/5/2004, REGAT-BARREL Aurélien wrote:
>Hello,
>SetColorModeToMapScalars was missing thank you very much. Now it does 
>something. But not really what I hope. Cells wich are near a transparent 
>cell are not fully draw. My object is open and I can see its inside, and 
>it is not so fast. I am disappointed.
>Thanks for your help.
>
>HIRAKI Hideaki <hhiraki at lab.nig.ac.jp> wrote:
>REGAT-BARREL Aurélien wrote:
> > Hello everybody,
> > I am still trying to blank zero-value points in my vtkStrcuturedPoints. 
> I have done it via a vtkThreshold filter but it generate a new DataSet 
> and it is very slow.
> > So I have tried to change black points opacity in the lookuptable build 
> by the mapper but it fails.
> > Here is the interesting code :
> >
> > mapper = vtkDataSetMapper()
> > mapper.SetInput( cloud )
> > mapper.SetScalarRange( cloud.GetScalarRange() )
> > lut = mapper.GetLookupTable()
> > lut.Build()
> > lut.SetTableValue( 0, 0, 0, 0, 0 )
> >
> > It does nothing, why ?
>
>mapper.SetColorModeToMapScalars() seems missing.
>If your data is vtkStructuredPoints, volume rendering
>may fit more for your need.
>
>Regards,
>
>Hideaki Hiraki
>
>
>Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
><http://fr.rd.yahoo.com/mail/taglines/*http://fr.benefits.yahoo.com/>Créez 
>votre Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040205/5e8dbc33/attachment.htm>


More information about the vtkusers mailing list