[Paraview] crashes in loading vtu in pvserver/client mode

2010-06-29 Thread Philippe David

Hello ,

for many versions we faced regular crashes when loading a vtu in 
client/server mode. The same problem remains with V3.8.0


error message from putty(openSSH terminal)

Using keyboard-interactive authentication.
Password:
Listen on port: 1
 Waiting for client...
  Client connected.
   ERROR: In 
/home/kitware/ParaView3/Utilities/BuildScripts/ParaView-3.6/ParaView3/VTK/IO/vtkXMLDataReader.cxx, 
line 544
vtkXMLUnstructuredGridReader (0xb0d4f0): Cannot read 
cell data array EpsXX(1/s) from PointData in piece 0.  The data array 
in the element may be too short.



1/ generally, the problem occurs on vectors data
2/ the vtu loading works fine when loading locally
3/ the same problem occurs whith differents pvservers installations
4/ the server is a linux based and we use the pre-compiled versions from 
http://www.paraview.org


thanks for any support in this critical issue for us.

--
Philippe DAVID
Sciences Computers Consultants
office:33(0)4-77-49-75-80
mobile:33(0)6-08-47-64-38

___
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] Problems building 3.8.0

2010-06-29 Thread Dave Partyka
Hi Carolyn,

I was able to finally track down a machine with this compiler, reproduce and
fix it last night. I apologize for the delay. That machine now submits a
nightly dashboard to VTK so we know right away when it breaks.

http://www.cdash.org/CDash/buildSummary.php?buildid=650969

http://www.cdash.org/CDash/buildSummary.php?buildid=650969Thanks!

On Tue, Jun 15, 2010 at 2:47 PM, Carolyn Stancoff cstanc...@gmail.comwrote:

 That worked.  But now I'm getting

 error C2039: 'vector': is not a member of 'std::vector_Ty'

 Thanks,

 Carolyn

 On Mon, Jun 14, 2010 at 3:19 PM, Dave Partyka dave.part...@kitware.comwrote:

 Turn off VTK_USE_N_WAY_ARRAYS. VS 2003's compiler can't handle the
 templates used in the Variants and N-Way arrays.

   On Mon, Jun 14, 2010 at 5:01 PM, Carolyn Stancoff 
 cstanc...@gmail.comwrote:

   All,

 I'm trying to build 3.8.0 on Windows XP.  I'm using qt 4.6.0, cmake
 2.8.1, and Visual Studio 7 2003.  I get the following error:

 error C2063 'vtkTypedArrayT::GetVariantValue' : not a function

 Any ideas?

 Thanks,

 Carolyn

 ___
 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] Visualizations works converted to python code

2010-06-29 Thread Utkarsh Ayachit
ParaView supports tracing your actions into Python as your are doing
them in the GUI as well as save the current state in a python script.
Refer to http://www.paraview.org/Wiki/Python_GUI_Tools for details.

Utkarsh

On Tue, Jun 29, 2010 at 7:55 AM,  rhush...@iitk.ac.in wrote:
 Hi,
 I am working on a set of images and have to carry out many filters and
 changes in the color schemes before taking a snapshot of it.
 Can we get our work converted into python code? ...
 or is the work stored into some python file when we work already?
 so that we can only change the input file name and run the code on the
 python shell
 As our work has been completed already ,so this would be very helpful to
 run it on multiple files.

 One more doubt : how do we use the exported color scheme in paraview from
 python shell ?

 Thank You in advance

 Rhushabh Bhandari
 ___
 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] Visualizations works converted to python code

2010-06-29 Thread Laurent Vanboquestal
Hi,

But when execute this code, do you have an 'opengl vtk window' automatically
opened ?

Is it possible to get rid of this window ?

Thanks,

Laurent

On Tue, Jun 29, 2010 at 3:36 PM, Utkarsh Ayachit 
utkarsh.ayac...@kitware.com wrote:

 ParaView supports tracing your actions into Python as your are doing
 them in the GUI as well as save the current state in a python script.
 Refer to http://www.paraview.org/Wiki/Python_GUI_Tools for details.

 Utkarsh

 On Tue, Jun 29, 2010 at 7:55 AM,  rhush...@iitk.ac.in wrote:
  Hi,
  I am working on a set of images and have to carry out many filters and
  changes in the color schemes before taking a snapshot of it.
  Can we get our work converted into python code? ...
  or is the work stored into some python file when we work already?
  so that we can only change the input file name and run the code on the
  python shell
  As our work has been completed already ,so this would be very helpful to
  run it on multiple files.
 
  One more doubt : how do we use the exported color scheme in paraview from
  python shell ?
 
  Thank You in advance
 
  Rhushabh Bhandari
  ___
  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] crashes in loading vtu in pvserver/client mode

2010-06-29 Thread Utkarsh Ayachit
Any possibility of sharing a sample dataset with which this can be reproduced?

Utkarsh

On Tue, Jun 29, 2010 at 3:38 AM, Philippe David
pda...@scconsultants.com wrote:
 Hello ,

 for many versions we faced regular crashes when loading a vtu in
 client/server mode. The same problem remains with V3.8.0

 error message from putty(openSSH terminal)

 Using keyboard-interactive authentication.
 Password:
 Listen on port: 1
  Waiting for client...
   Client connected.
    ERROR: In
 /home/kitware/ParaView3/Utilities/BuildScripts/ParaView-3.6/ParaView3/VTK/IO/vtkXMLDataReader.cxx,
 line 544
     vtkXMLUnstructuredGridReader (0xb0d4f0): Cannot read cell
 data array EpsXX(1/s) from PointData in piece 0.  The data array in the
 element may be too short.
 

 1/ generally, the problem occurs on vectors data
 2/ the vtu loading works fine when loading locally
 3/ the same problem occurs whith differents pvservers installations
 4/ the server is a linux based and we use the pre-compiled versions from
 http://www.paraview.org

 thanks for any support in this critical issue for us.

 --
 Philippe DAVID
 Sciences Computers Consultants
 office:33(0)4-77-49-75-80
 mobile:33(0)6-08-47-64-38

 ___
 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] XDMF writing problem

2010-06-29 Thread Samer Afach
Hello programmers,

I'm new to this list, I'm not sure I'm asking in the right place, but
I'll try to ask and I hope I'll get the answer I'm looking for :) .

I have an HDF5 file which is an array of 8-bit double 3D array of
pressure values for a sample I have, the size of this array is
320x304x304. I'm trying to read this file to (visualise it in) Paraview,
and I heard that I have to write an XDMF file for that. So I started
reading about it, but the final result I got was not pleasing. I
attached with this e-mail the XDMF file I wrote for this purpose
(reading my data.h5 file).

Could someone please tell me what's wrong in my XDMF?

Thank you, any efforts are highly appreciated.

Regards,
Samer Afach
Institute for Computational physics, University of Stuttgart
?xml version=1.0 ?
!DOCTYPE Xdmf SYSTEM Xdmf.dtd []
Xdmf Version=2.0
domain
   Grid Name=mesh1 GridType=Uniform
   Topology TopologyType=3DSMesh NumberOfElements=304 304 320/
 Geometry GeometryType=X_Y_Z
   DataItem Dimensions=304 304 320 NumberType=Float Precision=8 Format=HDF
data.h5:/X
   /DataItem
   DataItem Dimensions=304 304 320 NumberType=Float Precision=8 Format=HDF
data.h5:/Y
   /DataItem
   DataItem Dimensions=304 304 320 NumberType=Float Precision=8 Format=HDF
data.h5:/Z
   /DataItem
 /Geometry
 Attribute Name=Pressure AttributeType=Scalar Center=Cell
   DataItem Dimensions=304 304 320 NumberType=Float Precision=8 Format=HDF
data.h5:/Pressure
   /DataItem
 /Attribute
   /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


Re: [Paraview] crashes in loading vtu in pvserver/client mode

2010-06-29 Thread Berk Geveci
Utkarsh,

I have an example dataset.

-berk

On Tue, Jun 29, 2010 at 10:51 AM, Utkarsh Ayachit 
utkarsh.ayac...@kitware.com wrote:

 Any possibility of sharing a sample dataset with which this can be
 reproduced?

 Utkarsh

 On Tue, Jun 29, 2010 at 3:38 AM, Philippe David
 pda...@scconsultants.com wrote:
  Hello ,
 
  for many versions we faced regular crashes when loading a vtu in
  client/server mode. The same problem remains with V3.8.0
 
  error message from putty(openSSH terminal)
 
  Using keyboard-interactive authentication.
  Password:
  Listen on port: 1
   Waiting for client...
Client connected.
 ERROR: In
 
 /home/kitware/ParaView3/Utilities/BuildScripts/ParaView-3.6/ParaView3/VTK/IO/vtkXMLDataReader.cxx,
  line 544
  vtkXMLUnstructuredGridReader (0xb0d4f0): Cannot read cell
  data array EpsXX(1/s) from PointData in piece 0.  The data array in the
  element may be too short.
  
 
  1/ generally, the problem occurs on vectors data
  2/ the vtu loading works fine when loading locally
  3/ the same problem occurs whith differents pvservers installations
  4/ the server is a linux based and we use the pre-compiled versions from
  http://www.paraview.org
 
  thanks for any support in this critical issue for us.
 
  --
  Philippe DAVID
  Sciences Computers Consultants
  office:33(0)4-77-49-75-80
  mobile:33(0)6-08-47-64-38
 
  ___
  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] Rendering a sub-class of vtkImageData in paraview

2010-06-29 Thread Lord, John (UK)
Hi,
 
I have written a sub-class of vtkImageData that holds additional
information for processing the data further down the pipeline.  When a
filter outputs my sub-class, Paraview gives the message Cannot show the
data in the current view although the view reported that it can show the
data.
 
How do I tell Paraview that it should render my sub-class in the same
way as a vtkImageData object.
 
Regards,
John
 
BAE Systems (Operations) Limited
Registered Office: Warwick House, PO Box 87, Farnborough Aerospace
Centre, Farnborough, Hants, GU14 6YU, UK
Registered in England  Wales No: 1996687 
 


This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.


___
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] XDMF writing problem

2010-06-29 Thread Eric E. Monson
Hello Samer,

You may need to explain a bit more what you mean by the final result I got was 
not pleasing. 

It looks like there may be a problem in that you are defining 320x304x304 
points for your grid, but you also are stating that the same number of Pressure 
attributes exist, centered on the cells. If you really have that many pressure 
values, you should probably put them as Center=Node, otherwise there should 
be one less value in each direction, as the cells will be implicitly defined 
between the points.

(Also, you probably already know this, but if your grid has a constant spacing 
in each direction you can either use 3DRectMesh or 3DCoRectMesh topology and 
not have to specify the XYZ positions of the points.)

If changing cell centered to point centered doesn't help, just explain a little 
more about what's not working and we'll try to help more. There is also an Xdmf 
mailing list, but this is an okay place to post for now if you're trying to 
load your data into ParaView.

Talk to you later,
-Eric

--
Eric E Monson
Duke Visualization Technology Group


On Jun 29, 2010, at 11:19 AM, Samer Afach wrote:

 Hello programmers,
 
 I'm new to this list, I'm not sure I'm asking in the right place, but
 I'll try to ask and I hope I'll get the answer I'm looking for :) .
 
 I have an HDF5 file which is an array of 8-bit double 3D array of
 pressure values for a sample I have, the size of this array is
 320x304x304. I'm trying to read this file to (visualise it in) Paraview,
 and I heard that I have to write an XDMF file for that. So I started
 reading about it, but the final result I got was not pleasing. I
 attached with this e-mail the XDMF file I wrote for this purpose
 (reading my data.h5 file).
 
 Could someone please tell me what's wrong in my XDMF?
 
 Thank you, any efforts are highly appreciated.
 
 Regards,
 Samer Afach
 Institute for Computational physics, University of Stuttgart
 ?xml version=1.0 ?
 !DOCTYPE Xdmf SYSTEM Xdmf.dtd []
 Xdmf Version=2.0
domain
   Grid Name=mesh1 GridType=Uniform
   Topology TopologyType=3DSMesh NumberOfElements=304 304 320/
 Geometry GeometryType=X_Y_Z
   DataItem Dimensions=304 304 320 NumberType=Float Precision=8 
 Format=HDF
data.h5:/X
   /DataItem
   DataItem Dimensions=304 304 320 NumberType=Float Precision=8 
 Format=HDF
data.h5:/Y
   /DataItem
   DataItem Dimensions=304 304 320 NumberType=Float Precision=8 
 Format=HDF
data.h5:/Z
   /DataItem
 /Geometry
 Attribute Name=Pressure AttributeType=Scalar Center=Cell
   DataItem Dimensions=304 304 320 NumberType=Float Precision=8 
 Format=HDF
data.h5:/Pressure
   /DataItem
 /Attribute
   /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


[Paraview] Problems building 3.8.0 for 64-bit Mac

2010-06-29 Thread Ben Medina
Hello,

I just downloaded the 3.8.0 source and am trying to compile a 64-bit
version on Mac OS 10.5. During the build of the pqWidgets target, this
error occurs:

.../ParaView-3.8.0/Qt/Widgets/pqProgressBarHelper.cxx:37: error: type
'class QObject' is not a direct base of 'pqProgressBarHelper'

There seems to be an error in the source. Here's the class declaration
in pqProgressBarHelper.h:

#ifdef Q_WS_MAC
class pqProgressBarHelper : public QWidget
#else
class pqProgressBarHelper : public QObject
#endif

But then in the constructor in pqProgressBarHelper.cxx is this:

pqProgressBarHelper::pqProgressBarHelper(pqProgressBar* p)
: QObject(p), Progress(p)
{
}

Any ideas?

Thanks,
Ben
___
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] Problems building 3.8.0 for 64-bit Mac

2010-06-29 Thread Utkarsh Ayachit
If you look at Qt/Widgets/CMakeLists.txt, around line #79, it doesn't
add pqProgressBarHelper.cxx as a source to compile on macs, instead it
uses pqProgressBarHelper.mm. Now the question why isn't that happening
in your case.  Try adding the following;

message( Q_WS_MAC == ${Q_WS_MAC})

What does that print out when you run cmake?

Utkarsh

On Tue, Jun 29, 2010 at 3:38 PM, Ben Medina ben.med...@gmail.com wrote:
 Hello,

 I just downloaded the 3.8.0 source and am trying to compile a 64-bit
 version on Mac OS 10.5. During the build of the pqWidgets target, this
 error occurs:

 .../ParaView-3.8.0/Qt/Widgets/pqProgressBarHelper.cxx:37: error: type
 'class QObject' is not a direct base of 'pqProgressBarHelper'

 There seems to be an error in the source. Here's the class declaration
 in pqProgressBarHelper.h:

 #ifdef Q_WS_MAC
 class pqProgressBarHelper : public QWidget
 #else
 class pqProgressBarHelper : public QObject
 #endif

 But then in the constructor in pqProgressBarHelper.cxx is this:

 pqProgressBarHelper::pqProgressBarHelper(pqProgressBar* p)
 : QObject(p), Progress(p)
 {
 }

 Any ideas?

 Thanks,
 Ben
 ___
 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] Problems building 3.8.0 for 64-bit Mac

2010-06-29 Thread Dave Partyka
Hi Ben, can you send us your CMakeCache.txt in the root of your build tree.

On Tue, Jun 29, 2010 at 4:40 PM, Ben Medina ben.med...@gmail.com wrote:

 It just prints out:
 Q_WS_MAC ==

 I'm not sure what is responsible for setting that variable; I've only
 ever seen it used in C++ source as a preprocessor define, not in CMake
 source.

 Thanks,
 Ben

 On Tue, Jun 29, 2010 at 1:00 PM, Utkarsh Ayachit
 utkarsh.ayac...@kitware.com wrote:
  If you look at Qt/Widgets/CMakeLists.txt, around line #79, it doesn't
  add pqProgressBarHelper.cxx as a source to compile on macs, instead it
  uses pqProgressBarHelper.mm. Now the question why isn't that happening
  in your case.  Try adding the following;
 
  message( Q_WS_MAC == ${Q_WS_MAC})
 
  What does that print out when you run cmake?
 
  Utkarsh
 
  On Tue, Jun 29, 2010 at 3:38 PM, Ben Medina ben.med...@gmail.com
 wrote:
  Hello,
 
  I just downloaded the 3.8.0 source and am trying to compile a 64-bit
  version on Mac OS 10.5. During the build of the pqWidgets target, this
  error occurs:
 
  .../ParaView-3.8.0/Qt/Widgets/pqProgressBarHelper.cxx:37: error: type
  'class QObject' is not a direct base of 'pqProgressBarHelper'
 
  There seems to be an error in the source. Here's the class declaration
  in pqProgressBarHelper.h:
 
  #ifdef Q_WS_MAC
  class pqProgressBarHelper : public QWidget
  #else
  class pqProgressBarHelper : public QObject
  #endif
 
  But then in the constructor in pqProgressBarHelper.cxx is this:
 
  pqProgressBarHelper::pqProgressBarHelper(pqProgressBar* p)
  : QObject(p), Progress(p)
  {
  }
 
  Any ideas?
 
  Thanks,
  Ben
  ___
  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] Rendering a sub-class of vtkImageData in paraview

2010-06-29 Thread Berk Geveci
This would probably require changing the ParaView code in a few places. I
suspect that we have things like

if (classname == vtkImageData)

all over the place. However, there may be a better solution. Can you explain
what additional information you are storing in this subclass?

-berk

On Tue, Jun 29, 2010 at 12:15 PM, Lord, John (UK)
john.l...@baesystems.comwrote:

  Hi,

 I have written a sub-class of vtkImageData that holds additional
 information for processing the data further down the pipeline.  When a
 filter outputs my sub-class, Paraview gives the message Cannot show the
 data in the current view although the view reported that it can show the
 data.

 How do I tell Paraview that it should render my sub-class in the same way
 as a vtkImageData object.

 Regards,
 John

 BAE Systems (Operations) Limited
 Registered Office: Warwick House, PO Box 87, Farnborough Aerospace Centre,
 Farnborough, Hants, GU14 6YU, UK
 Registered in England  Wales No: 1996687


 
 This email and any attachments are confidential to the intended
 recipient and may also be privileged. If you are not the intended
 recipient please delete it from your system and notify the sender.
 You should not copy it or use it for any purpose nor disclose or
 distribute its contents to any other person.
 


 ___
 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