[vtkusers] Point Id and Point Index

rahul indoria rahulindoria5 at gmail.com
Thu Aug 1 08:39:58 EDT 2013


dear all,
             are the point id and point index of the surface same thing ?


Looking forward your reply soon.

Best
rahul





On Wed, Jul 31, 2013 at 6:00 PM, <vtkusers-request at vtk.org> wrote:

> Send vtkusers mailing list submissions to
>         vtkusers at vtk.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://www.vtk.org/mailman/listinfo/vtkusers
> or, via email, send a message with subject or body 'help' to
>         vtkusers-request at vtk.org
>
> You can reach the person managing the list at
>         vtkusers-owner at vtk.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of vtkusers digest..."
>
>
> Today's Topics:
>
>    1. Re: vts periodic boundaries (Andy Bauer)
>    2. Re: vts periodic boundaries (Patrick Bechlars)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 31 Jul 2013 10:11:50 -0400
> From: Andy Bauer <andy.bauer at kitware.com>
> Subject: Re: [vtkusers] vts periodic boundaries
> To: Patrick Bechlars <patrick.bechlars at soton.ac.uk>
> Cc: vtkusers at vtk.org
> Message-ID:
>         <CAMaOp+FXnktfuFLobrokiXa_4QZA6xo=
> cCYos0NF+Am_jp+aRg at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Patrick,
>
> You can make a vtkStructuredGrid act like it is periodic by making the
> first and last set of points be coincident. It looks like you need one more
> level of cells as well as one more level of points. The thing is that
> depending on the filter, you may not get the behavior you want. For
> example, if you extract the boundary of the grid it will show a boundary
> where the first and last set of cells meet. Also, the computed gradient
> will not be continuous there either.
>
> The only wa to get around that is to either use a vtkPolyData if it's 2D or
> a vtkUnstructuredGrid.
>
> Regards,
> Andy
>
> On Wed, Jul 31, 2013 at 6:10 AM, Patrick Bechlars <
> patrick.bechlars at soton.ac.uk> wrote:
>
> > Dear all,
> >
> > I am trying to write out a cylindrical data set as a vtk file in
> > StructuredGrid form to read it in Paraview. I would like to write the vtk
> > file in a way that the first and last cell (see gap in the picture) are
> > connected. Does any of you have experience in that and/or have a hint how
> > to achieve that.
> >
> > One idea was to write it in parallel format as two pieces and add ghost
> > cells, but this would be quite dirty and is not exactly what I want.
> >
> > Any idea is welcome!
> >
> > Thanks a lot
> > Patrick
> >
> > --
> > Patrick Bechlars
> > Aerodynamics and Flight Mechanics Group
> > Faculty of Engineering and the Environment
> > University of Southampton
> > Building 13, 2071
> > Highfield
> > Southampton
> > SO17 1BJ
> > email: patrick.bechlars at soton.ac.uk
> >
> >
> > _______________________________________________
> > 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 VTK FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20130731/4c70fe3c/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Wed, 31 Jul 2013 16:16:56 +0100
> From: Patrick Bechlars <patrick.bechlars at soton.ac.uk>
> Subject: Re: [vtkusers] vts periodic boundaries
> To: Andy Bauer <andy.bauer at kitware.com>
> Cc: vtkusers at vtk.org
> Message-ID: <51F92A68.1020108 at soton.ac.uk>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
> Hi Andy,
>
> The derivatives and other filters involving spatial data are not too
> important as I do all calculations externally. It is mainly about the
> plotting. If I want to stick to StructuredGrid, then there will always
> be this additional boundary. Is that what you are saying?
> Is there nothing like a GhostLevel="#" option for specific boundaries in
> the Serial XML File Format or a filter that does that work afterwards?
>
> Best regards,
> Patrick
>
> On 31/07/13 15:11, Andy Bauer wrote:
> > Hi Patrick,
> >
> > You can make a vtkStructuredGrid act like it is periodic by making the
> > first and last set of points be coincident. It looks like you need one
> > more level of cells as well as one more level of points. The thing is
> > that depending on the filter, you may not get the behavior you want.
> > For example, if you extract the boundary of the grid it will show a
> > boundary where the first and last set of cells meet. Also, the
> > computed gradient will not be continuous there either.
> >
> > The only wa to get around that is to either use a vtkPolyData if it's
> > 2D or a vtkUnstructuredGrid.
> >
> > Regards,
> > Andy
> >
> > On Wed, Jul 31, 2013 at 6:10 AM, Patrick Bechlars
> > <patrick.bechlars at soton.ac.uk <mailto:patrick.bechlars at soton.ac.uk>>
> > wrote:
> >
> >     Dear all,
> >
> >     I am trying to write out a cylindrical data set as a vtk file in
> >     StructuredGrid form to read it in Paraview. I would like to write
> >     the vtk file in a way that the first and last cell (see gap in the
> >     picture) are connected. Does any of you have experience in that
> >     and/or have a hint how to achieve that.
> >
> >     One idea was to write it in parallel format as two pieces and add
> >     ghost cells, but this would be quite dirty and is not exactly what
> >     I want.
> >
> >     Any idea is welcome!
> >
> >     Thanks a lot
> >     Patrick
> >
> >     --
> >     Patrick Bechlars
> >     Aerodynamics and Flight Mechanics Group
> >     Faculty of Engineering and the Environment
> >     University of Southampton
> >     Building 13, 2071
> >     Highfield
> >     Southampton
> >     SO17 1BJ
> >     email: patrick.bechlars at soton.ac.uk
> >     <mailto:patrick.bechlars at soton.ac.uk>
> >
> >
> >     _______________________________________________
> >     Powered by www.kitware.com <http://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 VTK FAQ at:
> >     http://www.vtk.org/Wiki/VTK_FAQ
> >
> >     Follow this link to subscribe/unsubscribe:
> >     http://www.vtk.org/mailman/listinfo/vtkusers
> >
> >
>
>
> --
> Patrick Bechlars
> Aerodynamics and Flight Mechanics Group
> Faculty of Engineering and the Environment
> University of Southampton
> Building 13, 2071
> Highfield
> Southampton
> SO17 1BJ
> email: patrick.bechlars at soton.ac.uk
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20130731/a67b6556/attachment-0001.htm
> >
>
> ------------------------------
>
> _______________________________________________
> vtkusers mailing list
> vtkusers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
> End of vtkusers Digest, Vol 111, Issue 48
> *****************************************
>



-- 
*Best  Regards
Rahul Indoria
Mobile No: +49-157-35652212*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130801/66a03817/attachment.htm>


More information about the vtkusers mailing list