[vtkusers] Re: vtkusers digest, Vol 1 #1467 - 13 msgs

Mete ÖZER meteozer at omu.edu.tr
Wed Dec 11 18:43:47 EST 2002


unsubscribe meteozer at omu.edu.tr


On 11 Dec 2002 18:07 EET you wrote:

> Send vtkusers mailing list submissions to
> 	vtkusers at public.kitware.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://public.kitware.com/mailman/listinfo/vtkusers
> or, via email, send a message with subject or body 'help' to
> 	vtkusers-request at public.kitware.com
> 
> You can reach the person managing the list at
> 	vtkusers-admin at public.kitware.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of vtkusers digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Problems with vtkVectorText and vtkFollower in Java (Jeff Lee)
>    2. Re: Problems with vtkVectorText and vtkFollower in Java (=?ISO-8859-1?Q?Carlos_Mart=EDnez_Burgos?=)
>    3. RE: VRML generated from vtk does not show up
>        properly  on IE (Chris Scharver)
>    4. Re: Cmake on Unix (William A. Hoffman)
>    5. RE: VRML generated from vtk does not show up
>        properly  on IE (Zhengyu Zhang)
>    6. using multiple scalars for one point (sebastien MARAUX)
>    7. RE: VRML generated from vtk does not show up
>        properly  on IE (Chris Scharver)
>    8. Re: using multiple scalars for one point (Jeremy Winston)
>    9. Re: using multiple scalars for one point (sebastien MARAUX)
>   10. PDB and GaussianCube reader for molecular graphics (Jean M. Favre)
> 
> --__--__--
> 
> Message: 1
> Date: Wed, 11 Dec 2002 06:45:06 -0500
> Wrom: KVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBL
> Organization: Computational Dynamics North America
> To: =?ISO-8859-1?Q?Carlos_Mart=EDnez_Burgos?= <cmarbur at iti.upv.es>
> Cc: VTK User Mailing List <vtkusers at public.kitware.com>
> Subject: Re: [vtkusers] Problems with vtkVectorText and vtkFollower in Java
> 
> Hi,
> I ran your code and Grid2 shows text.  Grid1 shows spheres and Grid2 
> shows text.  I use text all the time, but have abandoned vtkTextFollower 
> in favor of vtkTextActor.  The examples in Wrapping/Java/AxisActor.java 
> show how to do this.  You could try to run TestVTKCanvas and see if you 
> get text.  If not, perhaps your build is corrupt.
> -Jeff
> 
> Carlos Martínez Burgos wrote:
> 
> >Hi again.
> >
> >I have done some code to show what I want to do? The files are attached. 
> >
> >On Grid1 I show what I want to do, drawing spheres instead of text.
> >
> >On Grid2 I use the same code but drawing text instead of spheres. I can't
> >see any text on screen so I think there is a bug in the Java wrapper
> >because I can see texts in tcl examples. If you run this example and can
> >see any text please let me know.
> >
> >Does somebody tried text drawings using java wrapper?
> >
> >Thanks in advance.
> >
> >
> >On Tue, 10 Dec 2002, Jeff Lee wrote:
> >
> >  
> >
> >>perhaps you could post some sample code so we can see what you are 
> >>trying to do?
> >>-Jeff
> >>
> >>Carlos Martínez Burgos wrote:
> >>
> >>    
> >>
> >>>Hi all.
> >>>
> >>>I try to do a grid plane using vtkPlaneSource. I have to put some legend. 
> >>>At first I had tried to include a vtkCubeAxisActor2D but its behaviour is 
> >>>not as I want. I want to assign a number/leter to each axis of the grid. 
> >>>This shows it:
> >>>
> >>>  A B C
> >>>  - - - 
> >>>1 | | | |
> >>>  - - - 
> >>>2 | | | |
> >>>  - - - 
> >>>3 | | | |
> >>>  - - - 
> >>>
> >>>I have tried to use vtkVectorText and vtkFollower but nothing is showed. 
> >>>I'm using the Java wrapper. If I run the Tcl sample programs the text is 
> >>>showed. Even then when I do a "zoom extent" to show all the objects on the 
> >>>renderer, it seems that the actor is there because the extent is bigger 
> >>>that when I don't add the actor.
> >>>
> >>>I have tried not using vtkFollower and I have got the same result.
> >>>
> >>>I have tried other text objects (vtkTextActor) and nothing changes.
> >>>
> >>>This seems there is a problem with texts in Java. Perhaps is because I use 
> >>>Linux. Have you got good results in Windows?
> >>>
> >>>I wish to know if somebody is using java and has got good results showing 
> >>>texts in Linux.
> >>>
> >>>Thanks.
> >>>      
> >>>
> 
> 
> --__--__--
> 
> Message: 2
> Date: Wed, 11 Dec 2002 14:46:28  0100 (CET)
> Wrom: VLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJP
> To: Jeff Lee <jeff at cdnorthamerica.com>
> Cc: VTK User Mailing List <vtkusers at public.kitware.com>
> Subject: Re: [vtkusers] Problems with vtkVectorText and vtkFollower in Java
> 
>   This message is in MIME format.  The first part should be readable text,
>   while the remaining parts are likely unreadable without MIME-aware tools.
>   Send mail to mime at docserver.cac.washington.edu for more info.
> 
> ---1463767039-1053978172-1039614388=:15592
> Content-Type: TEXT/PLAIN; charset=ISO-8859-1
> Content-Transfer-Encoding: 8BIT
> 
> Hi.
> 
> I have tried it using vtkTextActor and the text is shown. I send the code 
> to help others.
> 
> Thank you again.
> 
> 
> On Wed, 11 Dec 2002, Jeff Lee wrote:
> 
> > Hi,
> > I ran your code and Grid2 shows text.  Grid1 shows spheres and Grid2 
> > shows text.  I use text all the time, but have abandoned vtkTextFollower 
> > in favor of vtkTextActor.  The examples in Wrapping/Java/AxisActor.java 
> > show how to do this.  You could try to run TestVTKCanvas and see if you 
> > get text.  If not, perhaps your build is corrupt.
> > -Jeff
> > 
> > Carlos Martínez Burgos wrote:
> > 
> > >Hi again.
> > >
> > >I have done some code to show what I want to do? The files are attached. 
> > >
> > >On Grid1 I show what I want to do, drawing spheres instead of text.
> > >
> > >On Grid2 I use the same code but drawing text instead of spheres. I can't
> > >see any text on screen so I think there is a bug in the Java wrapper
> > >because I can see texts in tcl examples. If you run this example and can
> > >see any text please let me know.
> > >
> > >Does somebody tried text drawings using java wrapper?
> > >
> > >Thanks in advance.
> > >
> > >
> > >On Tue, 10 Dec 2002, Jeff Lee wrote:
> > >
> > >  
> > >
> > >>perhaps you could post some sample code so we can see what you are 
> > >>trying to do?
> > >>-Jeff
> > >>
> > >>Carlos Martínez Burgos wrote:
> > >>
> > >>    
> > >>
> > >>>Hi all.
> > >>>
> > >>>I try to do a grid plane using vtkPlaneSource. I have to put some legend. 
> > >>>At first I had tried to include a vtkCubeAxisActor2D but its behaviour is 
> > >>>not as I want. I want to assign a number/leter to each axis of the grid. 
> > >>>This shows it:
> > >>>
> > >>>  A B C
> > >>>  - - - 
> > >>>1 | | | |
> > >>>  - - - 
> > >>>2 | | | |
> > >>>  - - - 
> > >>>3 | | | |
> > >>>  - - - 
> > >>>
> > >>>I have tried to use vtkVectorText and vtkFollower but nothing is showed. 
> > >>>I'm using the Java wrapper. If I run the Tcl sample programs the text is 
> > >>>showed. Even then when I do a "zoom extent" to show all the objects on the 
> > >>>renderer, it seems that the actor is there because the extent is bigger 
> > >>>that when I don't add the actor.
> > >>>
> > >>>I have tried not using vtkFollower and I have got the same result.
> > >>>
> > >>>I have tried other text objects (vtkTextActor) and nothing changes.
> > >>>
> > >>>This seems there is a problem with texts in Java. Perhaps is because I use 
> > >>>Linux. Have you got good results in Windows?
> > >>>
> > >>>I wish to know if somebody is using java and has got good results showing 
> > >>>texts in Linux.
> > >>>
> > >>>Thanks.
> > >>>      
> > >>>
> > 
> 
> -- 
> ----------------------------------------------------------------------
> Carlos Martínez Burgos      |     Instituto Tecnológico de Informática
> Ingeniero Informático       |      Universidad Politécnica de Valencia
> Tlf:  34 963877237          |                        Camí de Vera, S/N
> cmarbur at iti.upv.es          |                   46071 Valencia - Spain
> www.iti.upv.es/~cmarbur     |                           www.iti.upv.es
> ----------------------------------------------------------------------
> 
> ---1463767039-1053978172-1039614388=:15592
> Content-Type: TEXT/PLAIN; charset=US-ASCII; name="Grid2.java"
> Content-Transfer-Encoding: BASE64
> Content-ID: <Pine.LNX.4.33.0212111446280.15592 at suguru.iti.upv.es>
> Content-Description: 
> Content-Disposition: attachment; filename="Grid2.java"
> 
> aW1wb3J0IGphdmEuYXd0LkJvcmRlckxheW91dDsNCmltcG9ydCBqYXZhLmF3
> dC5ldmVudC5XaW5kb3dBZGFwdGVyOw0KaW1wb3J0IGphdmEuYXd0LmV2ZW50
> LldpbmRvd0V2ZW50Ow0KaW1wb3J0IGphdmEuYXd0LmV2ZW50LkNvbXBvbmVu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GludCBpID0gMDsgaSA8IHhyOyBp
> KyspIHsNCiAgICAgICAgICAgIFN0cmluZyBsYWJlbCA9IFN0cmluZy52YWx1
> ZU9mKChjaGFyKSAoJ0EnICsgaSkpOw0KICAgICAgICAgICAgZG91YmxlIHh0
> ID0geCArICgwLjUgKyBpKSAqICh3IC8geHIpOw0KICAgICAgICAgICAgZG91
> YmxlIHl0ID0geSAtIChoIC8gKDIgKiB5cikpOw0KDQogICAgICAgICAgICB2
> dGtUZXh0QWN0b3IgdGV4dEFjdG9yID0gbmV3IHZ0a1RleHRBY3RvcigpOw0K
> ICAgICAgICAgICAgdGV4dEFjdG9yLlNldElucHV0KGxhYmVsKTsNCiAgICAg
> ICAgICAgIHRleHRBY3Rvci5TY2FsZWRUZXh0T2ZmKCk7DQogICAgICAgICAg
> ICB0ZXh0QWN0b3IuR2V0VGV4dFByb3BlcnR5KCkuU2V0Q29sb3IoMCwgMCwg
> MCk7DQogICAgICAgICAgICB0ZXh0QWN0b3IuR2V0VGV4dFByb3BlcnR5KCku
> U2hhZG93T2ZmKCk7DQogICAgICAgICAgICB0ZXh0QWN0b3IuR2V0UG9zaXRp
> b25Db29yZGluYXRlKCkuU2V0Q29vcmRpbmF0ZVN5c3RlbVRvV29ybGQoKTsN
> CiAgICAgICAgICAgIHRleHRBY3Rvci5HZXRQb3NpdGlvbkNvb3JkaW5hdGUo
> KS5TZXRWYWx1ZSh4dCwgeXQsIHopOw0KDQogICAgICAgICAgICByZW5kZXJl
> ci5BZGRBY3Rvcih0ZXh0QWN0b3IpOw0KICAgICAgICB9DQoNCiAgICAgICAg
> Zm9yIChpbnQgaSA9IDA7IGkgPCB5cjsgaSsrKSB7DQogICAgICAgICAgICBT
> dHJpbmcgbGFiZWwgPSBTdHJpbmcudmFsdWVPZihpICsgMSk7DQogICAgICAg
> ICAgICBkb3VibGUgeHQgPSB4IC0gKHcgLyAoMiAqIHhyKSk7DQogICAgICAg
> ICAgICBkb3VibGUgeXQgPSB5ICsgKDAuN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ZG93Q2xvc2luZyhXaW5kb3dFdmVudCBlKSB7DQogICAg
> ICAgICAgICAgICAgU3lzdGVtLmV4aXQoMCk7DQogICAgICAgICAgICB9DQog
> ICAgICAgIH0pOw0KICAgICAgICBmLmdldENvbnRlbnRQYW5lKCkuYWRkKG5l
> dyBHcmlkMigpKTsNCiAgICAgICAgZi5wYWNrKCk7DQogICAgICAgIGYuc2V0
> VmlzaWJsZSh0cnVlKTsNCiAgICB9DQp9DQoNCg==
> ---1463767039-1053978172-1039614388=:15592--
> 
> --__--__--
> 
> Message: 3
> Date: Wed, 11 Dec 2002 08:37:11 -0600
> To: Zhengyu Zhang <zzhang3 at uiuc.edu>
> From: Chris Scharver <scharver at evl.uic.edu>
> Subject: RE: [vtkusers] VRML generated from vtk does not show up  
>  properly  on IE
> Cc: vtkusers at public.kitware.com
> 
> At 10:36 PM -0600 on 12/10/2002, Zhengyu Zhang wrote:
> 
> >I tried and it gives the same thing. I wonder if there is something
> >missing when the VRML file is generated from vtk.
> >
> >btw, the glview loads file very slowly. I am using XP Pro.
> >Is this normal?
> 
> The initial vtkIVWriter included with VTK makes several assumptions about the geometry exported from VTK. I've made a number of modifications for my own code, but I haven't tried to integrate it. I've bassically reworked the vtkActorToPF code (which converts VTK geometry to Performer) to vtkActorToIV to convert in-core VTK geometry to Inventor for use with either TGS Inventor in a CAVE or with Coin3d.
> 
> In particular, a more specific ShapeHints node is required to indicate whether the generated surface is a closed volume or a surface. The ordering must be specified as well, otherwise Inventor/VRML makes assumptions which conflict with VTK.
> 
> The initial slowdown is probably just the creation of normals for the shape. If they're not provided, the viewer is likely generating them automatically, so that takes some time. As you already discovered, using a vtkPolyDataNormals filter will alleviate this problem.
> 
> Chris
> --
> Chris Scharver
> Electronic Visualization Laboratory
> The University of Illinois at Chicago
> Ph: 312-996-3002   FAX: 312-413-7585
> <http://www.evl.uic.edu/scharver/>
> 
> --__--__--
> 
> Message: 4
> Date: Wed, 11 Dec 2002 09:58:18 -0500
> To: jason elliott <j_man_94 at hotmail.com>, vtkusers at public.kitware.com
> From: "William A. Hoffman" <billlist at nycap.rr.com>
> Subject: Re: [vtkusers] Cmake on Unix
> 
> --=====================_773040140==.ALT
> Content-Type: text/plain; charset="us-ascii"
> 
> What version of cmake are you using?
> 
> -Bill
> 
> 
> At 08:42 PM 12/10/2002 -0500, jason elliott wrote:
> >Hello All,
> >I am trying to install vtk on a unix machine and am having trouble installing CMake.  I am able to run ccmake, configure and generate, but when I type "make" , I get an error " Make: Cannot load CMAKE_C_COMPILER at .   Stop."
> >Any suggestions?
> > 
> >Thanks!
> >Jason Porter
> >
> >
> >----------
> >MSN 8 helps <http://g.msn.com/8HMXEN/2023>ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*. _______________________________________________ This is the private VTK discussion list. Please keep messages on-topic. Check the FAQ at: Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/vtkusers 
> 
> --=====================_773040140==.ALT
> Content-Type: text/html; charset="us-ascii"
> 
> <html>
> <body>
> What version of cmake are you using?<br><br>
> -Bill<br><br>
> <br>
> At 08:42 PM 12/10/2002 -0500, jason elliott wrote:<br>
> <blockquote type=cite class=cite cite>Hello All,<br>
> I am trying to install vtk on a unix machine and am having trouble
> installing CMake.  I am able to run ccmake, configure and generate,
> but when I type "make" , I get an error " Make: Cannot
> load CMAKE_C_COMPILER at .   Stop."<br>
> Any suggestions?<br>
>  <br>
> Thanks!<br>
> Jason Porter<br><br>
> <hr>
> MSN 8 helps <a href="http://g.msn.com/8HMXEN/2023">ELIMINATE E-MAIL
> VIRUSES.</a> Get 2 months FREE*.
> _______________________________________________ This is the private VTK
> discussion list. Please keep messages on-topic. Check the FAQ at: Follow
> this link to subscribe/unsubscribe:
> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" eudora="autourl">http://public.kitware.com/mailman/listinfo/vtkusers</a>
> </blockquote></body>
> </html>
> 
> --=====================_773040140==.ALT--
> 
> 
> 
> --__--__--
> 
> Message: 5
> Date: Wed, 11 Dec 2002 09:36:48 -0600
> To: Chris Scharver <scharver at evl.uic.edu>
> From: Zhengyu Zhang <zzhang3 at uiuc.edu>
> Subject: RE: [vtkusers] VRML generated from vtk does not show up  
>   properly  on IE
> Cc: vtkusers at public.kitware.com
> 
> Thanks for the info, it helps. I happen to use the vtkActorToPF for a term 
> project now, this one is in NCSA though. There are a few limitations for 
> this one, but it seems they all can be circumvented, so it is ok. Is your 
> vtkActorToPF open code?
> 
> Zhengyu
> 
> At 08:37 AM 12/11/2002 -0600, Chris Scharver wrote:
> >At 10:36 PM -0600 on 12/10/2002, Zhengyu Zhang wrote:
> >
> > >I tried and it gives the same thing. I wonder if there is something
> > >missing when the VRML file is generated from vtk.
> > >
> > >btw, the glview loads file very slowly. I am using XP Pro.
> > >Is this normal?
> >
> >The initial vtkIVWriter included with VTK makes several assumptions about 
> >the geometry exported from VTK. I've made a number of modifications for my 
> >own code, but I haven't tried to integrate it. I've bassically reworked 
> >the vtkActorToPF code (which converts VTK geometry to Performer) to 
> >vtkActorToIV to convert in-core VTK geometry to Inventor for use with 
> >either TGS Inventor in a CAVE or with Coin3d.
> >
> >In particular, a more specific ShapeHints node is required to indicate 
> >whether the generated surface is a closed volume or a surface. The 
> >ordering must be specified as well, otherwise Inventor/VRML makes 
> >assumptions which conflict with VTK.
> >
> >The initial slowdown is probably just the creation of normals for the 
> >shape. If they're not provided, the viewer is likely generating them 
> >automatically, so that takes some time. As you already discovered, using a 
> >vtkPolyDataNormals filter will alleviate this problem.
> >
> >Chris
> >--
> >Chris Scharver
> >Electronic Visualization Laboratory
> >The University of Illinois at Chicago
> >Ph: 312-996-3002   FAX: 312-413-7585
> ><http://www.evl.uic.edu/scharver/>
> 
> 
> --__--__--
> 
> Message: 6
> From: "sebastien MARAUX" <maraux at ondim.fr>
> To: "vtkusers" <vtkusers at public.kitware.com>
> Date: Wed, 11 Dec 2002 16:41:21  0100
> Subject: [vtkusers] using multiple scalars for one point
> 
> This is a multi-part message in MIME format.
> 
> ------=_NextPart_000_000C_01C2A134.233B37D0
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> i would like to use multiple scalars for each point of a vtkPolyData =
> object.
> (one for color and one for data for exemple)
> 
> 1. Is it possible
> 
> 2. if 1 =3D yes, How to do it ?
> 
> 3. thank you
> 
> Seb
> 
> 
> 
> 
> 
> ------=_NextPart_000_000C_01C2A134.233B37D0
> Content-Type: text/html;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content=3D"text/html; charset=3Diso-8859-1" =
> http-equiv=3DContent-Type>
> <META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>i would like to use multiple scalars =
> for each point=20
> of a vtkPolyData object.</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>(one for color and one for data for=20
> exemple)</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT face=3DArial size=3D2>1. Is it possible</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT face=3DArial size=3D2>2. if 1 =3D yes, How to do it =
> ?</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT face=3DArial size=3D2>3. thank you</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT face=3DArial size=3D2>Seb</FONT></DIV>
> <DIV> </DIV>
> <DIV> </DIV>
> <DIV> </DIV>
> <DIV> </DIV></BODY></HTML>
> 
> ------=_NextPart_000_000C_01C2A134.233B37D0--
> 
> 
> --__--__--
> 
> Message: 7
> Date: Wed, 11 Dec 2002 09:49:21 -0600
> To: Zhengyu Zhang <zzhang3 at uiuc.edu>
> From: Chris Scharver <scharver at evl.uic.edu>
> Subject: RE: [vtkusers] VRML generated from vtk does not show up    
>  properly  on IE
> Cc: vtkusers at public.kitware.com
> 
> At 9:36 AM -0600 on 12/11/2002, Zhengyu Zhang wrote:
> 
> >Thanks for the info, it helps. I happen to use the vtkActorToPF for a term project now, this one is in NCSA though. There are a few limitations for this one, but it seems they all can be circumvented, so it is ok. Is your vtkActorToPF open code?
> 
> I'm using the same code Paul Rajlich has posted at NCSA. I've just hacked it up to dump out Inventor instead. I was previously using a modified version of the vktIVWriter source that I chopped up to dump out in a format specific for my VTK pipeline. Once I get things cleaned up I'll make the code available on the web.
> 
> Chris
> --
> Chris Scharver
> Electronic Visualization Laboratory
> The University of Illinois at Chicago
> Ph: 312-996-3002   FAX: 312-413-7585
> <http://www.evl.uic.edu/scharver/>
> 
> --__--__--
> 
> Message: 8
> Date: Wed, 11 Dec 2002 10:59:06 -0500
> From: Jeremy Winston <winston at cat.rpi.edu>
> Organization: CAT @ RPI
> To: sebastien MARAUX <maraux at ondim.fr>
> Cc: vtkusers <vtkusers at public.kitware.com>
> Subject: Re: [vtkusers] using multiple scalars for one point
> 
> > sebastien MARAUX wrote:
> > 
> > i would like to use multiple scalars for each point of a vtkPolyData object.
> > (one for color and one for data for exemple)
> 
> Sebastien,
>    The archives are a goldmine:
> 
> http://www.kitware.com/cgi-bin/htsearch?config=htdig_vtk&words=multiple scalars
> 
> HTH,
> -Jeremy
> 
> --__--__--
> 
> Message: 9
> From: "sebastien MARAUX" <maraux at ondim.fr>
> To: "Jeremy Winston" <winston at cat.rpi.edu>
> Cc: "vtkusers" <vtkusers at public.kitware.com>
> Subject: Re: [vtkusers] using multiple scalars for one point
> Date: Wed, 11 Dec 2002 16:59:30  0100
> 
> I tried it, but with vtkpoints added, so it did not output
> any significant result, sorry.
> 
> Next time I will search better.
> 
> seb
> 
> ----- Original Message -----
> From: "Jeremy Winston" <winston at cat.rpi.edu>
> To: "sebastien MARAUX" <maraux at ondim.fr>
> Cc: "vtkusers" <vtkusers at public.kitware.com>
> Sent: Wednesday, December 11, 2002 4:59 PM
> Subject: Re: [vtkusers] using multiple scalars for one point
> 
> 
> > > sebastien MARAUX wrote:
> > >
> > > i would like to use multiple scalars for each point of a vtkPolyData
> object.
> > > (one for color and one for data for exemple)
> >
> > Sebastien,
> >    The archives are a goldmine:
> >
> >
> http://www.kitware.com/cgi-bin/htsearch?config=htdig_vtk&words=multiple scal
> ars
> >
> > HTH,
> > -Jeremy
> >
> 
> 
> --__--__--
> 
> Message: 10
> Date: Wed, 11 Dec 2002 17:03:26  0100
> From: "Jean M. Favre" <jfavre at cscs.ch>
> Organization: CSCS
> To: vtkusers at public.kitware.com
> Subject: [vtkusers] PDB and GaussianCube reader for molecular graphics
> 
> 
> For anyone interested, I have 2 classes to read data from 2 well known
> Molecular Data formats (PDB ATOM records and Gaussian Cube).
> 
> vtkMoleculeReader accepts both types (PDB and GaussianCube) and creates
> a vtkPolyData (display of atoms and bonds is via glyphs and tubes)
> 
> vtkGaussianCubeReader creates a vtkStructuredPoints and display is done
> via isosurface, cutting planes, volume rendering, etc...
> 
> I also have the XML description to add the readers to ParaView.
> 
> Send me mail if you'd like a copy of my source code. 
> 
> PDB link:
> http://www.rcsb.org/pdb/docs/format/pdbguide2.2/guide2.2_frame.html
> Gaussian Cube link: http://www.gaussian.com/00000430.htm
> 
> -- 
> Dr. Jean M. Favre,                            email:favre at cscs.ch
> http://www.cscs.ch/people/Favre.html
> CSCS, Swiss Center for Scientific Computing | Tel:   41 (91) 610.82.40
> Via Cantonale, 6928 Manno, Switzerland      | Fax:   41 (91) 610.82.82
> 
> 
> --__--__--
> 
> _______________________________________________
> vtkusers mailing list
> vtkusers at public.kitware.com
> http://public.kitware.com/mailman/listinfo/vtkusers
> 
> 
> End of vtkusers Digest




More information about the vtkusers mailing list