[Paraview] VTK File Format Question
Berk Geveci
berk.geveci at kitware.com
Mon Dec 13 07:22:09 EST 2010
Assuming that you are defining a uniform rectilinear grid, you need
STRUCTURED_POINTS. As for defining opacity, what is your goal? To do volume
rendering? Other than when using volume rendering, opacity does not have any
effect.
If you need to define an arbitrary set of cubes, you probably need an
unstructured grid.
Can you give us an example of your dataset and visualization you want to do?
A picture maybe?
-berk
On Sun, Dec 12, 2010 at 10:15 AM, Jeff Johnson <jj56 at indiana.edu> wrote:
> Thanks, but I'm totally new to the VTK file format and ParaView, and the
> documentation is not clear. It seems like the STRUCTURED_GRID geometry is
> the proper one for what I need, but I can find virtually no examples of it's
> use. For instance, if I want to specify a set of unit cubes from a set of
> points, do I do that in POINT_DATA or CELL_DATA? If I want to color them and
> set an opacity, where does that information go? The documentation says that
> a lookup table is a set of RGBA values that is associated with scalar data,
> but what does the scalar data represent, and how do I associated it with the
> cubes?
>
> -Jeff
>
>
> On Dec 12, 2010, at 03:27 , Sebastien Jourdain wrote:
>
> > Hi Jeff,
> >
> > on the help page of vtk (http://www.vtk.org/VTK/help/documentation.html)
> > you do have a link on the VTK file format.
> > You should be able to find all the informations that you need here:
> > http://www.vtk.org/VTK/img/file-formats.pdf
> >
> > Seb
> >
> > On Sat, Dec 11, 2010 at 8:44 PM, Jeff Johnson <jj56 at indiana.edu> wrote:
> >> Hi all,
> >>
> >> I'm using ParaView to visualize a dataset, and I'm trying to generate an
> ASCII VTK file that will specify a set of voxels, where each voxel has an
> associated color and opacity. Does anyone have any suggestions for how I
> should format the file? It seems like this should be easy, but I can't make
> heads or tails of the documentation.
> >>
> >> -Jeff
> >> _______________________________________________
> >> 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
> >>
> >> Follow this link to subscribe/unsubscribe:
> >> http://www.paraview.org/mailman/listinfo/paraview
> >>
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20101213/1b7dcecf/attachment-0001.htm>
More information about the ParaView
mailing list