<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Lester,<br>
    <br>
    Just a small follow up. The normal vector can be input as a
    'direction vector.' For example, for a plane at 45 degrees one can
    input the direction vector (1,1,0), and ParaView will convert it
    into a unit normal vector after you click APPLY. The (1,1,0) will
    then appear as (0.707106781,0.707106781,0).<br>
    <br>
    Sam<br>
     <br>
    <div class="moz-cite-prefix">On 2/20/2015 4:03 AM, Lester Anderson
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAE3taFBuFVZR=ZzNaymw0Xr202CFrzynVCdZGD6Rn4hRG5g4Gw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>Worked out how to solve the problem:<br>
                <br>
              </div>
              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.<br>
              <br>
            </div>
            It was not clear from the manual about this aspect and what
            the numbers were.<br>
            <br>
          </div>
          <div>So for 125 East :<br>
          </div>
          <div><br>
          </div>
          <div>Origin: 0,  0,  0<br>
          </div>
          <div>Normal: 0.819152044288992 (cos 35),  0.573576436351046
            (sin 35),  0<br>
            <br>
          </div>
          <div>125 West:<br>
            <br>
            <div>Origin: 0,  0,  0<br>
            </div>
            Normal: -0.819152044288992 (cos 35),  0.573576436351046 (sin
            35),  0<br>
            <br>
          </div>
          <div>Same options apply if you want to slice along latitudes
            (or oblique views). <br>
          </div>
          <div><br>
          </div>
          <div>Clip plane plots exactly where it should on the map :)<br>
            <br>
          </div>
          <div>Cheers<br>
          </div>
        </div>
        <div>
          <div>
            <div>
              <div><br>
                <br>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 19 February 2015 at 09:14, Lester
          Anderson <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:arctica1963@gmail.com" target="_blank">arctica1963@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>
                <div>
                  <div>
                    <div>
                      <div>
                        <div>
                          <div>
                            <div>Hello,<br>
                              <br>
                            </div>
                            I have got a global dataset matrix and
                            projected this into spherical coordinates so
                            I could overlay a coastline file for
                            interpretation.<br>
                            <br>
                          </div>
                          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.<br>
                          <br>
                        </div>
                        <div>I have a clip plane defined as below: <br>
                        </div>
                        <div><br>
                        </div>
                        Origin: 372.352441878137   280.135672573806 
                        -125.520109507155<br>
                      </div>
                      Normal: 0.771596619611773  0.580503076333685 
                      -0.260105430490818<br>
                      <br>
                    </div>
                    <div>The origin I assume refers to the plane intself
                      in the spherical coordinates; are the normals in
                      radians?<br>
                    </div>
                    <div><br>
                    </div>
                    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).<br>
                    <br>
                  </div>
                  Hopefully this is not a difficult one; still learning!<br>
                  <br>
                </div>
                Cheers<span class="HOEnZb"><font color="#888888"><br>
                    <br>
                  </font></span></div>
              <span class="HOEnZb"><font color="#888888">Lester<br>
                  <div>
                    <div>
                      <div>
                        <div>
                          <div>
                            <div><br>
                              <br>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </font></span></div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>

Search the list archives at: <a class="moz-txt-link-freetext" href="http://markmail.org/search/?q=ParaView">http://markmail.org/search/?q=ParaView</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/paraview">http://public.kitware.com/mailman/listinfo/paraview</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>