[vtkusers] Cylindrical grid

Burlen Loring burlen.loring at kitware.com
Thu Nov 6 09:36:45 EST 2008


Hi Dave,

I see no one else has answered, probably because this is sort of open 
ended question, we don't know enough about your data to provided a 
succinct answer. At any rate I will try to provide some general info.

Vtk uses Cartesian coordinates for points, so you want to convert 
r,theta,z tuples to x,y,z tuples for each node in your data. If you are 
visualizing a solid or volume that is composed from a collection of 
elements or cells, then you first need to determine which vtk cell types 
are needed to represent your volume or solid. That will be a deciding 
factor in which dataset to use. For example vtkStructuredGrid only 
offers vtkQuad or vtkHexahedron cells, such that they can be logically 
arranged on a lattice. If your data isn't arranged in that way or you 
need to mix multiple cell types to represent your geometry then probably 
vtkUnstructuredGrid would be the way to go.


Hills David A wrote:
>
> Hi,
>
> I’m interested in visualizing some data in cylindrical coordinates. 
> Can vtk represent this? I’ve seen some hints that vtkStructuredGrid 
> could be used for this but the class reference for this explicitly 
> states that this is topologically cuboid so I can’t see how that would 
> work. Is there anything native that could be used in vtk? I saw that 
> someone asked this question here in August but got no replies so I’m 
> not holding out much hope but I thought I’d try again.
>
> Thanks,
>
> Dave
>
> The information contained in this E-Mail and any subsequent
> correspondence is private and is intended solely for the intended
> recipient(s). The information in this communication may be
> confidential and/or legally privileged. Nothing in this e-mail is
> intended to conclude a contract on behalf of QinetiQ or make QinetiQ
> subject to any other legally binding commitments, unless the e-mail
> contains an express statement to the contrary or incorporates a formal 
> Purchase Order.
>
> For those other than the recipient any disclosure, copying,
> distribution, or any action taken or omitted to be taken in reliance
> on such information is prohibited and may be unlawful.
>
> Emails and other electronic communication with QinetiQ may be
> monitored and recorded for business purposes including security, audit
> and archival purposes. Any response to this email indicates consent
> to this.
>
> Telephone calls to QinetiQ may be monitored or recorded for quality
> control, security and other business purposes.
>
> QinetiQ Limited
> Registered in England & Wales: Company Number:3796233
> Registered office: 85 Buckingham Gate, London SW1E 6PD, United Kingdom
> Trading address: Cody Technology Park, Cody Building, Ively Road, 
> Farnborough, Hampshire, GU14 0LX, United Kingdom
> http://www.qinetiq.com/home/notices/legal.html
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>   


-- 
Burlen Loring
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x137




More information about the vtkusers mailing list