vtkMaskPoints bug?

Lisa Sobierajski Avila lisa.avila at kitware.com
Mon Jun 21 11:30:41 EDT 1999


Hi Gala'Vi,

I believe that MaskPoints only passes points and point attribute data
through - it does not create / pass through any lines, polygons, etc. So it
is correct that you do not see anything if you try to directly render the
output.

Lisa Avila
lisa.avila at kitware.com

At 09:47 AM 6/21/99 -0500, Gala'Vi and Liss @ Mainframe Country wrote:
>
>
>Hi,
>
>I think there is a bug in vtkMaskPoints filter. It is supposed to do the
>downsampling of a point set. It downsamples, all right, however it doesn't
>produce any polydata. Here is the output of the vtkMaskPoints filter with
>print self function.
>
> Debug: Off
> No Delete Method
> Modified Time: 1543
> Reference Count: 1
> Source: 0x1098b440
> Release Data: Off
> Data Released: False
> Global Release Data: Off
> Field Data:
>   Debug: Off
>   No Delete Method
>   Modified Time: 1408
>   Reference Count: 1
>   Number Of Arrays: 0
>   Number Of Components: 0
>   Number Of Tuples: 0
> Number Of Points: 2868
> Number Of Cells: 0
> Cell Data:
>   Debug: Off
>   No Delete Method
>   Modified Time: 1411
>   Reference Count: 1
>   Scalars: (none)
>   Vectors: (none)
>   Normals: (none)
>   Texture Coordinates: (none)
>   Tensors: (none)
>   FieldData: (none)
>   Copy Scalars: On
>   Copy Vectors: On
>   Copy Normals: On
>   Copy Texture Coordinates: On
>   Copy Tensors: On
>   Copy FieldData: On
> Point Data:
>   Debug: Off
>   No Delete Method
>   Modified Time: 1540
>   Reference Count: 1
>   Scalars:
>     Debug: Off
>     No Delete Method
>     Modified Time: 1538
>     Reference Count: 1
>     Data: 0x1096f408
>     Number Of Scalars: 2868
>     Range: (-0.162383, 0.15367)
>     LookupTable: (none)
>     Number Of Components: 1
>     Active Component: 0
>   Vectors: (none)
>   Normals: (none)
>   Texture Coordinates: (none)
>   Tensors: (none)
>   FieldData: (none)
>   Copy Scalars: On
>   Copy Vectors: On
>   Copy Normals: On
>   Copy Texture Coordinates: On
>   Copy Tensors: On
>   Copy FieldData: On
> Bounds: 
>   Xmin,Xmax: (0.307017, 0.780433)
>   Ymin,Ymax: (0.313161, 0.712686)
>   Zmin,Zmax: (0.318921, 0.683928)
> Compute Time: 1546
> Release Data: Off
> Number Of Points: 2868
> Point Coordinates: 0x1096f318
> Locator: 0x0
> Number Of Vertices: 0
> Number Of Lines: 0
> Number Of Polygons: 0
> Number Of Triangle Strips: 0
>
>If you take the output of this filter and feed it through
>another dataset to polydata filter then everything is o'k and you see your
>output on the screen. I'm working with star formation particle clouds.
>
>I can live with feeding the output to another filter before mapping,
>however wouldn't this seem logical that if vtkMaskPoints is a dataset to
>polydata and not a dataset to dataset filter, then it should produce some
>decent polydata as the output. 
>
>
>
>
>
>//***********************************************
>  -- There is always a way, 
>        you just have to find it.
>              (B.Hambly "Children Of The Jedi")
>//***********************************************
>
>
>
>-----------------------------------------------------------------------------
>This is the private VTK discussion list.  Please keep messages on-topic.
>Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
>To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
><majordomo at gsao.med.ge.com>.  For help, send message body containing
>"info vtkusers" to the same address.     Live long and prosper.

>--------------------------------------------------------------------------
---
> 



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list