Re: [Paraview] error: 'class vtkFloatArray' has no member named 'setName'

2013-09-13 Thread Moreland, Kenneth
The method is SetName with a capitol 'S'. You have setName with a lowercase 's'. The C language is case sensitive. -Ken From: 庞庆源 mailto:pangqingyuan1...@gmail.com>> Date: Friday, September 13, 2013 6:54 PM To: paraview mailto:paraview@paraview.org>> Subject: [EXTERNAL] [Paraview] error: 'class

[Paraview] pointScalars->InsertTuple1(myId,velocity); got very large data range.

2013-09-13 Thread 庞庆源
I use such code: // vtkFloatArray *pointScalars = vtkFloatArray::New(); pointScalars->setName("Velocity"); while(...){ ... ... pointScalars->InsertTuple1(myId,velocity); } output->GetPointData()->SetScalars(pointScalars);

[Paraview] error: 'class vtkFloatArray' has no member named 'setName'

2013-09-13 Thread 庞庆源
Why do I get such a strange error?I can find setName() function at http://www.vtk.org/doc/nightly/html/classvtkFloatArray-members.html My paraview version is 4.0.1. the master code is as below: ** vtkFloatArray *pointScalars = vtkFloatArray::New(); pointScala

[Paraview] Options - Axis Range to 3D view?

2013-09-13 Thread Léo Pessanha
Is there a way i can use options of linechart view like axis range and precision on te 3D view? Leonardo Pessanha Brasil, Rio de Janeiro ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/openso

Re: [Paraview] Statically linking catalyst to fortran simulation code on Titan

2013-09-13 Thread David E DeMarle
Great news on getting it to compile and link! Pretty sure that the statically built python and paraview python modules need to be accessible from the compute nodes as well. I would have expected something worse to show up in the log but definately try this first. What I do is put $cross/install/l

Re: [Paraview] Statically linking catalyst to fortran simulation code on Titan

2013-09-13 Thread Hong Yi
Thanks for all the useful info, David, and Andy. After spending a lot of time looking into Cmake trace aLINK_SEARCH_END_STATICnd FindMPI.cmake, I finally resolved this problem by setting on LINK_SEARCH_START_STATIC and LINK_SEARCH_END_STATIC flags. Now the resulting executable is static and I c

Re: [Paraview] output->GetPointData()->SetScalars(pointScalars); No effect.

2013-09-13 Thread Utkarsh Ayachit
Please keep the discussion to the mailing list. What is the expected result here? On Fri, Sep 13, 2013 at 11:06 AM, 庞庆源 wrote: > Why this example can color the cube? > > > 2013/9/13 庞庆源 > >> Thank you for your reply.I would like to show you a example and its >> picture: >> >> /*=

Re: [Paraview] Is there any develop guide?

2013-09-13 Thread Vanmoer, Mark W
There’s a plugin how to on the wiki, which has a section on Readers: http://www.paraview.org/Wiki/ParaView/Plugin_HowTo From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of ??? Sent: Friday, September 13, 2013 1:46 AM To: paraview Subject: [Paraview] Is there a

Re: [Paraview] output->GetPointData()->SetScalars(pointScalars); No effect.

2013-09-13 Thread Utkarsh Ayachit
WHat is the type of scalar array? If it's not an unsigned char array with 3 or 4 components, VTK will use a lookuptable to map the scalar to colors. Utkarsh On Fri, Sep 13, 2013 at 8:52 AM, 庞庆源 wrote: > > I write a simple reader,inheriting from vtkPolyDataAlgorithm.But > SetScalars() cannot co

Re: [Paraview] d3plot to vtk

2013-09-13 Thread David Thompson
Hi, > I use LS-DYNA. > I want to convert d3polt file to vtk format. > However I don't understand that methods. > So, please tell me how to convert d3plot file to vtk. I'm not sure I understand; are you having problems loading the data into ParaView or saving the results as a VTK dataset?

[Paraview] output->GetPointData()->SetScalars(pointScalars); No effect.

2013-09-13 Thread 庞庆源
I write a simple reader,inheriting from vtkPolyDataAlgorithm.But SetScalars() cannot color the plane.When I test it use general vtk polydata->mapper->actor->renderer->renderwindow,I can see different color at different point.Does someone know the reason?Thank you. -- 庞庆源 _

Re: [Paraview] StreamTracer streamlines not terminating reliably at exterior boundary

2013-09-13 Thread Biddiscombe, John A.
Looks as though the parts outside the box are all linear. what I suspect is happening is that the findCell routine is returning true off the edge of the dataset and the last velocity is being reused even though the internal interpolation ought to fail. To fix it one would have to check the toler

[Paraview] d3plot to vtk

2013-09-13 Thread uverworld_1016
Hi !  >I use LS-DYNA. >I want to convert d3polt file to vtk format. >However I don't understand that methods. >So, please tell me how to convert d3plot file to vtk. > > >Thank you. >Best regards.___ Powered by www.kitware.com Visit other Kitware open-sou