[vtkusers] How do I limit the drawing volume or clip the view ?

David.Pont at ForestResearch.co.nz David.Pont at ForestResearch.co.nz
Thu Apr 15 17:31:25 EDT 2004


OK Paul,
  I will foward you the code off the list. There is no way to do this in
standard vtk. I have given my class to several people over time, but never
hear back if it works or not. If I was confident it was useful I would
happily contribute it to vtk. But I am hesitant because it is a 'bit of a
hack', and I understand how a 'correct' implementation should be done, but
have no time to work on that...
So please let me know how it works for you

  Dave Pont



                                                                                                                                                     
                      "Paul Tait"                                                                                                                    
                      <paul at opes.com.au        To:       <David.Pont at ForestResearch.co.nz>                                                           
                      >                        cc:       <vtkusers at vtk.org>                                                                          
                      Sent by:                 Subject:  Re: [vtkusers] How do I limit the drawing volume or clip the view ?                         
                      vtkusers-admin at vt                                                                                                              
                      k.org                                                                                                                          
                                                                                                                                                     
                                                                                                                                                     
                      15/04/2004 16:50                                                                                                               
                                                                                                                                                     
                                                                                                                                                     




Thanks, yes I'm a C++er

The upper and lower surfaces are seperate but each well is seperate too.
I'll look into vtkAppendPolyData which I haven't used before. I'd still
like
to see your code.

Hopefully someones can still come up with a "stabdard vtk" way of doinf
this


----- Original Message -----
From: <David.Pont at ForestResearch.co.nz>
To: "Paul Tait" <paul at opes.com.au>
Cc: <vtkusers at vtk.org>
Sent: Thursday, April 15, 2004 12:36 PM
Subject: Re: [vtkusers] How do I limit the drawing volume or clip the view
?


>
> Hi Paul,
>    if you work in C++ I can send you a vtk class that will probably do
> this. It would work best if you have the upper and lower surfaces as
> separate polydata, and all the wells as one polydata (could use
> vtkAppendPolyData). Might be a bit slow because there are lots of
polygons,
> but should do it...
>
>   Dave P
>
>
>
>
>
>                       "Paul Tait"
>                       <paul at opes.com.au        To:
<vtkusers at vtk.org>
>                       >                        cc:
>                       Sent by:                 Subject:  [vtkusers] How
do
I limit the drawing volume or clip the view ?
>                       vtkusers-admin at vt
>                       k.org
>

>
>                       15/04/2004 12:30
>
>
>
>
>
>
>
> Hi
>
> I'm visualising some geophysical data in an oil field simulation. I have
> the top and bottom surfaces of the oil reservoirs and the oil well data.
> The oil well data runs from ground level but I sometimes just want to
> display the oil wells for a few feet above and below the oil reservoir
I'm
> looking at. How would I clip (if thats the right word) the view to
achieve
> this ?
>
> Thanks Paul
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.656 / Virus Database: 421 - Release Date: 4/10/2004
>
>
> ---
>
> File has not been scanned
>
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.657 / Virus Database: 422 - Release Date: 4/14/2004(See
> attached file: Image1s.jpg)
> _
>
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.657 / Virus Database: 422 - Release Date: 4/14/2004

_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: <
http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers

_







More information about the vtkusers mailing list