Worked out how to solve the problem: specifying the Normal for the clip plane in terms of the cosine and sine function (X, Y) and now it is straightforward to "slice" on specific longitudes for example.
It was not clear from the manual about this aspect and what the numbers were. So for 125 East : Origin: 0, 0, 0 Normal: 0.819152044288992 (cos 35), 0.573576436351046 (sin 35), 0 125 West: Origin: 0, 0, 0 Normal: -0.819152044288992 (cos 35), 0.573576436351046 (sin 35), 0 Same options apply if you want to slice along latitudes (or oblique views). Clip plane plots exactly where it should on the map :) Cheers On 19 February 2015 at 09:14, Lester Anderson <[email protected]> wrote: > Hello, > > I have got a global dataset matrix and projected this into spherical > coordinates so I could overlay a coastline file for interpretation. > > I can tweak the clipping by manual dragging but I was wondering what the > best way is to do precise clips/slices e.g. a clip at 125 degrees east or > an oblique slice that goes through know coordinates? I can see that the > method is to work out the plane position (origin, normal), but not entirely > clear on what the values represent. > > I have a clip plane defined as below: > > Origin: 372.352441878137 280.135672573806 -125.520109507155 > Normal: 0.771596619611773 0.580503076333685 -0.260105430490818 > > The origin I assume refers to the plane intself in the spherical > coordinates; are the normals in radians? > > This would plot through NW Australia and northwards through Timor on my > data, but it would be useful to generate a series of slices that were say > 120, 125, 130 degrees etc with the clip plane oriented perfectly normal to > the sphere (if that sounds right). > > Hopefully this is not a difficult one; still learning! > > Cheers > > Lester > > >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
