Re: [Paraview] Show Widget in CompoundSourceProxy

2011-02-15 Thread Christoffer Green
Utkarsh,

Thank you for your response it has helped me make the xml file shorter since
I don't need to copy the PlaneSource to add a widget to it. Exposing the
needed properties in the CompoundSourceProxy worked well but I cannot get
the widget hints to work, whenever I add the hints section to
the CompoundSourceProxy ParaView crashes when applying the filter to a
volume. Do you know if I am doing things correctly?

I am using 32bit ParaView (3.8.1 and 3.10 rc1) on Windows 7

Here is the xml again (somewhat shorter this time):
--
ServerManagerConfiguration
  ProxyGroup name=filters
!-- Probe Filter --
SourceProxy name=Probe Filter class=vtkCompositeDataProbeFilter
 InputProperty
name=Input
command=AddInputConnection
clean_command=RemoveAllInputs
multiple_input=1
   ProxyGroupDomain name=groups
 Group name=sources/
 Group name=filters/
   /ProxyGroupDomain
   DataTypeDomain name=input_type composite_data_supported=1
 DataType value=vtkDataObject/
   /DataTypeDomain
 /InputProperty

  InputProperty
 name=Source
 command=SetSourceConnection
 multiple_input=1
ProxyGroupDomain name=groups
  Group name=sources/
  Group name=filters/
/ProxyGroupDomain
DataTypeDomain name=input_type
  DataType value=vtkDataSet/
/DataTypeDomain
  /InputProperty
   /SourceProxy

   !-- Compound Source --
   CompoundSourceProxy id=3316 servers=1 name=ProbePlane

  !-- Instance of Calculator so we can get the magnitude of the volume
data source for the probe filter--
  Proxy group=filters type=Calculator id=2154 servers=1
compound_name=Calculator2
Property name=AttributeMode id=2154.AttributeMode
number_of_elements=1
  Element index=0 value=1/
  Domain name=enum id=2154.AttributeMode.enum
Entry value=1 text=point_data/
Entry value=2 text=cell_data/
Entry value=5 text=field_data/
  /Domain
/Property
Property name=CoordinateResults id=2154.CoordinateResults
number_of_elements=1
  Element index=0 value=0/
  Domain name=bool id=2154.CoordinateResults.bool/
/Property
Property name=Function id=2154.Function number_of_elements=1
  Element index=0 value=V_3D_01_X^2+V_3D_01_Y^2+V_3D_01_Z^2/
/Property
Property name=Input id=2154.Input number_of_elements=1
  Domain name=groups id=2154.Input.groups
Group value=sources/
Group value=filters/
  /Domain
  Domain name=input_type id=2154.Input.input_type
DataType value=vtkDataSet/
  /Domain
/Property
Property name=ReplaceInvalidValues id=2154.ReplaceInvalidValues
number_of_elements=1
  Element index=0 value=1/
  Domain name=bool id=2154.ReplaceInvalidValues.bool/
/Property
Property name=ReplacementValue id=2154.ReplacementValue
number_of_elements=1
  Element index=0 value=0/
  Domain name=range id=2154.ReplacementValue.range/
/Property
Property name=ResultArrayName id=2154.ResultArrayName
number_of_elements=1
  Element index=0 value=Result/
/Property
  /Proxy

  !-- instance of PlaneSource; used for visualizing the probe filter--
  Proxy group=sources type=PlaneSource id=2453 servers=1
compound_name=Plane2
  /Proxy

  !-- instance of Probe Filter --
  Proxy group=filters type=Probe Filter id=2867 servers=1
compound_name=ProbeFilter2
Property name=Input id=2867.Input number_of_elements=1
  Proxy value=2453 output_port=0/
  Domain name=groups id=2867.Input.groups
Group value=sources/
Group value=filters/
  /Domain
  Domain name=input_type id=2867.Input.input_type
DataType value=vtkDataObject/
  /Domain
/Property
Property name=Source id=2867.Source number_of_elements=1
  Proxy value=2154 output_port=0/
  Domain name=groups id=2867.Source.groups
Group value=sources/
Group value=filters/
  /Domain
  Domain name=input_type id=2867.Source.input_type
DataType value=vtkDataSet/
  /Domain
/Property
  /Proxy
  ExposedProperties
Property name=Input proxy_name=Calculator2
exposed_name=Calcinput/
Property name=Function proxy_name=Calculator2
exposed_name=Function/
Property name=Origin proxy_name=Plane2 exposed_name=Origin/
Property name=Point1 proxy_name=Plane2 exposed_name=Point 1/
Property name=Point2 proxy_name=Plane2 exposed_name=Point 2/
Property name=XResolution proxy_name=Plane2 exposed_name=X
Resolution/
Property name=YResolution proxy_name=Plane2 exposed_name=Y
Resolution/
  /ExposedProperties

  !-- Uncommenting this crashes ParaView when applying 

Re: [Paraview] Paraview lighting Vs Command line

2011-02-15 Thread David Partyka
Can both of you file these as bugs on paraview.org/Bug when you can. Thank
you very much for pointing these out.

On Tue, Feb 15, 2011 at 6:53 AM, Fabian Braennstroem
f.braennstr...@gmx.dewrote:

 Hi,

 I am not able to help and it might be off-topic (it is just related to
 python tracing), but would like to add, that the camera position is not
 correctly tracked when using the tracing option...

 Regards!
 Fabian



 On 02/15/2011 10:34 AM, Hussein Ezzat wrote:

 Hi All,

 I am using Paraview 3.10.0 64-bit. When I save the animation to png and
 do a trace to python code, the lighting effect from the outcome of
 Paraview differs from the output of the Command-line.
 Any idea?

 You can check the difference through those 2 links:

 http://www.4shared.com/photo/AJZDTH_t/commandline.html
 http://www.4shared.com/photo/YE4P7IsN/Paraview.html

 Thanks,
 -Hussein


 

 ___
 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] Show Widget in CompoundSourceProxy

2011-02-15 Thread Utkarsh Ayachit
The name in the hints section should match the exposed_name for
the exposed properties.

Utkarsh

On Tue, Feb 15, 2011 at 3:49 AM, Christoffer Green
christoffer.gr...@gmail.com wrote:
 Utkarsh,
 Thank you for your response it has helped me make the xml file shorter since
 I don't need to copy the PlaneSource to add a widget to it. Exposing the
 needed properties in the CompoundSourceProxy worked well but I cannot get
 the widget hints to work, whenever I add the hints section to
 the CompoundSourceProxy ParaView crashes when applying the filter to a
 volume. Do you know if I am doing things correctly?
 I am using 32bit ParaView (3.8.1 and 3.10 rc1) on Windows 7
 Here is the xml again (somewhat shorter this time):
 --
 ServerManagerConfiguration
   ProxyGroup name=filters
     !-- Probe Filter --
     SourceProxy name=Probe Filter class=vtkCompositeDataProbeFilter
      InputProperty
         name=Input
         command=AddInputConnection
         clean_command=RemoveAllInputs
         multiple_input=1
        ProxyGroupDomain name=groups
          Group name=sources/
          Group name=filters/
        /ProxyGroupDomain
        DataTypeDomain name=input_type composite_data_supported=1
          DataType value=vtkDataObject/
        /DataTypeDomain
      /InputProperty
       InputProperty
          name=Source
          command=SetSourceConnection
          multiple_input=1
         ProxyGroupDomain name=groups
           Group name=sources/
           Group name=filters/
         /ProxyGroupDomain
         DataTypeDomain name=input_type
           DataType value=vtkDataSet/
         /DataTypeDomain
       /InputProperty
    /SourceProxy

    !-- Compound Source --
    CompoundSourceProxy id=3316 servers=1 name=ProbePlane

       !-- Instance of Calculator so we can get the magnitude of the volume
 data source for the probe filter--
       Proxy group=filters type=Calculator id=2154 servers=1
 compound_name=Calculator2
         Property name=AttributeMode id=2154.AttributeMode
 number_of_elements=1
           Element index=0 value=1/
           Domain name=enum id=2154.AttributeMode.enum
             Entry value=1 text=point_data/
             Entry value=2 text=cell_data/
             Entry value=5 text=field_data/
           /Domain
         /Property
         Property name=CoordinateResults id=2154.CoordinateResults
 number_of_elements=1
           Element index=0 value=0/
           Domain name=bool id=2154.CoordinateResults.bool/
         /Property
         Property name=Function id=2154.Function number_of_elements=1
           Element index=0 value=V_3D_01_X^2+V_3D_01_Y^2+V_3D_01_Z^2/
         /Property
         Property name=Input id=2154.Input number_of_elements=1
           Domain name=groups id=2154.Input.groups
             Group value=sources/
             Group value=filters/
           /Domain
           Domain name=input_type id=2154.Input.input_type
             DataType value=vtkDataSet/
           /Domain
         /Property
         Property name=ReplaceInvalidValues id=2154.ReplaceInvalidValues
 number_of_elements=1
           Element index=0 value=1/
           Domain name=bool id=2154.ReplaceInvalidValues.bool/
         /Property
         Property name=ReplacementValue id=2154.ReplacementValue
 number_of_elements=1
           Element index=0 value=0/
           Domain name=range id=2154.ReplacementValue.range/
         /Property
         Property name=ResultArrayName id=2154.ResultArrayName
 number_of_elements=1
           Element index=0 value=Result/
         /Property
       /Proxy

       !-- instance of PlaneSource; used for visualizing the probe filter--
       Proxy group=sources type=PlaneSource id=2453 servers=1
 compound_name=Plane2
       /Proxy
       !-- instance of Probe Filter --
       Proxy group=filters type=Probe Filter id=2867 servers=1
 compound_name=ProbeFilter2
         Property name=Input id=2867.Input number_of_elements=1
           Proxy value=2453 output_port=0/
           Domain name=groups id=2867.Input.groups
             Group value=sources/
             Group value=filters/
           /Domain
           Domain name=input_type id=2867.Input.input_type
             DataType value=vtkDataObject/
           /Domain
         /Property
         Property name=Source id=2867.Source number_of_elements=1
           Proxy value=2154 output_port=0/
           Domain name=groups id=2867.Source.groups
             Group value=sources/
             Group value=filters/
           /Domain
           Domain name=input_type id=2867.Source.input_type
             DataType value=vtkDataSet/
           /Domain
         /Property
       /Proxy
       ExposedProperties
         Property name=Input proxy_name=Calculator2
 exposed_name=Calcinput/
         Property name=Function proxy_name=Calculator2
 exposed_name=Function/
         Property name=Origin proxy_name=Plane2 exposed_name=Origin/
         Property name=Point1 proxy_name=Plane2 exposed_name=Point 1/
         

Re: [Paraview] unstructured grid, programmable filters: extract, process array data

2011-02-15 Thread Andy Bauer
This sounds like a job for the calculator filter.  coordsX^2+coordsY^2 for
your first example (or psi__X^2+psi__Y^2 for the psi variables) and
atan(coordsX/coordsY) for the second example.

It can operate on point or cell data (set in the Attribute Model drop-down
menu), replace invalid numbers with a specified value, and you can name the
resulting array as well.

Andy

2011/2/15 Nico Schlömer nico.schloe...@gmail.com

 Hi all,

 I've been looking at
 http://www.paraview.org/Wiki/Python_Programmable_Filter to create a
 programmable filter, but I'm a bit lost as to whether or not I need
 GetPolyData, CopyAttributes,...

 Essentially, I have an unstructured grid in an ExodusII file (like the
 attached file actually) with point data psi in it that has two
 components (X,Y). I can plot psi:X, psi:Y, and psi:magnitude alright
 with the default GUI options, but what I would really like to have
 plotted is X^2+Y^2 (no sqrt()) and something along the lines of
 arctan(Y/X).

 Is there simple code somewhere some that takes array data off of an
 unstructured grid, does something with it and returns the extra array
 from the filter?

 Cheers,
 Nico

 ___
 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] Polyvertex Topology

2011-02-15 Thread Dan Lussier

Hi Matthias,

Try changing your Topology tag to:

Topology TopologyType=Polyvertex NumberOfElements=2

The NumberOfElements property corresponds to the number of points or  
particles you have in your system for a Polyvertex type file.


This shouldn't be (but seems to often be) confused with the Dimension  
property of the DataItem for the Geometry.


The best way to think about it from my experience is that the  
NumberOfElements is a grid topology specific item, so it should be  
related to the grid itself (i.e. you're grid is just 2 particle).   
This is in contrast to the Dimensions property of the Geometry, which  
is related to the underlying data (which in this case is Dimensions=2  
3 because you are using Geometry Type=XYZ).  Dimension  is a  
general property of any underlying data (i.e. Geomety or any scalar/ 
vector/tensor, etc.) and is uniquely determined by the nature of the  
underlying data rather than the way you intend on representing it on  
the grid.


Also, when you get a crash - it can be handy to check the log files to  
see what went wrong.  On OS X (sorry I don't know about other systems)  
you can access all the logs (Paraview logs, as well as the overall  
system logs) in the Console.  I've found this useful when I cause PV  
to crash with a bad XDMF file as otherwise you don't get much  
information because the application crashes so fast it is impossible  
to read the error message that pops up.


Dan

On 14-Feb-11, at 9:56 PM, Matthias Kaczorowski wrote:

I'm trying to visualize some particles in a fluid flow using xdmf  
(loading an
HDF5 file). From the info in the mail archives I tried to generate a  
simple
example using Polyvertexes. However, this simple example file causes  
ParaView to

crash.

I guess, I haven't fully understood the use of the Polyvertex  
topology. Thanks

for any advice,

Matthias


?xml version=1.0 ? !DOCTYPE Xdmf SYSTEM Xdmf.dtd []
Xdmf xmlns:xi=http://www.w3.org/2003/XInclude; Version=2.2
 Domain
   Grid Name=Points Type=Uniform

   Topology TopologyType=Polyvertex NumberOfElements=1
   /Topology
   Geometry Type=XYZ
DataItem Format=XML Dimensions=2 3
   0.0 0.0 0.0
   1.0 1.0 1.0
/DataItem
  /Geometry

   /Grid
 /Domain
/Xdmf

___
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 lighting Vs Command line

2011-02-15 Thread bastil2...@yahoo.de
Fabian,

I guess you use parallel projection? I have seen quite some bugs in
combination with views and parallel projection. Would be nice to get
them fixed.

Regards Bastian

Am 15.02.2011 12:53, schrieb Fabian Braennstroem:
 Hi,

 I am not able to help and it might be off-topic (it is just related to
 python tracing), but would like to add, that the camera position is
 not correctly tracked when using the tracing option...

 Regards!
 Fabian


 On 02/15/2011 10:34 AM, Hussein Ezzat wrote:
 Hi All,

 I am using Paraview 3.10.0 64-bit. When I save the animation to png and
 do a trace to python code, the lighting effect from the outcome of
 Paraview differs from the output of the Command-line.
 Any idea?

 You can check the difference through those 2 links:

 http://www.4shared.com/photo/AJZDTH_t/commandline.html
 http://www.4shared.com/photo/YE4P7IsN/Paraview.html

 Thanks,
 -Hussein


 

 ___
 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


[Paraview] Mesa-7.8.2 incompatible?

2011-02-15 Thread Fabian, Nathan
Hi,

I've built a recent pull of the master branch against Mesa-7.8.2. I'm
building pure Offscreen with no X or GL.  When I try to render I get the
following fatal error:

main/renderbuffer.c:1924: _mesa_add_renderbuffer: Assertion `bufferName ==
BUFFER_DEPTH || bufferName == BUFFER_STENCIL ||
fb-Attachment[bufferName].Renderbuffer == ((void *)0)' failed.

I get this in my own coprocessing app, but I also tested pvserver connected
via client elsewhere and got the same error when the render started.  When I
build with GL both apps work fine.

Any suggestions would be greatly appreciated.

Thanks,
Nathan.


___
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] Mesa-7.8.2 incompatible?

2011-02-15 Thread David Partyka
Use an older (7.6?) or newer mesa (7.9).

On Tue, Feb 15, 2011 at 4:38 PM, Fabian, Nathan ndfa...@sandia.gov wrote:

 Hi,

 I've built a recent pull of the master branch against Mesa-7.8.2. I'm
 building pure Offscreen with no X or GL.  When I try to render I get the
 following fatal error:

 main/renderbuffer.c:1924: _mesa_add_renderbuffer: Assertion `bufferName ==
 BUFFER_DEPTH || bufferName == BUFFER_STENCIL ||
 fb-Attachment[bufferName].Renderbuffer == ((void *)0)' failed.

 I get this in my own coprocessing app, but I also tested pvserver connected
 via client elsewhere and got the same error when the render started.  When
 I
 build with GL both apps work fine.

 Any suggestions would be greatly appreciated.

 Thanks,
 Nathan.


 ___
 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] Mesa-7.8.2 incompatible?

2011-02-15 Thread Fabian, Nathan
Yep.  7.9 works great.  I've used 7.8.2 with 3.8.x.  Is Mesa something people 
should expect to upgrade going to paraview 3.10?

On 2/15/11 2:40 PM, David Partyka david.part...@kitware.com wrote:

Use an older (7.6?) or newer mesa (7.9).

On Tue, Feb 15, 2011 at 4:38 PM, Fabian, Nathan ndfa...@sandia.gov wrote:
Hi,

I've built a recent pull of the master branch against Mesa-7.8.2. I'm
building pure Offscreen with no X or GL.  When I try to render I get the
following fatal error:

main/renderbuffer.c:1924: _mesa_add_renderbuffer: Assertion `bufferName ==
BUFFER_DEPTH || bufferName == BUFFER_STENCIL ||
fb-Attachment[bufferName].Renderbuffer == ((void *)0)' failed.

I get this in my own coprocessing app, but I also tested pvserver connected
via client elsewhere and got the same error when the render started.  When I
build with GL both apps work fine.

Any suggestions would be greatly appreciated.

Thanks,
Nathan.


___
Powered by www.kitware.com http://www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the 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] build ParaView git on Windows7 64bit + MSVC2010 with vtkPythonCore errors

2011-02-15 Thread Xunlei Wu
Hi Dave and All,
I got some progress in terms of building vtkPythonCore. I had Enthought's 
Python distribution ver 7.0.1 !!!64bit!!! initially. I have verified it is 
indeed a 64bit Python executable. The package comes with python27.lib and CMake 
did not blink and automatically set PYTHON_LIBRARY to that lib. However, during 
building, MSVC2010 kept reporting python27.lib cannot be found.
Now, the fun part, I uninstalled Enthought distribution and tried Python 2.7.1 
Windows X86-64 Installer from
http://www.python.org/getit/
This time, MSVC2010 no longer complained about missing python27.lib. I am 
left with errors like

Error1  error LNK2001: unresolved external symbol 
__imp__invalid_parameter_noinfo_noreturn
C:\ParaViewGit_VS2010\VTK\Wrapping\Python\vtkPythonUtil.obj   
vtkPythonCore

After a bit digging, the error has something to do std::vector. Here are the 
beginning lines of vtkPythonUtil.cxx

#include vtkPythonUtil.h
#include vtkPythonOverload.h

#include vtkSystemIncludes.h

#include vtkObject.h
#include vtkSmartPointerBase.h
#include vtkWeakPointerBase.h
#include vtkVariant.h
#include vtkStdString.h
#include vtkUnicodeString.h
#include vtkWindows.h
#include vtkToolkits.h

#include vtksys/ios/sstream
#include vtkstd/map
#include vtkstd/vector
#include vtkstd/string
#include vtkstd/utility
   ...

After I move #include vtkstd/vector to the top of the file, POW! 
vtkPythonCore is successfully built. So I guess #include vector in 
vtkstd/vector.h gets undefined somewhere by those headers listed before it. Not 
sure whether it is a bug for other people.

x



From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On 
Behalf Of Xunlei Wu
Sent: Sunday, February 13, 2011 7:31 PM
To: David Partyka
Cc: paraview@paraview.org
Subject: Re: [Paraview] build ParaView git on Windows7 64bit + MSVC2010 with 
vtkPythonCore errors

Hi David,
I am out of luck.
Just did a fresh CMake configure with PARAVIEW_ENABLE_PYTHON on and the same 
PYTHON_LIBRARY value. The errors from MSVC2010. Any other suggestions?
Best,
x

From: David Partyka [mailto:david.part...@kitware.com]
Sent: Sunday, February 13, 2011 4:33 PM
To: Xunlei Wu
Cc: paraview@paraview.org
Subject: Re: [Paraview] build ParaView git on Windows7 64bit + MSVC2010 with 
vtkPythonCore errors

Hi Xunlei,

What do you have the PYTHON_LIBRARY cmake option set to? If you set that 
correctly then it should be able to link properly. For example this is what it 
is set to on my machine.

C:/Support/Python27-x32/libs/python27.lib

On Sun, Feb 13, 2011 at 11:46 AM, Xunlei Wu 
xun...@renci.orgmailto:xun...@renci.org wrote:
Hello,
I am building Paraview from git source on a Windows7 64bit OS with MSVC2010. I 
have enabled
PARAVIEW_ENABLE_PYTHON and VTKMY_WRAP_PYTHON in my CMake. I also built Python 
2.7.1 64bit from source so that I have both python27.lib and python27_d.lib 
available. However the core python related projects are failed to build in both 
Debug and Release builds. Then the effects just trickled down like crazy. Below 
are 3 major errors in Debug build I feel might be the primary errors. And I do 
link python27_d.lib for all of them. Please see the attached CMakeLists.txt for 
more details.

Error  6  error LNK1104: cannot open file 'python27.lib'
C:\ParaViewGit\Utilities\VTKPythonWrapping\Executable\LINK  
 vtkPVPythonInterpretor
Error  5  error LNK1104: cannot open file 'python27.lib'
C:\ParaViewGit\VTK\Wrapping\Python\LINKvtkPythonCore
Error  3  error LNK1104: cannot open file 'python27.lib'
C:\ParaViewGit\VTK\Wrapping\LINK  vtkWrapPython

Would you please help me? Thanks a lot.

Best,
x

___
Powered by www.kitware.comhttp://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] compiling master from git, problem on debian machine

2011-02-15 Thread Ricardo Reis


 hmmm...

 any idea of what could be causing this problem?

 best,

 Ricardo Reis

 'Non Serviam'

 PhD candidate @ Lasef
 Computational Fluid Dynamics, High Performance Computing, Turbulence
 http://www.lasef.ist.utl.pt

 Cultural Instigator @ Rádio Zero
 http://www.radiozero.pt

 http://www.flickr.com/photos/rreis/

 contacts:  gtalk: kyriu...@gmail.com  skype: kyriusan
___
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] compiling master from git, problem on debian machine

2011-02-15 Thread David Partyka
Hi Ricardo, Your errors are pretty strange. What debian are you using? Is
your MPI from the package manager?

On Tue, Feb 15, 2011 at 5:29 PM, Ricardo Reis rr...@aero.ist.utl.pt wrote:


  hmmm...

  any idea of what could be causing this problem?

  best,


  Ricardo Reis

  'Non Serviam'

  PhD candidate @ Lasef
  Computational Fluid Dynamics, High Performance Computing, Turbulence
  http://www.lasef.ist.utl.pt

  Cultural Instigator @ Rádio Zero
  http://www.radiozero.pt

  http://www.flickr.com/photos/rreis/

  contacts:  gtalk: kyriu...@gmail.com  skype: kyriusan

 ___
 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] problem in parallel volume rendering

2011-02-15 Thread 胡健
dear all:
   I am a graduate student. I am on the search of parallel volume render in
VTK. Now I am in trouble with parallel rendering in vtk. I hope you can do
me a favor. I want to know which class do I need to parallel volume render
in VTK. I used vtkIceTRenderManager to render,but I can not get the result.
Could you tell how to use the class vtkIceTRenderManager? Colud you give me
a sample example?
___
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