[vtkusers] GenericDataSetTessellator question, again

François Bertel francois.bertel at kitware.com
Mon Apr 11 12:17:00 EDT 2005


Hi Soeren,

Do you have some point data in the dataset that have more than one cell?

I think the current implementation of vtkSimpleCellTessellator requires 
at least one point-centered attribute.

Soeren Gebbert wrote:
> Dear developers and user,
> i have a question about the integration of new nonlinear celltypes in 
> vtk and the GenericDataSetTessellator.
> I'm using vtk 4.5.0-cvs (28.02.2005) at a linux (Suse 9.0) dual P4.
> 
> I have implemented new nonlinear celltypes in vtk:
> 
> #define VTK_BIQUADRATIC_QUAD       28
> #define VTK_TRIQUADRATIC_HEXAHEDRON 29
> #define VTK_QUADRATIC_LINEAR_QUAD      30
> #define VTK_QUADRATIC_LINEAR_WEDGE      31
> 
> I have used the GenericFilteringCxxTests to tessellate the new nonlinear 
> celltypes and modified vtkBridgeCell.cxx to add the new celltypes.
> 
> The Tessellation  works very well with all new celltypes. The result 
> looks great.
> 
> But, i can only tessellate one cell. If i read a dataset with more then 
> one cell, i get this error:
> 
> vtkGenericEdgeTable.cxx:549: void 
> vtkGenericEdgeTable::SetNumberOfComponents(int): Assertion `"pre: 
> positive_count" && count>0' failed.
> 
> I have no clue what i have to do, to tessellate more than one cell. I 
> didnt find a proper Method which set, that all cells of a dataset should 
> be tessellated (i thought this would be automaticly done by the class 
> vtkGenericDataSetTessellator).
> Do i have to initiate some kind of celliterator??
> 
> Any help a very welcome,
> Thanks and Best regards
> Soeren Gebbert
> _______________________________________________
> 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
> 


-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                       | Clifton Park NY 12065, USA




More information about the vtkusers mailing list