[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    Re: [vtkusers] octahedral elements
From:       Mathieu Malaterre <mathieu.malaterre () kitware ! com>
Date:       2004-11-29 14:43:44
Message-ID: 41AB35A0.6090508 () kitware ! com
[Download RAW message or body]

francesco wrote:
> hello to all
> 
> I'm trying to visualize some pro-mechanica results, but I'm unable to 
> create
> an octahedral cell.
> I've used cells of VTK_CONVEX_POINT_SET type, but this method doesn't work
> right in every cell
> 
> any hints?

Francesco,

	From the documentation:

vtkConvexPointSet is a concrete implementation that represents a *3D* 
cell defined by a convex set of points.


	So for a 2D cell you are better of using:

http://www.vtk.org/doc/nightly/html/classvtkPolygon.html

[vtkPolygon is a concrete implementation of vtkCell to represent a 2D 
n-sided polygon. The polygons cannot have any internal holes, and cannot 
self-intersect. Define the polygon with n-points ordered in the 
clockwise direction; do not repeat the last point.]

HTH
Mathieu
Ps: If you are doing anything heavily based on those cells I suggest you 
create your own 2D cell that handle octahedral cell.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic