Re: [Paraview] ParaView VTK Legacy File Questions

2013-02-13 Thread Daniel Levitus
I was curious if anyone has had experience with creating their own
reader/editing an existing reader for ParaView or could tell me if it was
even possible. Thank you.

Best,
Dan Levitus

--
Daniel Levitus
University of Illinois Champaign-Urbana
B.S Civil Engineering 2013
American Society of Civil Engineers | Professional-Student Liaison
daniel.levi...@gmail.com | 847-220-2503


On Mon, Feb 11, 2013 at 12:26 PM, Daniel Levitus
daniel.levi...@gmail.comwrote:

 Continuing with the idea of comments within the VTK Legacy format, is it
 possible to edit an existing ParaView Reader to allow comments to not read
 as an error? If so how would one edit that reader? The XML format
 previously mentioned, while extremely powerful, is not an ideal choice for
 the data file need. Thanks in advance for any past and future help.

 Best,
 Dan Levitus
 --
 Daniel Levitus
 University of Illinois Champaign-Urbana
 B.S Civil Engineering 2013
 American Society of Civil Engineers | Treasurer
 daniel.levi...@gmail.com | 847-220-2503


 On Tue, Feb 5, 2013 at 9:58 AM, Daniel Levitus 
 daniel.levi...@gmail.comwrote:

 Comments within my data file. I want to be able to describe the sections
 in detail such that people within my research group understand the purpose
 of the inputted data. I suppose then the XML format will be necessary.
 Thank you again for your help, it is much appreciated.

 Best,
 Dan

 --
 Daniel Levitus
 University of Illinois Champaign-Urbana
  B.S Civil Engineering 2013
 American Society of Civil Engineers | Treasurer
 daniel.levi...@gmail.com | 847-220-2503


 On Tue, Feb 5, 2013 at 9:54 AM, Michael Jackson 
 mike.jack...@bluequartz.net wrote:

 When you say comments are you just wanting some comments in your data
 file? or do you want these comments to be rendered/available inside
 paraview? If the first is what you want (just a way to demark the sections
 of data) then the XML based vtk files are standard XML so you can use the
 XML style comments:

 !-- XML Comment  --

 If that does NOT work then Vtk/ParaView is not implementing a standard
 XML reader.
 --
 Mike Jackson www.bluequartz.net

 On Feb 5, 2013, at 10:49 AM, Daniel Levitus wrote:

  The vector data seemed to work fine. I thought I tried that before but
 must have had an error somewhere. As for the comments, does the XML VTK
 format allow comments? Or is there another file type that allows comments
 that is a similar format as the VTK Legacy File? Thank you Mike for your
 help.
 
  Best,
  Dan Levitus
 
  --
  Daniel Levitus
  University of Illinois Champaign-Urbana
  B.S Civil Engineering 2013
  American Society of Civil Engineers | Treasurer
  daniel.levi...@gmail.com | 847-220-2503
 
 
  On Tue, Feb 5, 2013 at 9:26 AM, Michael Jackson 
 mike.jack...@bluequartz.net wrote:
  The only comment in a vtk legacy file is allowed on the second line of
 the file and must be 255 chars or less.
 
  As for the vectors, if you are creating POINT_DATA then you MUST
 include data for each of the points, whether or not you actually have any
 data there to represent.
 
   You may have to write 3 sets of POINT_DATA, one for each of Tangent,
 Binormal and Normal. You might be able to put a (0,0,0) as the vector to
 basically not have it show up but I am not sure if that would work or not.
 
  Try this:
 
  # vtk DataFile Version 1.0
  3D Crack Modeling
  ASCII
  DATASET POLYDATA
 
  POINTS 4 float
  0.0 0.0 5.0
  1.0 0.0 5.0
  0.0 1.0 5.0
  1.0 1.0 5.0
 
  POLYGONS 2 8
  3 0 1 2
  3 1 3 2
 
  LINES 2 6
  2 0 1
  2 2 3
 
  POINT_DATA 4
  SCALARS node_numbering int 1
  LOOKUP_TABLE default
  0
  2
  4
  6
 
  VECTORS Binormal float
  0 1 0
  0 1 0
  0 0 0
  0 1 0
 
  VECTORS Tangent float
  0 0 1
  0 0 1
  0 0 0
  0 0 1
 
  VECTORS Normal float
  1 0 0
  1 0 0
  0 0 0
  1 0 0
 
 
  CELL_DATA 4
  SCALARS cell_numbering int 1
  LOOKUP_TABLE default
  -1
  -1
  0
  2
 
 
  Then use the Glyph Filter to display the vectors as arrows.
  ___
  Mike JacksonPrincipal Software Engineer
  BlueQuartz SoftwareDayton, Ohio
  mike.jack...@bluequartz.net  www.bluequartz.net
 
  On Feb 5, 2013, at 10:05 AM, Daniel Levitus wrote:
 
   I realized that my past email was not detailed enough as I was in a
 rush to get it out, but attached are 3 files that should help explain what
 I am trying to convey. The image named No vectors is what I currently
 have modeled in ParaView from the data file (also included). What I am
 hoping to have, is in the data file, a place to enter in the data for 3
 different vectors at as many points as I want and then be able to apply a
 filter via ParaView so that the end result would look like the second image
 name BNT.
  
   Hopefully this makes more sense.Thank you.
  
   Dan Levitus
   --
   Daniel Levitus
   University of Illinois Champaign-Urbana
   B.S Civil Engineering 2013
   American Society of Civil Engineers | Treasurer

Re: [Paraview] ParaView VTK Legacy File Questions

2013-02-11 Thread Daniel Levitus
Continuing with the idea of comments within the VTK Legacy format, is it
possible to edit an existing ParaView Reader to allow comments to not read
as an error? If so how would one edit that reader? The XML format
previously mentioned, while extremely powerful, is not an ideal choice for
the data file need. Thanks in advance for any past and future help.

Best,
Dan Levitus
--
Daniel Levitus
University of Illinois Champaign-Urbana
B.S Civil Engineering 2013
American Society of Civil Engineers | Treasurer
daniel.levi...@gmail.com | 847-220-2503


On Tue, Feb 5, 2013 at 9:58 AM, Daniel Levitus daniel.levi...@gmail.comwrote:

 Comments within my data file. I want to be able to describe the sections
 in detail such that people within my research group understand the purpose
 of the inputted data. I suppose then the XML format will be necessary.
 Thank you again for your help, it is much appreciated.

 Best,
 Dan

 --
 Daniel Levitus
 University of Illinois Champaign-Urbana
  B.S Civil Engineering 2013
 American Society of Civil Engineers | Treasurer
 daniel.levi...@gmail.com | 847-220-2503


 On Tue, Feb 5, 2013 at 9:54 AM, Michael Jackson 
 mike.jack...@bluequartz.net wrote:

 When you say comments are you just wanting some comments in your data
 file? or do you want these comments to be rendered/available inside
 paraview? If the first is what you want (just a way to demark the sections
 of data) then the XML based vtk files are standard XML so you can use the
 XML style comments:

 !-- XML Comment  --

 If that does NOT work then Vtk/ParaView is not implementing a standard
 XML reader.
 --
 Mike Jackson www.bluequartz.net

 On Feb 5, 2013, at 10:49 AM, Daniel Levitus wrote:

  The vector data seemed to work fine. I thought I tried that before but
 must have had an error somewhere. As for the comments, does the XML VTK
 format allow comments? Or is there another file type that allows comments
 that is a similar format as the VTK Legacy File? Thank you Mike for your
 help.
 
  Best,
  Dan Levitus
 
  --
  Daniel Levitus
  University of Illinois Champaign-Urbana
  B.S Civil Engineering 2013
  American Society of Civil Engineers | Treasurer
  daniel.levi...@gmail.com | 847-220-2503
 
 
  On Tue, Feb 5, 2013 at 9:26 AM, Michael Jackson 
 mike.jack...@bluequartz.net wrote:
  The only comment in a vtk legacy file is allowed on the second line of
 the file and must be 255 chars or less.
 
  As for the vectors, if you are creating POINT_DATA then you MUST
 include data for each of the points, whether or not you actually have any
 data there to represent.
 
   You may have to write 3 sets of POINT_DATA, one for each of Tangent,
 Binormal and Normal. You might be able to put a (0,0,0) as the vector to
 basically not have it show up but I am not sure if that would work or not.
 
  Try this:
 
  # vtk DataFile Version 1.0
  3D Crack Modeling
  ASCII
  DATASET POLYDATA
 
  POINTS 4 float
  0.0 0.0 5.0
  1.0 0.0 5.0
  0.0 1.0 5.0
  1.0 1.0 5.0
 
  POLYGONS 2 8
  3 0 1 2
  3 1 3 2
 
  LINES 2 6
  2 0 1
  2 2 3
 
  POINT_DATA 4
  SCALARS node_numbering int 1
  LOOKUP_TABLE default
  0
  2
  4
  6
 
  VECTORS Binormal float
  0 1 0
  0 1 0
  0 0 0
  0 1 0
 
  VECTORS Tangent float
  0 0 1
  0 0 1
  0 0 0
  0 0 1
 
  VECTORS Normal float
  1 0 0
  1 0 0
  0 0 0
  1 0 0
 
 
  CELL_DATA 4
  SCALARS cell_numbering int 1
  LOOKUP_TABLE default
  -1
  -1
  0
  2
 
 
  Then use the Glyph Filter to display the vectors as arrows.
  ___
  Mike JacksonPrincipal Software Engineer
  BlueQuartz SoftwareDayton, Ohio
  mike.jack...@bluequartz.net  www.bluequartz.net
 
  On Feb 5, 2013, at 10:05 AM, Daniel Levitus wrote:
 
   I realized that my past email was not detailed enough as I was in a
 rush to get it out, but attached are 3 files that should help explain what
 I am trying to convey. The image named No vectors is what I currently
 have modeled in ParaView from the data file (also included). What I am
 hoping to have, is in the data file, a place to enter in the data for 3
 different vectors at as many points as I want and then be able to apply a
 filter via ParaView so that the end result would look like the second image
 name BNT.
  
   Hopefully this makes more sense.Thank you.
  
   Dan Levitus
   --
   Daniel Levitus
   University of Illinois Champaign-Urbana
   B.S Civil Engineering 2013
   American Society of Civil Engineers | Treasurer
   daniel.levi...@gmail.com | 847-220-2503
  
  
   On Mon, Feb 4, 2013 at 1:45 PM, Daniel Levitus 
 daniel.levi...@gmail.com wrote:
   I have two questions regarding the VTK Legacy file format.
  
   The first being how can one write comments in the file without
 ParaView returning an error? I have tried #, %, //, /* and none have seemed
 to work. I have searched online as well and cannot seem to find something
 that suggests other methods.
  
   The second and bit more in depth

Re: [Paraview] ParaView VTK Legacy File Questions

2013-02-05 Thread Daniel Levitus
The vector data seemed to work fine. I thought I tried that before but must
have had an error somewhere. As for the comments, does the XML VTK format
allow comments? Or is there another file type that allows comments that is
a similar format as the VTK Legacy File? Thank you Mike for your help.

Best,
Dan Levitus

--
Daniel Levitus
University of Illinois Champaign-Urbana
B.S Civil Engineering 2013
American Society of Civil Engineers | Treasurer
daniel.levi...@gmail.com | 847-220-2503


On Tue, Feb 5, 2013 at 9:26 AM, Michael Jackson mike.jack...@bluequartz.net
 wrote:

 The only comment in a vtk legacy file is allowed on the second line of the
 file and must be 255 chars or less.

 As for the vectors, if you are creating POINT_DATA then you MUST include
 data for each of the points, whether or not you actually have any data
 there to represent.

  You may have to write 3 sets of POINT_DATA, one for each of Tangent,
 Binormal and Normal. You might be able to put a (0,0,0) as the vector to
 basically not have it show up but I am not sure if that would work or not.

 Try this:

 # vtk DataFile Version 1.0
 3D Crack Modeling
 ASCII
 DATASET POLYDATA

 POINTS 4 float
 0.0 0.0 5.0
 1.0 0.0 5.0
 0.0 1.0 5.0
 1.0 1.0 5.0

 POLYGONS 2 8
 3 0 1 2
 3 1 3 2

 LINES 2 6
 2 0 1
 2 2 3

 POINT_DATA 4
 SCALARS node_numbering int 1
 LOOKUP_TABLE default
 0
 2
 4
 6

 VECTORS Binormal float
 0 1 0
 0 1 0
 0 0 0
 0 1 0

 VECTORS Tangent float
 0 0 1
 0 0 1
 0 0 0
 0 0 1

 VECTORS Normal float
 1 0 0
 1 0 0
 0 0 0
 1 0 0


 CELL_DATA 4
 SCALARS cell_numbering int 1
 LOOKUP_TABLE default
 -1
 -1
 0
 2


 Then use the Glyph Filter to display the vectors as arrows.
 ___
 Mike JacksonPrincipal Software Engineer
 BlueQuartz SoftwareDayton, Ohio
 mike.jack...@bluequartz.net  www.bluequartz.net

 On Feb 5, 2013, at 10:05 AM, Daniel Levitus wrote:

  I realized that my past email was not detailed enough as I was in a rush
 to get it out, but attached are 3 files that should help explain what I am
 trying to convey. The image named No vectors is what I currently have
 modeled in ParaView from the data file (also included). What I am hoping to
 have, is in the data file, a place to enter in the data for 3 different
 vectors at as many points as I want and then be able to apply a filter via
 ParaView so that the end result would look like the second image name BNT.
 
  Hopefully this makes more sense.Thank you.
 
  Dan Levitus
  --
  Daniel Levitus
  University of Illinois Champaign-Urbana
  B.S Civil Engineering 2013
  American Society of Civil Engineers | Treasurer
  daniel.levi...@gmail.com | 847-220-2503
 
 
  On Mon, Feb 4, 2013 at 1:45 PM, Daniel Levitus daniel.levi...@gmail.com
 wrote:
  I have two questions regarding the VTK Legacy file format.
 
  The first being how can one write comments in the file without ParaView
 returning an error? I have tried #, %, //, /* and none have seemed to work.
 I have searched online as well and cannot seem to find something that
 suggests other methods.
 
  The second and bit more in depth question is: How can I apply three
 different sets of vector data to the same point in the Legacy format? I
 have a simple triangular grid and at certain points I want to be able to
 declare Tangent, Binormal, and Normal vectors for those points.
 
  If more clarification is required please let me know
 
  Best,
  Dan Levitus
  --
  Daniel Levitus
  University of Illinois Champaign-Urbana
  B.S Civil Engineering 2013
  American Society of Civil Engineers | Treasurer
  daniel.levi...@gmail.com | 847-220-2503
 
  BNT.pngNo vectors.PNGStep
 0.vtk___
  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


Re: [Paraview] ParaView VTK Legacy File Questions

2013-02-05 Thread Daniel Levitus
Comments within my data file. I want to be able to describe the sections in
detail such that people within my research group understand the purpose of
the inputted data. I suppose then the XML format will be necessary. Thank
you again for your help, it is much appreciated.

Best,
Dan
--
Daniel Levitus
University of Illinois Champaign-Urbana
B.S Civil Engineering 2013
American Society of Civil Engineers | Treasurer
daniel.levi...@gmail.com | 847-220-2503


On Tue, Feb 5, 2013 at 9:54 AM, Michael Jackson mike.jack...@bluequartz.net
 wrote:

 When you say comments are you just wanting some comments in your data
 file? or do you want these comments to be rendered/available inside
 paraview? If the first is what you want (just a way to demark the sections
 of data) then the XML based vtk files are standard XML so you can use the
 XML style comments:

 !-- XML Comment  --

 If that does NOT work then Vtk/ParaView is not implementing a standard XML
 reader.
 --
 Mike Jackson www.bluequartz.net

 On Feb 5, 2013, at 10:49 AM, Daniel Levitus wrote:

  The vector data seemed to work fine. I thought I tried that before but
 must have had an error somewhere. As for the comments, does the XML VTK
 format allow comments? Or is there another file type that allows comments
 that is a similar format as the VTK Legacy File? Thank you Mike for your
 help.
 
  Best,
  Dan Levitus
 
  --
  Daniel Levitus
  University of Illinois Champaign-Urbana
  B.S Civil Engineering 2013
  American Society of Civil Engineers | Treasurer
  daniel.levi...@gmail.com | 847-220-2503
 
 
  On Tue, Feb 5, 2013 at 9:26 AM, Michael Jackson 
 mike.jack...@bluequartz.net wrote:
  The only comment in a vtk legacy file is allowed on the second line of
 the file and must be 255 chars or less.
 
  As for the vectors, if you are creating POINT_DATA then you MUST include
 data for each of the points, whether or not you actually have any data
 there to represent.
 
   You may have to write 3 sets of POINT_DATA, one for each of Tangent,
 Binormal and Normal. You might be able to put a (0,0,0) as the vector to
 basically not have it show up but I am not sure if that would work or not.
 
  Try this:
 
  # vtk DataFile Version 1.0
  3D Crack Modeling
  ASCII
  DATASET POLYDATA
 
  POINTS 4 float
  0.0 0.0 5.0
  1.0 0.0 5.0
  0.0 1.0 5.0
  1.0 1.0 5.0
 
  POLYGONS 2 8
  3 0 1 2
  3 1 3 2
 
  LINES 2 6
  2 0 1
  2 2 3
 
  POINT_DATA 4
  SCALARS node_numbering int 1
  LOOKUP_TABLE default
  0
  2
  4
  6
 
  VECTORS Binormal float
  0 1 0
  0 1 0
  0 0 0
  0 1 0
 
  VECTORS Tangent float
  0 0 1
  0 0 1
  0 0 0
  0 0 1
 
  VECTORS Normal float
  1 0 0
  1 0 0
  0 0 0
  1 0 0
 
 
  CELL_DATA 4
  SCALARS cell_numbering int 1
  LOOKUP_TABLE default
  -1
  -1
  0
  2
 
 
  Then use the Glyph Filter to display the vectors as arrows.
  ___
  Mike JacksonPrincipal Software Engineer
  BlueQuartz SoftwareDayton, Ohio
  mike.jack...@bluequartz.net  www.bluequartz.net
 
  On Feb 5, 2013, at 10:05 AM, Daniel Levitus wrote:
 
   I realized that my past email was not detailed enough as I was in a
 rush to get it out, but attached are 3 files that should help explain what
 I am trying to convey. The image named No vectors is what I currently
 have modeled in ParaView from the data file (also included). What I am
 hoping to have, is in the data file, a place to enter in the data for 3
 different vectors at as many points as I want and then be able to apply a
 filter via ParaView so that the end result would look like the second image
 name BNT.
  
   Hopefully this makes more sense.Thank you.
  
   Dan Levitus
   --
   Daniel Levitus
   University of Illinois Champaign-Urbana
   B.S Civil Engineering 2013
   American Society of Civil Engineers | Treasurer
   daniel.levi...@gmail.com | 847-220-2503
  
  
   On Mon, Feb 4, 2013 at 1:45 PM, Daniel Levitus 
 daniel.levi...@gmail.com wrote:
   I have two questions regarding the VTK Legacy file format.
  
   The first being how can one write comments in the file without
 ParaView returning an error? I have tried #, %, //, /* and none have seemed
 to work. I have searched online as well and cannot seem to find something
 that suggests other methods.
  
   The second and bit more in depth question is: How can I apply three
 different sets of vector data to the same point in the Legacy format? I
 have a simple triangular grid and at certain points I want to be able to
 declare Tangent, Binormal, and Normal vectors for those points.
  
   If more clarification is required please let me know
  
   Best,
   Dan Levitus
   --
   Daniel Levitus
   University of Illinois Champaign-Urbana
   B.S Civil Engineering 2013
   American Society of Civil Engineers | Treasurer
   daniel.levi...@gmail.com | 847-220-2503
  
   BNT.pngNo vectors.PNGStep
 0.vtk___
   Powered by www.kitware.com

[Paraview] ParaView VTK Legacy File Questions

2013-02-04 Thread Daniel Levitus
I have two questions regarding the VTK Legacy file format.

The first being how can one write comments in the file without ParaView
returning an error? I have tried #, %, //, /* and none have seemed to work.
I have searched online as well and cannot seem to find something that
suggests other methods.

The second and bit more in depth question is: How can I apply three
different sets of vector data to the same point in the Legacy format? I
have a simple triangular grid and at certain points I want to be able to
declare Tangent, Binormal, and Normal vectors for those points.

If more clarification is required please let me know

Best,
Dan Levitus
--
Daniel Levitus
University of Illinois Champaign-Urbana
B.S Civil Engineering 2013
American Society of Civil Engineers | Treasurer
daniel.levi...@gmail.com | 847-220-2503
___
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


[Paraview] Red-Blue Stereo Rendering

2013-01-31 Thread Daniel Levitus
I was curious as to which glasses to use for the Red-Blue stereo rendering.
From what I can tell Red-Blue glasses are not as common and was curious as
to if Red-Cyan glasses would work and Red-Blue was just a generic choice in
wording. Thank you for your help.

Best,
Dan Levitus
--
Daniel Levitus
University of Illinois Champaign-Urbana
B.S Civil Engineering 2013
American Society of Civil Engineers | Treasurer
daniel.levi...@gmail.com | 847-220-2503
___
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


Re: [Paraview] Red-Blue Stereo Rendering

2013-01-31 Thread Daniel Levitus
Well see that is the thing. I have seen multiple responses stating Paraview
is Red-Blue in which case I do not think Red-Cyan would work.


--
Daniel Levitus
University of Illinois Champaign-Urbana
B.S Civil Engineering 2013
American Society of Civil Engineers | Treasurer
daniel.levi...@gmail.com | 847-220-2503


On Thu, Jan 31, 2013 at 12:02 PM, Aashish Chaudhary 
aashish.chaudh...@kitware.com wrote:

 On Thu, Jan 31, 2013 at 10:07 AM, Daniel Levitus
 daniel.levi...@gmail.com wrote:
  I was curious as to which glasses to use for the Red-Blue stereo
 rendering.
  From what I can tell Red-Blue glasses are not as common and was curious
 as
  to if Red-Cyan glasses would work and Red-Blue was just a generic choice
 in
  wording. Thank you for your help.

 I don't remember all the anaglyph options and what color vtk produces
 but red-cyan is more popular if you see cyan color, I would use them.
 More here: http://en.wikipedia.org/wiki/Anaglyph_3D

 Thanks


 
  Best,
  Dan Levitus
  --
  Daniel Levitus
  University of Illinois Champaign-Urbana
  B.S Civil Engineering 2013
  American Society of Civil Engineers | Treasurer
  daniel.levi...@gmail.com | 847-220-2503
 
  ___
  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
 



 --
 | Aashish Chaudhary
 | RD Engineer
 | Kitware Inc.
 | www.kitware.com

___
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


Re: [Paraview] Paraview-VTK Legacy Format Data File

2012-11-15 Thread Daniel Levitus
Sam,

While that would work, my goal is to maintain 1 data file. The two files I
attached are the same except one has lines and one doesn't. I only included
both so it wouldn't be necessary for you to delete the code yourself.
Eventually, there is more I would like to include in this file (node
numbering, cell numbering, tangent and normal vectors on the lines(the
lines are meant to represent crack fronts).

Does this help?

Best,
Dan


--
Daniel Levitus
University of Illinois Champaign-Urbana
B.S Civil Engineering 2013
American Society of Civil Engineers | Treasurer
daniel.levi...@gmail.com | 847-220-2503



On Thu, Nov 15, 2012 at 10:34 AM, Samuel Key samuel...@bresnan.net wrote:

  Dan,

 Your question is not entirely clear to me. Possibly the simplest way is to
 use two separate *.vtk files, one that only has the lines and the other
 that only has the Rect's.  ParaView will read both files and display the
 results either overlaid or in two separate views. You can then apply the
 3d-arrow normal glyph filter (and other filters as well) to each file
 separately.

 Hope this helps,

 Sam Key
 FMA Development. LLC



 On 11/15/2012 12:06 AM, Daniel Levitus wrote:

 Hello,

  I am trying to get Paraview to represent the cell normals through
 3d-arrow normal glyph filter for the following file. The cell normals
 should all appear in the +Z-Direction but the lines I have included are
 causing certain normals to be affected. If I remove these lines, the
 normals are represented correctly. Is there a way I can include the lines
 in my data file but not have them be an input for the normal glyph filter?
 I have included a file with the lines and without the lines. By using the
 default Normal Glyph filter in Paraview, the arrows should be different.
 Thank you for your help

  Best,
 Dan Levitus



  --
 Daniel Levitus
 University of Illinois Champaign-Urbana
  B.S Civil Engineering 2013
  American Society of Civil Engineers | Treasurer
 daniel.levi...@gmail.com | 847-220-2503




 ___
 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


Re: [Paraview] Paraview-VTK Legacy Format Data File

2012-11-15 Thread Daniel Levitus
Sam,

I feel I should go back an elaborate a little bit. My goal is to create an
arbitrary data file that will represent a crack in a material. This crack
will be modeled as a triangular mesh with the following data defined by the
user:

Nodes (points)
Connectivities (polygons)
Crack Fronts (lines)
Node IDs (Point Data)
Cell IDs (Cell Data)
Cell Normals (Cell Data)
Crack Front Tangent, Binormal, and Normal Vectors (Line data? Point data?
not sure how I am going to be able to go about doing this just yet).

Data for any crack (rectangular, a semi-cylindrical surface, etc.)  should
be able to be placed into this skeleton of a data file and the result
should always appear as the same when opened with Paraview.

Currently I have the nodes, the connectivities, crack fronts, node IDs, and
cell IDs figured out. My question currently is how I can have the cell
normals to be defined in the data file such that I can open it in Paraview,
apply a glyph (arrow) filter and the cell normals appear. Note that each
cell normal is unique and may be in the +z- direction while the adjacent
cell may be -z-direction.

I hope this elaboration helps as I was rushed before in my description of
what I was trying to accomplish.

Let me know if you have any further questions.

Best,
Dan Levitus


--
Daniel Levitus
University of Illinois Champaign-Urbana
B.S Civil Engineering 2013
American Society of Civil Engineers | Treasurer
daniel.levi...@gmail.com | 847-220-2503



On Thu, Nov 15, 2012 at 10:48 AM, Daniel Levitus
daniel.levi...@gmail.comwrote:

 Sam,

 While that would work, my goal is to maintain 1 data file. The two files I
 attached are the same except one has lines and one doesn't. I only included
 both so it wouldn't be necessary for you to delete the code yourself.
 Eventually, there is more I would like to include in this file (node
 numbering, cell numbering, tangent and normal vectors on the lines(the
 lines are meant to represent crack fronts).

 Does this help?

 Best,
 Dan


 --
 Daniel Levitus
 University of Illinois Champaign-Urbana
 B.S Civil Engineering 2013
 American Society of Civil Engineers | Treasurer
 daniel.levi...@gmail.com | 847-220-2503



 On Thu, Nov 15, 2012 at 10:34 AM, Samuel Key samuel...@bresnan.netwrote:

  Dan,

 Your question is not entirely clear to me. Possibly the simplest way is
 to use two separate *.vtk files, one that only has the lines and the other
 that only has the Rect's.  ParaView will read both files and display the
 results either overlaid or in two separate views. You can then apply the
 3d-arrow normal glyph filter (and other filters as well) to each file
 separately.

 Hope this helps,

 Sam Key
 FMA Development. LLC



 On 11/15/2012 12:06 AM, Daniel Levitus wrote:

 Hello,

  I am trying to get Paraview to represent the cell normals through
 3d-arrow normal glyph filter for the following file. The cell normals
 should all appear in the +Z-Direction but the lines I have included are
 causing certain normals to be affected. If I remove these lines, the
 normals are represented correctly. Is there a way I can include the lines
 in my data file but not have them be an input for the normal glyph filter?
 I have included a file with the lines and without the lines. By using the
 default Normal Glyph filter in Paraview, the arrows should be different.
 Thank you for your help

  Best,
 Dan Levitus



  --
 Daniel Levitus
 University of Illinois Champaign-Urbana
  B.S Civil Engineering 2013
  American Society of Civil Engineers | Treasurer
 daniel.levi...@gmail.com | 847-220-2503




 ___
 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


[Paraview] Paraview-VTK Legacy Format Data File

2012-11-14 Thread Daniel Levitus
Hello,

I am trying to get Paraview to represent the cell normals through 3d-arrow
normal glyph filter for the following file. The cell normals should all
appear in the +Z-Direction but the lines I have included are causing
certain normals to be affected. If I remove these lines, the normals are
represented correctly. Is there a way I can include the lines in my data
file but not have them be an input for the normal glyph filter? I have
included a file with the lines and without the lines. By using the default
Normal Glyph filter in Paraview, the arrows should be different. Thank you
for your help

Best,
Dan Levitus



--
Daniel Levitus
University of Illinois Champaign-Urbana
B.S Civil Engineering 2013
American Society of Civil Engineers | Treasurer
daniel.levi...@gmail.com | 847-220-2503


Rect 1no lines.vtk
Description: Binary data


Working Rect.vtk
Description: Binary data
___
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