On Fri, Aug 07, 2009 at 07:08:06AM -0400, Tom Foutz wrote:
> I have a triangular mesh which I display using triangular_mesh.� Is there
> an interactive way I could display only part of the mesh between two
> planes? If I use a logical filter (e.g. if 1<x<3:include triangle in mesh)
> then I get jagged edges.
> I am thinking about something along the lines of the scalar cut planes
> module.� I would envision having two cut planes, and displaying all the
> data between the two.
In a recent mayavi version, you can use the DataSet Clipper filter to do
this.
If your mayavi version is too old, you can use the UserDefined filter,
with the tvtk.GeometryFilter to do this.
> (Also, when I plot my objects with opacity < 1.0, I sometimes get a weird
> effect where one object is always displayed on top of the other, no matter
> the orientation.� Has anyone else noticed this?)
Yes, the transparency in VTK is buggy, it's a pain. I sometime add
backface culling to my actors. It helps.
HTH,
Ga�l
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users