[Paraview] Question about modifing ParaView

2009-03-12 Thread shenyanwen
I am doing some work about making plugins for ParaView.
So I have a question ,that is after I made some changes in ParaView, I tried
to recompile it with CMake+VS2005, and then I found I could not debug it any
more. How does it happen?And, how can I do to avoid this happen ?
Thanks so much!

-- 
shenyan...@gmail.com
Mobile Phone:13476177952
Tel: 027-87558144
___
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] 3d visualisation

2009-03-12 Thread Dr Gavin Tabor
Dear All,

We are looking at buying a 3d projection system; this consists of two
projectors with polarising filters and a screen, and you wear polarising
glasses; it gives a very impressive 3d effect. I use paraview (and
paraFoam from OpenFOAM) and would want to integrate this with the new
system - does anyone have any experience with 3d visualisation using
paraview?? I assume all that is necessary is to have 2 cameras looking
at the scene and feeding to the two projectors; but is this already
implemented, or if not, is anyone working on it??

Thanks in advance for any info!

Gavin

-- 
Dr Gavin Tabor
Senior Lecturer, School of Engineering,
Computing and Mathematics (SECaM),
University of Exeter

___
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] Better names for 'representations' ?

2009-03-12 Thread Utkarsh Ayachit
Eric,

The request does seem reasonable. However, with the upcoming changes
to the python API, it will provide better/nicer ways of locating
representations irrespective of their names. So the naming issue would
probably be redundant.

Utkarsh

On Wed, Mar 11, 2009 at 3:12 PM, Eric E. Monson emon...@cs.duke.edu wrote:
 Hello,

 I am wondering whether it would be possible or reasonable to have ParaView
 match the names of proxies in 'sources' and 'representations'?

 When working from Python, it's easy to get a proxy from 'sources' if you
 know its name from the pipeline. The name even changes when you edit it in
 the pipeline. In contrast, 'representations' proxies are named
 'DataRepresentation1', 'DataRepresentation2', etc., and to find the proper
 proxy I always have iterate through the representation proxies and check for
 a match between the proxy from 'sources' and the representation proxy Input.

 Since I don't understand much about all the client/server/proxy stuff, I
 don't know if this is a reasonable request, or if it's difficult for PV to
 do things internally like change the representation name when the source
 name is changed.

 Thanks,
 -Eric

 --
 Eric E Monson
 Duke Visualization Technology Group



 ___
 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] pqLoadFromObjectPanel and implicit_functions

2009-03-12 Thread Utkarsh Ayachit
If your custom panel, put a frame or groupbox or some QWidget that you
want to act as the container for this widget. Then simply create the
pqProxySelectionWidget passing this frame as the parent.
Look at pqNamedWidgets.cxx and search for pqSMAdaptor::PROXYSELECTION
to see how this pqProxySelectionWidget is created/used etc.

Utkarsh

On Thu, Mar 12, 2009 at 9:25 AM, Nehme Bilal nehmebi...@gmail.com wrote:
 Hi,

 If I use an implicit_functions in a plugin, like Box, Plane or Sphere,
 it will provides it's own gui and add it to the existing gui of the
 plugin. But if I use a Qt designer gui, I can't access the gui of the
 implicit_functions and the 3D widgets will not show up in the 3D view
 !
 Is there a way to solve this problem ? ( I know that I can use
 pqAutoGeneratedObjectPanel but it will take me long time to reproduce
 my current custom panel )
 To use the implicit implicit_functions I added this code to my xml file:

      ProxyProperty name=CutFunction command=SetCutFunction
         label=Slice Type
        ProxyGroupDomain name=groups
          Group name=implicit_functions/
        /ProxyGroupDomain
           ProxyListDomain name=proxy_list
              Proxy group=implicit_functions name=Plane /
              Proxy group=implicit_functions name=Box /
              Proxy group=implicit_functions name=Sphere /
              Proxy group=implicit_functions name=Scalar /
           /ProxyListDomain
        Documentation
          This property sets the parameters of the slice function.
        /Documentation
      /ProxyProperty

 I am not sure also if this is the proper way of using
 implicit_functions. ( The plan widget never show up in the 3D view ! )

 Thank you,
 Nehme
 ___
 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] Feature request

2009-03-12 Thread Renato Elias
Just a suggestion: It would be great have the pipeline objects grouped when
we have multiple views. Sometimes, when the pipeline is large, it's hard to
find what object is in each view just looking for the visibility icon (that
small eye).

Cheers

Renato.

p.s.: I forgot the link to the bug/feature request system
___
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] Feature request

2009-03-12 Thread Utkarsh Ayachit
Here's the link: http://paraview.org/Bug/


On Thu, Mar 12, 2009 at 9:40 AM, Renato Elias rnel...@gmail.com wrote:
 Just a suggestion: It would be great have the pipeline objects grouped when
 we have multiple views. Sometimes, when the pipeline is large, it's hard to
 find what object is in each view just looking for the visibility icon (that
 small eye).

 Cheers

 Renato.

 p.s.: I forgot the link to the bug/feature request system

 ___
 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] 3d visualisation

2009-03-12 Thread Bernhard Gschaider

Hi Gavin!

(It's funny: you always meet the same people in very different places
;) )

 On Thu, 12 Mar 2009 08:38:34 +
 GT == Gavin Tabor Dr wrote:

GT Dear All, We are looking at buying a 3d projection system;
GT this consists of two projectors with polarising filters and a
GT screen, and you wear polarising glasses; it gives a very
GT impressive 3d effect. I use paraview (and paraFoam from
GT OpenFOAM) and would want to integrate this with the new system
GT - does anyone have any experience with 3d visualisation using
GT paraview?? I assume all that is necessary is to have 2 cameras
GT looking at the scene and feeding to the two projectors; but is
GT this already implemented, or if not, is anyone working on it??

These are just some pointers (some of them outdated):

The VTK-toolkit (which paraview is based on) seems to support
stereo-rendering 

http://www.vtk.org/doc/release/5.2/html/a01192.html

One (possibly outdated) method to get it to work in Paraview is
described here:

http://www.evl.uic.edu/cavern/rg/20040715_schwarz/

I think (not sure) that MayaVi (another postprocessor based on VTK)
had the option to switch to stero-rendering

I know this is sketchy, but it's all I know (maybe somebody here can
tell you more)

Bernhard

-- 
---
DI Bernhard F.W. Gschaider
---
EMail:  bernhard.gschai...@ice-sf.at
WWW  : www.ice-sf.at
Jabber : bgsch...@jabber.org
Tel:+43(3842)98282-42   Fax:+43(3842)98282-02
---
___
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] Feature request

2009-03-12 Thread Renato Elias
Thanks Utkarsh, I've just filled in a feature request.

regards

Renato.

On Thu, Mar 12, 2009 at 10:43 AM, Utkarsh Ayachit 
utkarsh.ayac...@kitware.com wrote:

 Here's the link: http://paraview.org/Bug/


 On Thu, Mar 12, 2009 at 9:40 AM, Renato Elias rnel...@gmail.com wrote:
  Just a suggestion: It would be great have the pipeline objects grouped
 when
  we have multiple views. Sometimes, when the pipeline is large, it's hard
 to
  find what object is in each view just looking for the visibility icon
 (that
  small eye).
 
  Cheers
 
  Renato.
 
  p.s.: I forgot the link to the bug/feature request system
 
  ___
  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] 3d visualisation

2009-03-12 Thread Dr Gavin Tabor
Hi Bernhard! I think quite a few O'Foamers read the paraview mailing
list as well - for obvious reasons.

Thanks for the links. I'm passing them on to the vendor to see what
sense they can make of them - I think CrystalEyes is an active system,
whereas what we are looking at is a passive system working on polarising
light - but the second of your links seems to suggest that it will work
with that OK too.

Gavin


On Thu, 2009-03-12 at 13:58 +, Bernhard Gschaider wrote:
 Hi Gavin!
 
 (It's funny: you always meet the same people in very different places
 ;) )
 
  On Thu, 12 Mar 2009 08:38:34 +
  GT == Gavin Tabor Dr wrote:
 
 GT Dear All, We are looking at buying a 3d projection system;
 GT this consists of two projectors with polarising filters and a
 GT screen, and you wear polarising glasses; it gives a very
 GT impressive 3d effect. I use paraview (and paraFoam from
 GT OpenFOAM) and would want to integrate this with the new system
 GT - does anyone have any experience with 3d visualisation using
 GT paraview?? I assume all that is necessary is to have 2 cameras
 GT looking at the scene and feeding to the two projectors; but is
 GT this already implemented, or if not, is anyone working on it??
 
 These are just some pointers (some of them outdated):
 
 The VTK-toolkit (which paraview is based on) seems to support
 stereo-rendering 
 
 http://www.vtk.org/doc/release/5.2/html/a01192.html
 
 One (possibly outdated) method to get it to work in Paraview is
 described here:
 
 http://www.evl.uic.edu/cavern/rg/20040715_schwarz/
 
 I think (not sure) that MayaVi (another postprocessor based on VTK)
 had the option to switch to stero-rendering
 
 I know this is sketchy, but it's all I know (maybe somebody here can
 tell you more)
 
 Bernhard
 
-- 
Dr Gavin Tabor
Senior Lecturer, School of Engineering,
Computing and Mathematics (SECaM),
University of Exeter

___
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] Resample with dataset.

2009-03-12 Thread Berk Geveci
Unfortunately, this is not the correct way of doing it. You are
changing the name of the output array which happens to also be the
input array (thanks to CopyAttributes). Changing your input in a
filter is a no no in VTK. You have to deep copy the attributes if you
want to do this. In the future, I think we will create another level
of indirection such that it will be possible to shallow copy the
contents of arrays (i.e. the pointer) for the purpose of renaming (and
else).

-berk

On Sun, Mar 8, 2009 at 7:50 AM, Jacques Papper jpap...@ara.co.uk wrote:
  Hi all, I made a quick modification to the vtkProbeFilter.cxx to pass the
 input data as well as the interpolated data to the output. This is so I can
 calculate deltas between two configurations without having to use a python
 programmable filter. Could you tell me if you think this modification is the
 right way of doing what I want? (It seems to work, but I'm not absolutely
 sure this is a correct way of doing things.)




  // First, copy the input to the output as a starting point
  output-CopyStructure(input);
  output-CopyAttributes(input); //JP - copies input data as well

  vtkPointData* outPD;

  outPD = output-GetPointData();

  // Change name of input data
  int numArrays  = outPD-GetNumberOfArrays();
  for(int i = 0 ; i  numArrays; ++i){
    vtkAbstractArray * absar = outPD-GetAbstractArray(i);
    absar-SetName(strcat(absar-GetName(),_original));
  }

 Jacques PAPPER
 Applied CFD Team Leader
 Tel: +44 (0) 1234 324677


 ---
 This email contains information that is private and confidential and is 
 intended only for the addressee.  If you are not the intended recipient 
 please delete it and notify us immediately by e-mailing the sender.
 Note: All email sent to or from this address may be accessed by someone other 
 than the recipient, for system management and security reasons.
 Aircraft Research Association Ltd.  Registered in England, Registration No 
 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 
 196351245


 ___
 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] Graphical rendering: troubleshooting

2009-03-12 Thread Hugo Gagnon
Does the main render window show up (with center axes and all)?: It shows up, 
but I can't see the center axes and all.

Can you create one of the sources in the Sources menu and hit Apply?: No, 
nothing appears.

Do you see the visualization correctly?: No.

Hugo.

From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com]
Sent: Wednesday, March 11, 2009 2:02 PM
To: Hugo Gagnon
Cc: paraview@paraview.org
Subject: Re: [Paraview] Graphical rendering: troubleshooting

What do you mean by you cannot visualize files? Does the main render
window show up (with center axes and all)? Can you create one of the
sources in the Sources menu and hit Apply, do you see the
visualization correctly?

Utkarsh

On Wed, Mar 11, 2009 at 12:31 PM, Hugo Gagnon
hugo.gagn...@mail.mcgill.ca wrote:
 I just installed Paraview via Fedora 10 repository. The main window opens
 correctly but I cannot visualize input files (in vtk format in my case). Are
 there any other graphical-related packages I should install too? I am using
 a built-in video GMA 950 on a macbook.

 Thanks for any input,

 Hugo.
 ___
 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] Graphical rendering: troubleshooting

2009-03-12 Thread Utkarsh Ayachit
Do other OpenGL based applications work? Try updating your graphics drivers.

Utkarsh

On Thu, Mar 12, 2009 at 11:31 AM, Hugo Gagnon
hugo.gagn...@mail.mcgill.ca wrote:
 Does the main render window show up (with center axes and all)?: It shows up, 
 but I can't see the center axes and all.

 Can you create one of the sources in the Sources menu and hit Apply?: No, 
 nothing appears.

 Do you see the visualization correctly?: No.

 Hugo.
 
 From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com]
 Sent: Wednesday, March 11, 2009 2:02 PM
 To: Hugo Gagnon
 Cc: paraview@paraview.org
 Subject: Re: [Paraview] Graphical rendering: troubleshooting

 What do you mean by you cannot visualize files? Does the main render
 window show up (with center axes and all)? Can you create one of the
 sources in the Sources menu and hit Apply, do you see the
 visualization correctly?

 Utkarsh

 On Wed, Mar 11, 2009 at 12:31 PM, Hugo Gagnon
 hugo.gagn...@mail.mcgill.ca wrote:
 I just installed Paraview via Fedora 10 repository. The main window opens
 correctly but I cannot visualize input files (in vtk format in my case). Are
 there any other graphical-related packages I should install too? I am using
 a built-in video GMA 950 on a macbook.

 Thanks for any input,

 Hugo.
 ___
 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] Graphical rendering: troubleshooting

2009-03-12 Thread David E DeMarle
Does Fedora have a window manager effects control setting somewhere? I
have see things like window manager opacity and special effects
interfering with paraviews 3D Views. I don't recall which distro this
was under, but turing does the fanciness setting fixed a similar
problem.

On Thu, Mar 12, 2009 at 11:31 AM, Hugo Gagnon
hugo.gagn...@mail.mcgill.ca wrote:
 Does the main render window show up (with center axes and all)?: It shows up, 
 but I can't see the center axes and all.

 Can you create one of the sources in the Sources menu and hit Apply?: No, 
 nothing appears.

 Do you see the visualization correctly?: No.

 Hugo.
 
 From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com]
 Sent: Wednesday, March 11, 2009 2:02 PM
 To: Hugo Gagnon
 Cc: paraview@paraview.org
 Subject: Re: [Paraview] Graphical rendering: troubleshooting

 What do you mean by you cannot visualize files? Does the main render
 window show up (with center axes and all)? Can you create one of the
 sources in the Sources menu and hit Apply, do you see the
 visualization correctly?

 Utkarsh

 On Wed, Mar 11, 2009 at 12:31 PM, Hugo Gagnon
 hugo.gagn...@mail.mcgill.ca wrote:
 I just installed Paraview via Fedora 10 repository. The main window opens
 correctly but I cannot visualize input files (in vtk format in my case). Are
 there any other graphical-related packages I should install too? I am using
 a built-in video GMA 950 on a macbook.

 Thanks for any input,

 Hugo.
 ___
 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




-- 
David E DeMarle
Kitware, Inc.
RD Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109
___
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] Graphical rendering: troubleshooting

2009-03-12 Thread David E DeMarle
turing does - turning down

On Thu, Mar 12, 2009 at 11:58 AM, David E DeMarle
dave.dema...@kitware.com wrote:
 Does Fedora have a window manager effects control setting somewhere? I
 have see things like window manager opacity and special effects
 interfering with paraviews 3D Views. I don't recall which distro this
 was under, but turing does the fanciness setting fixed a similar
 problem.

 On Thu, Mar 12, 2009 at 11:31 AM, Hugo Gagnon
 hugo.gagn...@mail.mcgill.ca wrote:
 Does the main render window show up (with center axes and all)?: It shows 
 up, but I can't see the center axes and all.

 Can you create one of the sources in the Sources menu and hit Apply?: 
 No, nothing appears.

 Do you see the visualization correctly?: No.

 Hugo.
 
 From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com]
 Sent: Wednesday, March 11, 2009 2:02 PM
 To: Hugo Gagnon
 Cc: paraview@paraview.org
 Subject: Re: [Paraview] Graphical rendering: troubleshooting

 What do you mean by you cannot visualize files? Does the main render
 window show up (with center axes and all)? Can you create one of the
 sources in the Sources menu and hit Apply, do you see the
 visualization correctly?

 Utkarsh

 On Wed, Mar 11, 2009 at 12:31 PM, Hugo Gagnon
 hugo.gagn...@mail.mcgill.ca wrote:
 I just installed Paraview via Fedora 10 repository. The main window opens
 correctly but I cannot visualize input files (in vtk format in my case). Are
 there any other graphical-related packages I should install too? I am using
 a built-in video GMA 950 on a macbook.

 Thanks for any input,

 Hugo.
 ___
 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




 --
 David E DeMarle
 Kitware, Inc.
 RD Engineer
 28 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-371-3971 x109




-- 
David E DeMarle
Kitware, Inc.
RD Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109
___
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] Better names for 'representations' ?

2009-03-12 Thread Berk Geveci
I agree with Utkarsh. Since the user interface hides the
representation objects from the user, the appropriate interface for
getting representations should take (view, source) as the argument.
Views on the other hand should probably be named so that it is easy to
match Python names to something in the GUI.

-berk

On Thu, Mar 12, 2009 at 9:22 AM, Utkarsh Ayachit
utkarsh.ayac...@kitware.com wrote:
 Eric,

 The request does seem reasonable. However, with the upcoming changes
 to the python API, it will provide better/nicer ways of locating
 representations irrespective of their names. So the naming issue would
 probably be redundant.

 Utkarsh

 On Wed, Mar 11, 2009 at 3:12 PM, Eric E. Monson emon...@cs.duke.edu wrote:
 Hello,

 I am wondering whether it would be possible or reasonable to have ParaView
 match the names of proxies in 'sources' and 'representations'?

 When working from Python, it's easy to get a proxy from 'sources' if you
 know its name from the pipeline. The name even changes when you edit it in
 the pipeline. In contrast, 'representations' proxies are named
 'DataRepresentation1', 'DataRepresentation2', etc., and to find the proper
 proxy I always have iterate through the representation proxies and check for
 a match between the proxy from 'sources' and the representation proxy Input.

 Since I don't understand much about all the client/server/proxy stuff, I
 don't know if this is a reasonable request, or if it's difficult for PV to
 do things internally like change the representation name when the source
 name is changed.

 Thanks,
 -Eric

 --
 Eric E Monson
 Duke Visualization Technology Group



 ___
 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

___
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] Feature request

2009-03-12 Thread Berk Geveci
Can you be more specific? Grouped based on visibility? Is the idea to
quickly find the panel of an object you see in a view?

-berk

On Thu, Mar 12, 2009 at 9:40 AM, Renato Elias rnel...@gmail.com wrote:
 Just a suggestion: It would be great have the pipeline objects grouped when
 we have multiple views. Sometimes, when the pipeline is large, it's hard to
 find what object is in each view just looking for the visibility icon (that
 small eye).

 Cheers

 Renato.

 p.s.: I forgot the link to the bug/feature request system

 ___
 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] 3d visualisation

2009-03-12 Thread Berk Geveci
Hi Gavin,

How does this work? Are the two projectors fed by the same graphics
card? Do you need some special drivers?

-berk

On Thu, Mar 12, 2009 at 4:38 AM, Dr Gavin Tabor g.r.ta...@exeter.ac.uk wrote:
 Dear All,

 We are looking at buying a 3d projection system; this consists of two
 projectors with polarising filters and a screen, and you wear polarising
 glasses; it gives a very impressive 3d effect. I use paraview (and
 paraFoam from OpenFOAM) and would want to integrate this with the new
 system - does anyone have any experience with 3d visualisation using
 paraview?? I assume all that is necessary is to have 2 cameras looking
 at the scene and feeding to the two projectors; but is this already
 implemented, or if not, is anyone working on it??

 Thanks in advance for any info!

 Gavin

 --
 Dr Gavin Tabor
 Senior Lecturer, School of Engineering,
 Computing and Mathematics (SECaM),
 University of Exeter

 ___
 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] Feature request

2009-03-12 Thread Renato Elias
Oops, sorry for not being more clear. I was thinking about grouping by
objects itself, not by visibility. In this way we would have something like
this:

view_1
dataset_1
filter_1.1
filter_1.2

view_2
dataset_2
filter_2.1
filter_2.2

view_3
dataset_3
filter_3.1
filter_3.2

and so on...

Regards

Renato.


On Thu, Mar 12, 2009 at 2:56 PM, Berk Geveci berk.gev...@kitware.comwrote:

 Can you be more specific? Grouped based on visibility? Is the idea to
 quickly find the panel of an object you see in a view?

 -berk

 On Thu, Mar 12, 2009 at 9:40 AM, Renato Elias rnel...@gmail.com wrote:
  Just a suggestion: It would be great have the pipeline objects grouped
 when
  we have multiple views. Sometimes, when the pipeline is large, it's hard
 to
  find what object is in each view just looking for the visibility icon
 (that
  small eye).
 
  Cheers
 
  Renato.
 
  p.s.: I forgot the link to the bug/feature request system
 
  ___
  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] 3d visualisation

2009-03-12 Thread David E DeMarle
The paraview client has a --stereo argument which defaults to vtk's
red blue stereo mode. The other stereo modes from vtk will work but
there is no UI yet that lets the user choose which one and set up
parameters. Thus you have to change the code and recompile to try
anything other than red blue mode.

John Woodring at LANL has code to create the UI but it is not yet checked in.

On Thu, Mar 12, 2009 at 9:58 AM, Bernhard Gschaider
bgschaid_li...@ice-sf.at wrote:

 Hi Gavin!

 (It's funny: you always meet the same people in very different places
 ;) )

 On Thu, 12 Mar 2009 08:38:34 +
 GT == Gavin Tabor Dr wrote:

    GT Dear All, We are looking at buying a 3d projection system;
    GT this consists of two projectors with polarising filters and a
    GT screen, and you wear polarising glasses; it gives a very
    GT impressive 3d effect. I use paraview (and paraFoam from
    GT OpenFOAM) and would want to integrate this with the new system
    GT - does anyone have any experience with 3d visualisation using
    GT paraview?? I assume all that is necessary is to have 2 cameras
    GT looking at the scene and feeding to the two projectors; but is
    GT this already implemented, or if not, is anyone working on it??

 These are just some pointers (some of them outdated):

 The VTK-toolkit (which paraview is based on) seems to support
 stereo-rendering

 http://www.vtk.org/doc/release/5.2/html/a01192.html

 One (possibly outdated) method to get it to work in Paraview is
 described here:

 http://www.evl.uic.edu/cavern/rg/20040715_schwarz/

 I think (not sure) that MayaVi (another postprocessor based on VTK)
 had the option to switch to stero-rendering

 I know this is sketchy, but it's all I know (maybe somebody here can
 tell you more)

 Bernhard

 --
 ---
 DI Bernhard F.W. Gschaider
 ---
 EMail:  bernhard.gschai...@ice-sf.at
 WWW  : www.ice-sf.at
 Jabber : bgsch...@jabber.org
 Tel:    +43(3842)98282-42       Fax:    +43(3842)98282-02
 ---
 ___
 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




-- 
David E DeMarle
Kitware, Inc.
RD Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109
___
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] 3d visualisation

2009-03-12 Thread Biao She
I think what you mean is side-by-side stereo rendering mode. Right?
I have done this before.Paraview doesn't support this stereo rendering mode.
But it's fairly easy to change some source code of Paraview to make it work.
You only need to change the code in *paraview/VTK/Rendering/vtkRenderWindow.h
*and *paraview/VTK/Rendering/vtkRenderWindow.cxx*. Please refer to this
webpage about how to change the code:
http://www.geophysik.uni-muenchen.de/intranet/it-service/applications/paraview/compiling-and-installing-paraview-and-vtk/

This works for linux system at least. I have tried it on windows, but
nothing change. Even if I use the red-blue stereo mode in paraview on
windows, it doesn't work too. I don't know if paraview doesn't support
stereo rendering on Windows or I have done something wrong on windows.
Anyway, hope this helpful.

Biao


On Thu, Mar 12, 2009 at 12:26 PM, David E DeMarle
dave.dema...@kitware.comwrote:

 The paraview client has a --stereo argument which defaults to vtk's
 red blue stereo mode. The other stereo modes from vtk will work but
 there is no UI yet that lets the user choose which one and set up
 parameters. Thus you have to change the code and recompile to try
 anything other than red blue mode.

 John Woodring at LANL has code to create the UI but it is not yet checked
 in.

 On Thu, Mar 12, 2009 at 9:58 AM, Bernhard Gschaider
 bgschaid_li...@ice-sf.at wrote:
 
  Hi Gavin!
 
  (It's funny: you always meet the same people in very different places
  ;) )
 
  On Thu, 12 Mar 2009 08:38:34 +
  GT == Gavin Tabor Dr wrote:
 
 GT Dear All, We are looking at buying a 3d projection system;
 GT this consists of two projectors with polarising filters and a
 GT screen, and you wear polarising glasses; it gives a very
 GT impressive 3d effect. I use paraview (and paraFoam from
 GT OpenFOAM) and would want to integrate this with the new system
 GT - does anyone have any experience with 3d visualisation using
 GT paraview?? I assume all that is necessary is to have 2 cameras
 GT looking at the scene and feeding to the two projectors; but is
 GT this already implemented, or if not, is anyone working on it??
 
  These are just some pointers (some of them outdated):
 
  The VTK-toolkit (which paraview is based on) seems to support
  stereo-rendering
 
  http://www.vtk.org/doc/release/5.2/html/a01192.html
 
  One (possibly outdated) method to get it to work in Paraview is
  described here:
 
  http://www.evl.uic.edu/cavern/rg/20040715_schwarz/
 
  I think (not sure) that MayaVi (another postprocessor based on VTK)
  had the option to switch to stero-rendering
 
  I know this is sketchy, but it's all I know (maybe somebody here can
  tell you more)
 
  Bernhard
 
  --
 
 ---
  DI Bernhard F.W. Gschaider
 
 ---
  EMail:  bernhard.gschai...@ice-sf.at
  WWW  : www.ice-sf.at
  Jabber : bgsch...@jabber.org
  Tel:+43(3842)98282-42   Fax:+43(3842)98282-02
 
 ---
  ___
  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
 



 --
 David E DeMarle
 Kitware, Inc.
 RD Engineer
 28 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-371-3971 x109
 ___
 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




-- 
She, Biao
Department of Computing Science,
University of Alberta, Edmonton, Canada
___
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] Feature request

2009-03-12 Thread Berk Geveci
OK, how do you decide which object belongs to which view? An object
can be shown in more than one view.

-berk

On Thu, Mar 12, 2009 at 2:16 PM, Renato Elias rnel...@gmail.com wrote:
 Oops, sorry for not being more clear. I was thinking about grouping by
 objects itself, not by visibility. In this way we would have something like
 this:

 view_1
     dataset_1
     filter_1.1
     filter_1.2

 view_2
     dataset_2
     filter_2.1
     filter_2.2

 view_3
     dataset_3
     filter_3.1
     filter_3.2

 and so on...

 Regards

 Renato.


 On Thu, Mar 12, 2009 at 2:56 PM, Berk Geveci berk.gev...@kitware.com
 wrote:

 Can you be more specific? Grouped based on visibility? Is the idea to
 quickly find the panel of an object you see in a view?

 -berk

 On Thu, Mar 12, 2009 at 9:40 AM, Renato Elias rnel...@gmail.com wrote:
  Just a suggestion: It would be great have the pipeline objects grouped
  when
  we have multiple views. Sometimes, when the pipeline is large, it's hard
  to
  find what object is in each view just looking for the visibility icon
  (that
  small eye).
 
  Cheers
 
  Renato.
 
  p.s.: I forgot the link to the bug/feature request system
 
  ___
  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] Graphical rendering: troubleshooting

2009-03-12 Thread Hugo Gagnon
As a matter of fact I believe this is the only OpenGL application I happen to 
have installed. In fact, now that you bring it, how can I check if my graphic 
card support OpenGL, or if I have it installed on my computer at all? I am 
using a built-in video GMA 950 on an Intel macbook. I have no idea how to 
update graphics drivers too. By now you probably figured out that I have 
limited Linux knowledge, therefore can you please provide me with command lines 
to run?

Hugo.

From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com]
Sent: Thursday, March 12, 2009 11:57 AM
To: Hugo Gagnon
Cc: paraview@paraview.org
Subject: Re: [Paraview] Graphical rendering: troubleshooting

Do other OpenGL based applications work? Try updating your graphics drivers.

Utkarsh

On Thu, Mar 12, 2009 at 11:31 AM, Hugo Gagnon
hugo.gagn...@mail.mcgill.ca wrote:
 Does the main render window show up (with center axes and all)?: It shows up, 
 but I can't see the center axes and all.

 Can you create one of the sources in the Sources menu and hit Apply?: No, 
 nothing appears.

 Do you see the visualization correctly?: No.

 Hugo.
 
 From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com]
 Sent: Wednesday, March 11, 2009 2:02 PM
 To: Hugo Gagnon
 Cc: paraview@paraview.org
 Subject: Re: [Paraview] Graphical rendering: troubleshooting

 What do you mean by you cannot visualize files? Does the main render
 window show up (with center axes and all)? Can you create one of the
 sources in the Sources menu and hit Apply, do you see the
 visualization correctly?

 Utkarsh

 On Wed, Mar 11, 2009 at 12:31 PM, Hugo Gagnon
 hugo.gagn...@mail.mcgill.ca wrote:
 I just installed Paraview via Fedora 10 repository. The main window opens
 correctly but I cannot visualize input files (in vtk format in my case). Are
 there any other graphical-related packages I should install too? I am using
 a built-in video GMA 950 on a macbook.

 Thanks for any input,

 Hugo.
 ___
 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] How to add a Reader plugin

2009-03-12 Thread shenyanwen
I am adding a new reader in ParaView as a plugin.There are some questions
about how to add the files in the appropriate path.
So Now I have already known how to write the files the plugin needs.But I
read the book The ParaView Guide, it says that if I want to write a
Client-side Plugin,I should write the source file vtkMyReader.cxx|h, and
then I need to write a SM.xml file, where shoul I add this file? And where
should I add the GUI.xml file and the CMakeLists.txt file which contains
ADD_PARA_PLUGIN( )? Thanks so much!

-- 
shenyan...@gmail.com
Mobile Phone:13476177952
Tel: 027-87558144
___
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