>>>>> "Mário" == Mário Vicente da Silva <[EMAIL PROTECTED]> writes:
Mário> 1) Up until now I was using linear cells (vtk_triangle,
Mário> vtk_quad, vtk_tetra) and when I want to display my mesh is
Mário> very simple, I just load the SurfaceMap module with the
Mário> wireframe option... But now I'm using
Mário> vtk_quadratic_triangle cells and if I do the same, the mesh
Mário> is displayed with extra triangulations (a single
Mário> quadratic_triangle is represented by 4 triangles). Does
Mário> anyone know how to eliminate this extra triangles?
I am not an expert with the vtkNonLinearCell functionality at all so
my answer may not be correct. The documentation suggests that VTK
tessellates the quadratic triangle mesh which is why you see the extra
triangles. I suspect this has to do with the fact that VTK does not
support NURBS but I am not sure. Here are the non linear cell docs:
vtkNonLinearCell is an abstract superclass for non-linear cell types.
Cells that are a direct subclass of vtkCell or vtkCell3D are linear;
cells that are a subclass of vtkNonLinearCell have non-linear interpolation
functions. Non-linear cells require special treatment when tessellating
or converting to graphics primitives. Note that the linearity of the cell
is a function of whether the cell needs tessellation, which does not
strictly correlate with interpolation order (e.g., vtkHexahedron has
non-linear interpolation functions (a product of three linear functions
in r-s-t) even thought vtkHexahedron is considered linear.)
Mário> 2) I want to associate a linear scalar field to each
Mário> triangle, independent from the fields of adjacent
Mário> triangles. Is it possible to do this without duplicating
Mário> nodes to the mesh?
Not that I know of. Point scalars are uniquely associated with point
IDs. So duplicating the nodes seems like the best way to do this.
cheers,
prabhu
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users