[Paraview] Antw: Re: Multiple Screens

2008-12-04 Thread Christian Wohlschlager
** Reply Requested When Convenient **

Dear Kenneth !

Sorry Sorry Sorry it was mpirun -np 1 ./pvserver -display :0.0 : -np 1 
./pvserver -display :0. 1 : -np 1 ./pvserver -display :0.2 

i try the one again and i will tell you the result

mfg

christian

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Ghost cells for standalone Paraview

2008-12-04 Thread Fabian Wein
Hi Ken,

thanks a lot - you solved the issue! :)

It works fine with the clip filter - memory consumption seems to be in
the green range!

Best regards from ol' Europe,

Fabian

 OK, I understand now.  What you are asking for is not exactly what
 VTK/ParaView considers ghost cells.  You want add a layer of points
 around the boundary of an image data (i.e. 3D uniform regular grid) with
 minimum values to force the contour filter to create closed surfaces.  I
 don’t know of an easy way to do this in ParaView (someone please correct
 me if I am wrong).
 
 I think you can get the effect you want by using the clip by scalars
 feature.  Instead of using the contour filter, use the clip filter.
  Change the “Clip Type” to “Scalar” and set the value to the isosurface
 you want to see.  The advantage of this approach is that the data you
 see will show the surface right at the edge of the volume instead of the
 arbitrary rounding at the edges you see in the Amira screenshots.  The
 disadvantage is that the underlying data is a solid unstructured
 geometry which could take up much more memory than the original image
 data.  If memory is an issue, let me know and I can describe
 memory-light version that uses a combination of the contour, extract
 surface, and clip filters.
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] problems linking my plugin

2008-12-04 Thread Natalie Happenhofer

Hi!
Again, I get a linker error building my plugin for paraview, at the point
Linking CXX shared library ..\bin\libDataCalculator.dll

it says: 
In function 'ZNK17vtkDataCalclulator19NewInstanceInternalEv':
 undefined reference to 
vtkDataCalculator::FillInputInformation(int,vtkInformation*)

My code looks like this:
vtkDataCalculator.h:

#ifndef __vtkDataCalculator_h
#define __vtkDataCalculator_h


#include vtkUnstructuredGridAlgorithm.h

class VTK_EXPORT vtkDataCalculator: public vtkUnstructuredGridAlgorithm
{ public:
  static vtkDataCalculator *New();

  vtkTypeRevisionMacro(vtkDataCalculator,vtkUnstructuredGridAlgorithm);
  void PrintSelf(ostream os, vtkIndent indent);

protected:
vtkDataCalculator();
~vtkDataCalculator(){};

virtual int FillInputPortInformation(int port, vtkInformation* info);
virtual int RequestData(vtkInformation *, vtkInformationVector **, 
vtkInformationVector *);
};
#endif


vtkDataCalculator.cxx:

#include vtkDataCalculator.h
#include vtkDataSet.h
#include vtkDataArray.h
#include vtkUnstructuredGrid.h
#include vtkObjectFactory.h
#include vtkPointData.h
#include vtkDoubleArray.h
#include vtkAlgorithm.h
#include fstream
#include vtkSmartPointer.h
#include vtkInformation.h
#include vtkInformationVector.h

vtkStandardNewMacro(vtkDataCalculator);
//
vtkCxxRevisionMacro(vtkDataCalculator,$Revision$);
//
vtkDataCalculator::vtkDataCalculator(){} 
   }
//
void vtkDataCalculator::PrintSelf(ostream os, vtkIndent indent)
{
this-Superclass::PrintSelf(os,indent);
}
//
int FillInputPortInformation(int ,vtkInformation* info)
{ 
info - Set(vtkAlgorithm::INPUT_REQUIRED_DATA_TYPE(),vtkDataSet);
info - Set(vtkAlgorithm::INPUT_IS_REPEATABLE(), 1);
return 1;
}
//
int vtkDataCalculator::RequestData(vtkInformation *vtkNotUsed(request),
  vtkInformationVector **inputVector,
  vtkInformationVector *outputVector)
{...
}


Is there a macro missing or... ?

thx for help,
Natalie

_
Chatea mientras compartes los mejores videos. Descubre Messenger TV.
http://messengertv.msn.com/mkt/es-xl/default.htm?appID=20581609 ___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] problems linking my plugin

2008-12-04 Thread David E DeMarle
int FillInputPortInformation(int ,vtkInformation* info)
should be
int vtkDataCalculator::FillInputPortInformation(int ,vtkInformation* info)


On Thu, Dec 4, 2008 at 8:47 AM, Natalie Happenhofer
[EMAIL PROTECTED] wrote:
 Hi!
 Again, I get a linker error building my plugin for paraview, at the point
 Linking CXX shared library ..\bin\libDataCalculator.dll

 it says:
 In function 'ZNK17vtkDataCalclulator19NewInstanceInternalEv':
  undefined reference to
 vtkDataCalculator::FillInputInformation(int,vtkInformation*)

 My code looks like this:
 vtkDataCalculator.h:

 #ifndef __vtkDataCalculator_h
 #define __vtkDataCalculator_h


 #include vtkUnstructuredGridAlgorithm.h

 class VTK_EXPORT vtkDataCalculator: public vtkUnstructuredGridAlgorithm
 { public:
   static vtkDataCalculator *New();

   vtkTypeRevisionMacro(vtkDataCalculator,vtkUnstructuredGridAlgorithm);
   void PrintSelf(ostream os, vtkIndent indent);

 protected:
 vtkDataCalculator();
 ~vtkDataCalculator(){};

 virtual int FillInputPortInformation(int port, vtkInformation* info);
 virtual int RequestData(vtkInformation *, vtkInformationVector **,
 vtkInformationVector *);
 };
 #endif


 vtkDataCalculator.cxx:

 #include vtkDataCalculator.h
 #include vtkDataSet.h
 #include vtkDataArray.h
 #include vtkUnstructuredGrid.h
 #include vtkObjectFactory.h
 #include vtkPointData.h
 #include vtkDoubleArray.h
 #include vtkAlgorithm.h
 #include fstream
 #include vtkSmartPointer.h
 #include vtkInformation.h
 #include vtkInformationVector.h

 vtkStandardNewMacro(vtkDataCalculator);
 //
 vtkCxxRevisionMacro(vtkDataCalculator,$Revision$);
 //
 vtkDataCalculator::vtkDataCalculator(){}
}
 //
 void vtkDataCalculator::PrintSelf(ostream os, vtkIndent indent)
 {
 this-Superclass::PrintSelf(os,indent);
 }
 //
 int FillInputPortInformation(int ,vtkInformation* info)
 {
 info - Set(vtkAlgorithm::INPUT_REQUIRED_DATA_TYPE(),vtkDataSet);
 info - Set(vtkAlgorithm::INPUT_IS_REPEATABLE(), 1);
 return 1;
 }
 //
 int vtkDataCalculator::RequestData(vtkInformation *vtkNotUsed(request),
   vtkInformationVector **inputVector,
   vtkInformationVector *outputVector)
 {...
 }


 Is there a macro missing or... ?

 thx for help,
 Natalie

 
 Consíguela aquí ¡Hay una nueva versión del Messenger!
 ___
 ParaView mailing list
 ParaView@paraview.org
 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
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] file-transfer in paraview -- pvserver

2008-12-04 Thread Jens
Hi,

Can anyone tell me how file-transfer is done if paraview(client/server)
is used?

a) does paraview(client) always sends the whole data (for me a lot of
GBytes) to pvserver,
b) or do I have to have a directory, which is mounted on the client and
server at the same position,
c) or is there even a way to select a file stored on the pvserver-node,
through paraview(client)

c would be the best, but I cannot see anything like this in the Open
File dialog.
If b is the way to go - will this lead to network traffic?

Greetings
Jens
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Python CreateRenderView

2008-12-04 Thread Jacques Papper
Hi,

I am wondering why when I do the following in pvpython:

from paraview import servermanager
servermanager.Connect()
view = servermanager.CreateRenderView()
print servermanager.GetRenderView()

This shows None -

Shouldn't creating a render view set it as well ?
Is there a way of setting it ?

Thank you
Jacques
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] file-transfer in paraview -- pvserver

2008-12-04 Thread Utkarsh Ayachit

Jens,

When operating in client-server mode (connected to a pvserver), ParaView 
can only open data files located on the server side (option c). The 
Open File is indeed browsing the server side directory structure when 
connection to a server node.


Utkarsh

Jens wrote:

Hi,

Can anyone tell me how file-transfer is done if paraview(client/server)
is used?

a) does paraview(client) always sends the whole data (for me a lot of
GBytes) to pvserver,
b) or do I have to have a directory, which is mounted on the client and
server at the same position,
c) or is there even a way to select a file stored on the pvserver-node,
through paraview(client)

c would be the best, but I cannot see anything like this in the Open
File dialog.
If b is the way to go - will this lead to network traffic?

Greetings
Jens
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview