Re: [Paraview] Paraview and vnc/xrdp

2013-05-03 Thread Paul McIntosh
Torben,

 

Checkout TurboVNC/VirtualGL - pretty sure it can be built with mesa if no
GPU is available.

 

Cheers,

 

Paul

 

From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org]
On Behalf Of Torben Hansen
Sent: Monday, 29 April 2013 7:59 PM
To: paraview@paraview.org
Subject: [Paraview] Paraview and vnc/xrdp

 

Hi All

 

I'm trying to make paraview run over vnc (and xrdp)

 

I'm using default build from debian wheezy with libgl1-mesa-swx11

 

I have GLX (glxgears) and VTK (simple Python VTK example) working but
paraview shows just the splash screen and the error;

 

X Error: BadDrawable (invalid Pixmap or Window parameter) 9

  Major opcode: 62 (X_CopyArea)

  Resource id:  0x0

 

and nothing else happens.

 

If I run it as

$ ssh -X localhost paraview

still inside the VNC session it seems to work fine

 

What do I need to make it work directly?

 

Thanks

Regards

Torben

 

___
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] Manta on Mac OS X

2013-05-03 Thread David E DeMarle
Not sure why it isn't in the 3.98 release. I vaguely recall we had some
problems packaging it with mountain lion. Perhaps Sebastien remembers the
details.

It certainly can work on Mac (I did most of my development for it on Mac).
In ParaView we don't use any of the X11 display portions of Manta since we
just use it as an offscreen rendering library. Try ParaView 3.14 if you
want to take it for a spin.

In Mountian Lion if you want to run standalone Manta you can always install
XQuartz to get X11 back. Before Mountain Lion you didn't have to even do
that.



David E DeMarle
Kitware, Inc.
RD Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Wed, Apr 24, 2013 at 3:25 AM, Florian Fahrenberger 
floh.fahrenber...@gmx.de wrote:

 Hi everyone!

 First of all: Great software! Just getting started with it, but this is
 so helpful!

 And then: We have paraview installed on our institute Linux computers,
 and everything (including the Manta renderer) runs smoothly. But
 sometimes, I would like to work on some graph on my laptop, which is Mac
 OS X (10.8.3). I can find very little help on the Web about the Manta
 plugin on Mac OS, except that officially it seems to be shipped with
 version 3.98 of paraview. But it's not there. Not available in the
 software, and the .dylib library is also nowhere present in the package.

 So, just a silly question: I am guessing it does not ship automatically
 with the Mac version? I can see it not working properly, since it
 connects to X11, but I thought it was worth asking...

 Thanks a lot,

 Florian
 ___
 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] Does anyone know of a paraview version where Clip Closed Surface actually worked?

2013-05-03 Thread Sebastien Jourdain
I've just pushed a  fix that will be in ParaView 4.0 release...

See for more details: http://www.paraview.org/Bug/view.php?id=13764

Thanks for reporting the issue,

Seb


On Fri, May 3, 2013 at 1:17 AM, Martin Genet 
martin.ge...@ucsfmedicalcenter.org wrote:

 Dear ParaView people:

 I'm also interested in using vtkClipClosedSurface, but it makes my
 ParaView (3.98—linux64) crash as well. Anybody with some experience on
 that? Thanks!

 Martin


 __**_
 Powered by www.kitware.com

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

 Please keep messages on-topic and check the ParaView Wiki at:
 http://paraview.org/Wiki/**ParaView http://paraview.org/Wiki/ParaView

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/**mailman/listinfo/paraviewhttp://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] Cube axes label format

2013-05-03 Thread Sebastien Jourdain
Do you know exactly the set of methods that needs to be called on the VTK
objects ? I can certainly try to expose them on the Python layer which
could let you have a wider set of possibilities. (For that just give me a
list of method calls that you would like to be able to do in C++)

I can somehow guide you on how to get a reference to the VTK objects from
the Python layer but all the methods that you need to access have to be
public.

Another approach could be to 'patch' the vtkCubeAxesRepresentation so the
default behavior will be what you expect...

There is many way to tackle the current limitation.

Seb





On Fri, May 3, 2013 at 7:47 AM, Felipe Bordeu felipe.bor...@ec-nantes.frwrote:

  One solution is to change the scale. You can subtract the constant part
 to your coordinates.

 Felipe
 Le 03/05/2013 12:58, Guðni Karl Rosenkjær a écrit :

 Hello,

  Thanks for the reply Sebastien.

  Is there any way where I can deal with this? I want to make
 a publishable figure from my work in Paraview and this issue with labels is
 the last problem that I need to deal with. Is it possible to mix the
 Paraview script (.py state file of the model) and vtk 5.10.1 method to fix
 the labels and generate the figure I want?

  Is there anybody that has been able to deal with this problem that can
 share some idea's?

  Thanks very much in advance.

  Cheers,
 Gudni


 On Thu, May 2, 2013 at 7:15 PM, Sebastien Jourdain 
 sebastien.jourd...@kitware.com wrote:

 This is not something that is currently supported.


  On Thu, May 2, 2013 at 1:26 PM, Guðni Karl Rosenkjær 
 grose...@eos.ubc.ca wrote:

  Hello,

  I am using Paraview to visualize data in UTM coordinates. I have a
 problem with the labels on the Northing axes, since the label format
 doesn't include enough digits for the range my data is in ( as seen on in
 the figure attached to the email).

  How can I access the string format to be able to change it?

  I have made some attempts to do this via a the python shell by doing
 by accessing the represtation, rep = GetRepresention() and explore the
 options there. But I haven't been able to find where I could change the
 format. I have found with google and from playing with the vtk 5.10.1 that
 vtkCubeAxesActor has get/set*LabelFormat methods that I am not able to find
 in Paraview.

  I am using Paraview 3.98.1 (pre-compiled version) on a 64-bit Fedora
 17 system.

  Thanks for the help.
 Cheers,
 Gudni



  ___
 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



 --
 Felipe Bordeu Weldt
 Ingénieur de Recherche
 -
 Tél. : 33 (0)2 40 37 16 57
 Fax. : 33 (0)2 40 74 74 06felipe.bor...@ec-nantes.fr
 Institut GeM - UMR CNRS 6183
 École Centrale Nantes
 1 Rue de La Noë, 44321 Nantes, FRANCE
 -


 ___
 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] Load Plugin Error

2013-05-03 Thread Utkarsh Ayachit
Can you also try setting DYLD_PRINT_LIBRARIES_POST_LAUNCH. The log you
sent doesn't have all the libs. What I want is the output one gets on
a linux system with LD_DEBUG=libs. Not exactly sure how to do that on
OsX. Maybe someone else here knows.

Utkarsh

On Thu, May 2, 2013 at 9:55 AM, Magician f_magic...@mac.com wrote:
 Hi Utkarsh,


 Thanks for your advice.

 I tried DYLD_PRINT_LIBRARIES.
 The attachment file is the result.
 But I couldn't find the outputs are correct or not.


 Magician


 On 2013/05/02, at 21:39, Utkarsh Ayachit wrote:

 Try setting DYLD_PRINT_LIBRARIES environment variable and ensure that
 what's getting loaded is correct.

 https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/dyld.1.html

 Utkarsh

 On Wed, May 1, 2013 at 7:55 PM, Magician f_magic...@mac.com wrote:
 Hi Utkarsh,


 Yes, I built both ParaView 3.98.1 and plugins from sources on same terminal.

 There are additional informations.
 The attached file is CMake log of TensorGlyph.
 When I build plugins, I set ParaView_DIR at build directory of PV 3.98.1.
 Pre-installed plugins are working fine.


 Magician


 On 2013/05/01, at 22:55, Utkarsh Ayachit wrote:

 Are you trying to load them in the ParaView binary you built or the
 one downloaded from paraview.org?

 On Wed, May 1, 2013 at 8:08 AM, Magician f_magic...@mac.com wrote:
 Hi all,


 I'm trying to build and load 3rd parties' plugins on Mac OS 10.7.5.
 The sources of plugins are downloaded here:
 http://paraview.org/Wiki/ParaView/User_Created_Plugins

 Today I built both ParaView 3.98.1 and plugins successfully,
 but when I load plugins, ParaView hangs for seconds and terminated.
 This time I tried libTensorGlyphFilter.dylib, but all other plugins
 were same.


 The attached file is the error log.
 How could I solve the problem?


 Magician


 ___
 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] vtkParseMain Bug?

2013-05-03 Thread Henry Lehmann

Hello,

i am playing around with vtkParseMain, which is used by 
WrappingClientServer to

generate New, Init and Command functions for the ClientServer Interpreter.
I am using the ParaView source from tar.gz archive of version 3.98.1

i parse the file vtkXMLReader.h using this program:

int main(int argc, char *argv[])
{
  FileInfo *fileInfo;
  int i;

  /* get command-line args and parse the header file */
  fileInfo = vtkParse_Main(argc, argv);
  for (i = 0; i  fileInfo-MainClass-NumberOfFunctions; ++i)
  {
if (strcmp(SetFileName, fileInfo-MainClass-Functions[i]-Name))
{
continue;
}
printf(%s \n, fileInfo-MainClass-Functions[i]-Signature);
  }
  return 0;
}

during reading output of member function signatures
i recognized that the constness is wrong. it shows:

void SetFileName(char *);

instead of

void SetFileName(const char *);

like it is shown in doxygen documentation.

Best regards,
Henry

___
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] Error in scaling...

2013-05-03 Thread Ashish Saxena
I am facing a problem with paraview 3.98.1 win. My scalar data range is
from 9.0 to -597.0 but when I look at the data range in paraview, it show
from 50 to -947. When I checked the related vtk file than I found that
scalar values are correctly written inside it. Any help with it!! Thanx!

Ashish Saxena
___
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] [EXTERNAL] Error in scaling...

2013-05-03 Thread Scott, W Alan
I'm being dense here, but can't you just manually scale?  Properties tab/ 
Color/ Edit/ unselect Automatically Rescale to Fit Data Range/ Rescale 
Range...

Alan

From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On 
Behalf Of Ashish Saxena
Sent: Friday, May 03, 2013 12:02 PM
To: paraview@paraview.org
Subject: [EXTERNAL] [Paraview] Error in scaling...


I am facing a problem with paraview 3.98.1 win. My scalar data range is from 
9.0 to -597.0 but when I look at the data range in paraview, it show from 50 to 
-947. When I checked the related vtk file than I found that scalar values are 
correctly written inside it. Any help with it!! Thanx!

Ashish Saxena
___
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] segfault opening the color scale editor / vtkPVProminentValuesInformation?

2013-05-03 Thread Burlen Loring
with git master from this afternoon, I'm experiencing segfaults when I 
try to open the color scale editor. seems to be related to 
vtkPVProminentValuesInformation. As soon as I get 4 or more ranks I have 
the segfault. Is this a known issue?


Program received signal SIGSEGV, Segmentation fault.
0x7fde3f6dbee1 in vtkInformationVector::GetInformationObject 
(this=0x0, index=0) at 
/work/ext/ParaView/sqtk-pv/ParaView/VTK/Common/Core/vtkInformationVector.cxx:157

157   if(index = 0  index  this-NumberOfInformationObjects)
(gdb) where
#0  0x7fde3f6dbee1 in vtkInformationVector::GetInformationObject 
(this=0x0, index=0) at 
/work/ext/ParaView/sqtk-pv/ParaView/VTK/Common/Core/vtkInformationVector.cxx:157
#1  0x7fde3f5c5950 in vtkAbstractArray::UpdateDiscreteValueSet 
(this=0x3ce0130, uncertainty=0, minimumProminence=0) at 
/work/ext/ParaView/sqtk-pv/ParaView/VTK/Common/Core/vtkAbstractArray.c
#2  0x7fde3f5c4d81 in vtkAbstractArray::GetProminentComponentValues 
(this=0x3ce0130, comp=-1, values=0x3cd2f30, uncertainty=0, 
minimumProminence=0)
at 
/work/ext/ParaView/sqtk-pv/ParaView/VTK/Common/Core/vtkAbstractArray.cxx:548
#3  0x7fde383df72d in 
vtkPVProminentValuesInformation::CopyDistinctValuesFromObject 
(this=0x3ccfeb0, array=0x3ce0130)
at 
/work/ext/ParaView/sqtk-pv/ParaView/ParaViewCore/ClientServerCore/Rendering/vtkPVProminentValuesInformation.cxx:391
#4  0x7fde383df5b7 in 
vtkPVProminentValuesInformation::CopyFromLeafDataObject (this=0x3ccfeb0, 
dobj=0x4084620)
at 
/work/ext/ParaView/sqtk-pv/ParaView/ParaViewCore/ClientServerCore/Rendering/vtkPVProminentValuesInformation.cxx:360
#5  0x7fde383df2ad in 
vtkPVProminentValuesInformation::CopyFromCompositeDataSet 
(this=0x3ccbd80, cds=0x40bb800)
at 
/work/ext/ParaView/sqtk-pv/ParaView/ParaViewCore/ClientServerCore/Rendering/vtkPVProminentValuesInformation.cxx:309
#6  0x7fde383def5f in 
vtkPVProminentValuesInformation::CopyFromObject (this=0x3ccbd80, 
obj=0x405dd90)
at 
/work/ext/ParaView/sqtk-pv/ParaView/ParaViewCore/ClientServerCore/Rendering/vtkPVProminentValuesInformation.cxx:263
#7  0x7fde401554f0 in vtkPVSessionCore::GatherInformationInternal 
(this=0x23a3b90, information=0x3ccbd80, globalid=4483)
at 
/work/ext/ParaView/sqtk-pv/ParaView/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx:838
#8  0x7fde401555cb in vtkPVSessionCore::GatherInformation 
(this=0x23a3b90, location=17, information=0x3ccbd80, globalid=4483)
at 
/work/ext/ParaView/sqtk-pv/ParaView/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx:858
#9  0x7fde401512c0 in vtkPVSessionBase::GatherInformation 
(this=0x23a9ad0, location=17, information=0x3ccbd80, globalid=4483)
at 
/work/ext/ParaView/sqtk-pv/ParaView/ParaViewCore/ServerImplementation/Core/vtkPVSessionBase.cxx:258
#10 0x7fde40160b7e in vtkPVSessionServer::GatherInformationInternal 
(this=0x23a9ad0, location=17, classname=0x3cbb9f8 
vtkPVProminentValuesInformation, globalid=4483, stream=...)
at 
/work/ext/ParaView/sqtk-pv/ParaView/ParaViewCore/ServerImplementation/Core/vtkPVSessionServer.cxx:567
#11 0x7fde401608f0 in vtkPVSessionServer::OnClientServerMessageRMI 
(this=0x23a9ad0, message=0x408dec0, message_length=135)
at 
/work/ext/ParaView/sqtk-pv/ParaView/ParaViewCore/ServerImplementation/Core/vtkPVSessionServer.cxx:527
#12 0x7fde4015ee0c in (anonymous namespace)::RMICallback 
(localArg=0x23a9ad0, remoteArg=0x408dec0, remoteArgLength=135)
at 
/work/ext/ParaView/sqtk-pv/ParaView/ParaViewCore/ServerImplementation/Core/vtkPVSessionServer.cxx:56
#13 0x7fde3fb0c4bf in vtkMultiProcessController::ProcessRMI 
(this=0x2cdfe60, remoteProcessId=1, arg=0x408dec0, argLength=135, 
rmiTag=55625)
at 
/work/ext/ParaView/sqtk-pv/ParaView/VTK/Parallel/Core/vtkMultiProcessController.cxx:650
#14 0x7fde3fb0c06e in vtkMultiProcessController::ProcessRMIs 
(this=0x2cdfe60, reportErrors=0, dont_loop=1)
at 
/work/ext/ParaView/sqtk-pv/ParaView/VTK/Parallel/Core/vtkMultiProcessController.cxx:597
#15 0x7fde3fe64291 in 
vtkTCPNetworkAccessManager::ProcessEventsInternal (this=0x2394e90, 
timeout_msecs=0, do_processing=true)
at 
/work/ext/ParaView/sqtk-pv/ParaView/ParaViewCore/ClientServerCore/Core/vtkTCPNetworkAccessManager.cxx:268
#16 0x7fde3fe63e50 in vtkTCPNetworkAccessManager::ProcessEvents 
(this=0x2394e90, timeout_msecs=0)
at 
/work/ext/ParaView/sqtk-pv/ParaView/ParaViewCore/ClientServerCore/Core/vtkTCPNetworkAccessManager.cxx:165
#17 0x00401713 in RealMain (argc=1, argv=0x7fff7f9ea6a8, 
type=vtkProcessModule::PROCESS_SERVER) at 
/work/ext/ParaView/sqtk-pv/ParaView/CommandLineExecutables/pvserver_common.h:90
#18 0x004017c5 in main (argc=1, argv=0x7fff7f9ea6a8) at 
/work/ext/ParaView/sqtk-pv/ParaView/CommandLineExecutables/pvserver.cxx:21

___
Powered by www.kitware.com

Visit other Kitware open-source projects at