Re: [Paraview] Catalyst distributed graph example

2017-09-13 Thread Jeff Baumes
vtkMutableDirectedGraph

has an API that is hopefully pretty intuitive with AddVertex, AddEdge, etc.
You can also shallow-copy from the mutable graph into a DAG object, which
performs a check, if it is important to verify you made a proper DAG. From
the vtkDirectedAcyclicGraph docs
 (I
noticed some typos here, should read "DAG" instead of "tree"):

=
vtkDirectedAcyclicGraph is a read-only data structure. To construct a tree,
create an instance of vtkMutableDirectedGraph. Add vertices and edges with
AddVertex() and AddEdge(). You may alternately start by adding a single
vertex as the root then call graph->AddChild(parent) which adds a new
vertex and connects the parent to the child. The tree MUST have all edges
in the proper direction, from parent to child. After building the tree,
call tree->CheckedShallowCopy(graph) to copy the structure into a
vtkDirectedAcyclicGraph. This method will return false if the graph is an
invalid tree.
=

As for rendering in ParaView, you the following example shows how to use
vtkGraphToPolyData, but this is not exposed in ParaView to my knowledge, I
think you would need a plugin, or preprocess the graph into a vtkPolyData,
save it, then load into ParaView.

https://www.vtk.org/Wiki/VTK/Examples/Cxx/Graphs/GraphToPolyData

Embedding from higher-dimensional coordinates into 2D or 3D does not have a
VTK implementation that I know of, though PCA in VTK may be able to be
used. If you want to do layout based on edge connectivity, there are some graph
layout algorithms
 in
VTK that could get you 2D or 3D coordinates.

HTH,
Jeff

On Wed, Sep 13, 2017 at 11:58 AM Andy Bauer  wrote:

> Hi Matthieu,
>
> There isn't a Catalyst example for graphs but it shouldn't be too hard to
> make. I'm not very familiar with the vtkGraph and derived classes but if I
> were to to try doing that I'd just see how the graph object is generated in
> some filter that generates one (look in the RequestData() method).
>
> As for visualizing graphs in ParaView, hopefully someone else on the list
> can provide insight on doing that.
>
> Best,
> Andy
>
> On Wed, Sep 13, 2017 at 11:38 AM, Dorier, Matthieu 
> wrote:
>
>> Hi,
>>
>>
>> I would like to use Catalyst to visualize a distributed directed graph.
>> Each node of the graph is characterized by an id (not necessarily
>> contiguous, as some nodes are added and removed during the execution) and a
>> list of connections (ids of "friends").
>>
>>
>> The nodes can be assigned coordinates in a 2D or a 3D space.
>>
>>
>> Do you have an example of adaptor for that?
>>
>>
>> Also if I want to use coordinates in higher dimensions, would I need to
>> project to a 3D subspace or is there a way for ParaView to figure out a
>> layout to display the graph?
>>
>>
>> Thanks,
>>
>>
>> Matthieu
>>
>> ___
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] h5 reader not avaialable?

2011-04-07 Thread Jeff Baumes
On Thu, Apr 7, 2011 at 7:51 AM, Biddiscombe, John A. wrote:

> Dave
>
> >>>
> One way to go about making an automatic reader that should cut down on
> development time would be to write a utility to produce xdmf files from the
> content of arbitrary h5 files.
> <<<
>
> https://hpcforge.org/projects/xdmfgenerator/
> wiki (with very little help!) here
>
> https://hpcforge.org/plugins/mediawiki/wiki/xdmfgenerator/index.php/Main_Page
>
> wiki needs to be improved. building generator requires a paraview build to
> get xdmf and hdf settings using cmake.
>
>
FWIW, Titan (titan.sandia.gov) has a vtkHDF5TableReader. It can find a
single hdf5 dataset containing records and store it in a vtkTable. It is
certainly limited, but people are free to enhance it. As Dave said, hdf5 is
so complex I'm not sure how generally useful it can become. Right now it
reads what I'm sure is a small subset of what could possibly be in hdf5.

Jeff
___
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] visualization of neural network activity

2010-11-16 Thread Jeff Baumes
VTK/Titan may have most of the components that you need, but they are not
currently available in ParaView. Titan (titan.sandia.gov) has a generic hdf5
reader that loads data into a vtkTable that may suit your needs. There are
also utilities for converting a vtkTable into a vtkGraph which can then be
visualized in vtkGraphLayoutView, which can do 2D or 3D layout. As far as
animation goes, graph layout on time-changing graphs is a tricky problem
since it's easy to lose your frame-of-reference if you redo layout each
time. But if you want to do the layout once, fix the node positions, then
just animate properties like colors, that is more doable.

The other option is to manually get the data into one of the several
geometry formats ParaView supports, then you could use ParaView directly.
For example, you could produce a legacy vtkPolyData format where you define
neurons as points and connections as lines, then you load it in ParaView and
do things like glyph the points with spheres, color lines by attributes,
etc.

Jeff

On Tue, Nov 16, 2010 at 4:54 AM, Benjamin Auffarth wrote:

> Hi all,
>  my question is about suitability of ParaView for visualization of neural
> network models. I saw the gallery, looked at the supported file formats,
> available tools and filters, and looked over the user guide (1.7). My
> impression is that ParaView is typically used for visualization of data
> that is layed out in a grid, say 3D matrices, especially particles, however
> I noticed there is the possibility to interactively create 3D objects and
> output them to povray and I I saw that ITK R4 at one point had support for
> neural network visualization (http://www.paraview
> .org/Wiki/ITK_Release_4/Discussion_Points#Neural_Networks).
>  Our aim is to visualize a network model consisting of neurons and
> connections between neurons and show time dynamics of evolving attractors,
> etc. The visualization should basically colorcode neurons and synapses,
> possibly in 3D and possibly raytraced. We run our simulations in parallel
> and would like to use a binary format like hdf5 or netcdf to store data of
> neural activations and connection strengths. These should then be used to
> create a 3D representations (images and videos). I think Povray (+ pevious
> binary2text conversion) could be simply setup to do network visualization
> for our purpose. Can this visualization be done in ParaView? (If yes,
> how?)
> thanks,
> Benjamin.
>
>
> 
> Benjamin Auffarth
> KTH, Computational Biology and Neurocomputing (CBN),
> Albanova Universitetscentrum, Roslagstullsbacken 35,
> S-100 44 Stockholm, Sweden
> room 162:021B, tel. +46 8 790 8699
>
> ___
> 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
>
>


-- 
Jeff Baumes, Ph.D.
Technical Lead, Kitware Inc.
(518) 881-4932
___
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] Crash using openmpi with more than 4 processes

2010-02-05 Thread Jeff Baumes
Just a thought: Have you tried an entirely clean rebuild? Someone got
an error similar to this before and it went away after a rebuild.

Jeff

On Fri, Feb 5, 2010 at 10:32 AM, Bart Janssens  wrote:
> On Thursday 04 February 2010 09:33:24 pm you wrote:
>> What about Valgrind? Any chance you can start one of the processes such
>> that you can run it in Valgrind?
>>
>
> I ran things in valgrind, but this showed exactly the same crash. I have
> recompiled mesa with TLS, so the PTHREADS block in the ASM code mentioned
> previously is ignored, and now I get a little further (see attached GDB
> trace). The problem appears to be glGetString(GL_VERSION) returning null.
>
> I added extra debug comments in vtkOpenGLExtensionManager.cxx, starting at
> line 496:
>
> --
>  if(version)
>  {
>    vtkWarningMacro(<< "GL Version: " << version);
>  }
>  else
>  {
>    vtkWarningMacro("GL version was null, IsCurrent is: " << this-
>>RenderWindow->IsCurrent());
>  }
> 
>
> The output of this confirms that version is null when running on 8 processes,
> while RenderWindow->IsCurrent() is shown to be true (1).
> When running on 4 processes, on the other hand, everything still works and no
> text is generated at all! I would expect to at least see the contents of
> 'version' being printed, in that case? Is all this code somehow only becoming
> active when running many processes?
>
> I also tried aborting the extension manager in the same way as when there are
> no extensions. This avoids the crash but shows only a black screen.
>
> I think the error itself is related to the GL context being messed up somehow,
> even though RenderWindow->IsCurrent() appears to think it is OK. Is anyone
> using OSMesa on many processes? If so, could you please share the exact
> version info and configuration options?
>
> Finally, I also tested using on-screen rendering. This works fine, I tested up
> to 16 processes on the head node alone (not wanting to configure the whole
> cluster with X yet). Unfortunately, rendering became slower and slower as I
> increased the number of processes. Is launching 8 on-screen rendering
> processes on the same node futile, even if there are 8 CPU cores? Would OSMesa
> perform any better in this use case?
>
> Cheers,
>
> Bart
>
> ___
> 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] OverView 0.7.0 alpha: empty "Data" menu with Xcode build target

2009-10-26 Thread Jeff Baumes
>
> Interestingly, building OverView for Windows XP using the MinGW/Msys
> target in CMake suffers the same problem.
>
> My first MinGW attempt failed (see
> http://www.cmake.org/pipermail/paraview/2009-August/013379.html) but I
> was able to get everything to compile by building HDF5 outside the
> ParaView source tree, and configuring PARAVIEW_USE_SYSTEM_HDF5 to ON.
> But, just like the Xcode build, everything compiles but since the Data
> menu is empty, I don't have a way to connect my database.
>
>
I believe all the entries in the data menu are part of the Infovis plugin.
Verify that PARAVIEW_BUILD_PLUGIN_Infovis is on. If it already is, my next
assumption is that the plugin does not load correctly ... you can try
manually loading it from the Manage Plugins dialog and see what happens.

Jeff
___
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] building ParaView/OverView for Windows XP with MinGW

2009-08-27 Thread Jeff Baumes
Pset_fapl_core'
> CMakeFiles\Xdmf.dir\XdmfHDF.cxx.obj:XdmfHDF.cxx:(.text+0x450f):
> undefined reference to `_imp__H5P_CLS_FILE_ACCESS_g'
> CMakeFiles\Xdmf.dir\XdmfHDF.cxx.obj:XdmfHDF.cxx:(.text+0x4519):
> undefined reference to `_imp__H5Pcreate'
> CMakeFiles\Xdmf.dir\XdmfHDF.cxx.obj:XdmfHDF.cxx:(.text+0x46aa):Creating
> library file: ..\..\..\bin\libXdmf.dll.a
>  undefined reference to `_imp__H5Fcreate'
> CMakeFiles\Xdmf.dir\XdmfHDF.cxx.obj:XdmfHDF.cxx:(.text+0x4902):
> undefined reference to `_imp__H5Gopen'
>
> CMakeFiles\Xdmf.dir\XdmfHDFSupport.cxx.obj:XdmfHDFSupport.cxx:(.text+0x366):
> undefined reference to `_imp__H5T_NATIVE_UINT8_g'
>
> CMakeFiles\Xdmf.dir\XdmfHDFSupport.cxx.obj:XdmfHDFSupport.cxx:(.text+0x37c):
> undefined reference to `_imp__H5T_NATIVE_UINT16_g'
>
> CMakeFiles\Xdmf.dir\XdmfHDFSupport.cxx.obj:XdmfHDFSupport.cxx:(.text+0x392):
> undefined reference to `_imp__H5T_NATIVE_UINT32_g'
>
> CMakeFiles\Xdmf.dir\XdmfHDFSupport.cxx.obj:XdmfHDFSupport.cxx:(.text+0x3a5):
> undefined reference to `_imp__H5T_NATIVE_INT8_g'
>
> CMakeFiles\Xdmf.dir\XdmfHDFSupport.cxx.obj:XdmfHDFSupport.cxx:(.text+0x3b8):
> undefined reference to `_imp__H5T_NATIVE_INT16_g'
>
> CMakeFiles\Xdmf.dir\XdmfHDFSupport.cxx.obj:XdmfHDFSupport.cxx:(.text+0x3cb):
> undefined reference to `_imp__H5T_NATIVE_INT32_g'
>
> CMakeFiles\Xdmf.dir\XdmfHDFSupport.cxx.obj:XdmfHDFSupport.cxx:(.text+0x3de):
> undefined reference to `_imp__H5T_NATIVE_INT64_g'
>
> CMakeFiles\Xdmf.dir\XdmfHDFSupport.cxx.obj:XdmfHDFSupport.cxx:(.text+0x3f1):
> undefined reference to `_imp__H5T_NATIVE_FLOAT_g'
>
> CMakeFiles\Xdmf.dir\XdmfHDFSupport.cxx.obj:XdmfHDFSupport.cxx:(.text+0x404):
> undefined reference to `_imp__H5T_NATIVE_DOUBLE_g'
>
> CMakeFiles\Xdmf.dir\XdmfHDFSupport.cxx.obj:XdmfHDFSupport.cxx:(.text+0x429):
> undefined reference to `_imp__H5Tget_class'
>
> CMakeFiles\Xdmf.dir\XdmfHDFSupport.cxx.obj:XdmfHDFSupport.cxx:(.text+0x44e):
> undefined reference to `_imp__H5Tget_sign'
>
> CMakeFiles\Xdmf.dir\XdmfHDFSupport.cxx.obj:XdmfHDFSupport.cxx:(.text+0x45f):
> undefined reference to `_imp__H5Tget_size'
>
> CMakeFiles\Xdmf.dir\XdmfHDFSupport.cxx.obj:XdmfHDFSupport.cxx:(.text+0x4c7):
> undefined reference to `_imp__H5Tget_size'
>
> CMakeFiles\Xdmf.dir\XdmfHDFSupport.cxx.obj:XdmfHDFSupport.cxx:(.text+0x50e):
> undefined reference to `_imp__H5Tget_size'
> CMakeFiles\Xdmf.dir\XdmfH5Driver.cxx.obj:XdmfH5Driver.cxx:(.text+0x383):
> undefined reference to `_imp__H5Iget_type'
> CMakeFiles\Xdmf.dir\XdmfH5Driver.cxx.obj:XdmfH5Driver.cxx:(.text+0x396):
> undefined reference to `_imp__H5FDregister'
> CMakeFiles\Xdmf.dir\XdmfH5Driver.cxx.obj:XdmfH5Driver.cxx:(.text+0x3d3):
> undefined reference to `_imp__H5Pset_driver'
> CMakeFiles\Xdmf.dir\XdmfH5Driver.cxx.obj:XdmfH5Driver.cxx:(.text+0x3f1):
> undefined reference to `_imp__H5Pget_class'
> CMakeFiles\Xdmf.dir\XdmfH5Driver.cxx.obj:XdmfH5Driver.cxx:(.text+0x3fa):
> undefined reference to `_imp__H5P_CLS_FILE_ACCESS_g'
> CMakeFiles\Xdmf.dir\XdmfH5Driver.cxx.obj:XdmfH5Driver.cxx:(.text+0x419):
> undefined reference to `_imp__H5Pget_driver'
> CMakeFiles\Xdmf.dir\XdmfH5Driver.cxx.obj:XdmfH5Driver.cxx:(.text+0x433):
> undefined reference to `_imp__H5Pget_driver_info'
> CMakeFiles\Xdmf.dir\XdmfH5Driver.cxx.obj:XdmfH5Driver.cxx:(.text+0x527):
> undefined reference to `_imp__H5Pget_driver_info'
> collect2: ld returned 1 exit status
> mingw32-make[2]: *** [bin/libXdmf.dll] Error 1
> mingw32-make[1]: *** [Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/all] Error
> 2
> mingw32-make: *** [all] Error 2
>
> C:\projects\titan\build>
> ___
> 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
>



-- 
Jeff Baumes, Ph.D.
R&D Engineer, Kitware Inc.
(518) 881-4932
jeff.bau...@kitware.com
___
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] vtkDataObjectAlgorithm with multiple inputs

2009-08-25 Thread Jeff Baumes
On Tue, Aug 25, 2009 at 8:43 AM, Paul Edwards wrote:

> Is there a reason why Delete is called before GetExtentType?  Or is this a
> bug? (although it doesn't crash on me)
>

SetPipelineInformation will cause the information object to increment the
reference count of the data object. Thus calling Delete will safely
decrement the reference count without yet releasing the memory (this matches
the reference created by NewInstance()). This is necessary or else a
reference will be floating and the object will never be deleted.
Jeff
___
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] Streaming ParaView

2009-07-06 Thread Jeff Baumes
The same is true for OverView.
Jeff

On Tue, Jun 30, 2009 at 4:43 PM, David E DeMarle
wrote:

> Thanks for doing the packaging work Orion!
>
> I recommend not enabling either of the new applications, nor the
> non-default plugins.
>
> To answer your questions in more detail:
>
> One configure and make is sufficient to build all three. I am unsure
> about installation. I believe make install places all three in the
> same directory, but I know that at least on OS-X you need to run
> separate scripts to package the standard ParaView client and
> StreamingParaview.
>
> OverView and StreamingParaView are both in Pre-Alpha development
> stage. At least for StreamingParaView this means that it is too
> unstable to bother packaging. People should be brave enough to compile
> from source if they want to try it, which is why it is not enabled by
> default. The OverView developers can correct me if the same is not
> true for OverView.
>
> thanks again,
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 28 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-371-3971 x109
>
>
>
> On Tue, Jun 30, 2009 at 10:10 PM, Orion Poplawski
> wrote:
> > Okay, with 2.6.0 there are now 3 applications:
> >
> > -- Application: Standard ParaView Client enabled
> > -- Application: OverView Informatics Client enabled
> > -- Application: Streaming ParaView Application enabled
> >
> > I'm packaging for Fedora - does it make sense to build all three?  Are
> they
> > mutually exclusive?  Would I need to run 3 builds?  Not that with the
> above
> > I get:
> >
> > CMake Warning (dev) at Applications/StreamingParaView/CMakeLists.txt:181
> > (ADD_EXECUTA
> > BLE):
> >  Policy CMP0002 is not set: Logical target names must be globally unique.
> >  Run "cmake --help-policy CMP0002" for policy details.  Use the
> cmake_policy
> >  command to set the policy and suppress this warning.
> > This warning is for project developers.  Use -Wno-dev to suppress it.
> >
> > Anywhere that talks about this?
> >
> > Also, any problem with building all of the plugins (including
> "Streaming")?
> >  Any incompatibilities?
> >
> > Thanks!
> >
> > --
> > Orion Poplawski
> > Technical Manager 303-415-9701 x222
> > NWRA/CoRA DivisionFAX: 303-415-9702
> > 3380 Mitchell Lane  or...@cora.nwra.com
> > Boulder, CO 80301  http://www.cora.nwra.com
> > ___
> > 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
>



-- 
Jeff Baumes, Ph.D.
R&D Engineer, Kitware Inc.
(518) 881-4932
jeff.bau...@kitware.com
___
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] VTK ImageData File

2009-05-01 Thread Jeff Baumes
The reader expects the whole extent to be integer ranges. I believe these
are meant to be index ranges, not "real-world" ranges.
Jeff

On Fri, May 1, 2009 at 4:19 AM, Amr Abdel Aziz wrote:

> *Hi All,
> I'm trying to convert an existing data file into a VTK image data format.
> But I always have error :*
>
> *ERROR: In
> /Users/kitware/Berk/ParaView3/VTK/IO/vtkXMLStructuredDataReader.cxx, line 92
> vtkXMLImageDataReader (0x1ebbcb40): ImageData element has no WholeExtent.*
>
>
>
> 
> 
> 
> 
> 
> 
> .
> 
> 
> 
> 
> 
>
> *
> Can anyone tell me what is wrong with that file?*
>
>
> ___
> 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
>
>


-- 
Jeff Baumes, Ph.D.
R&D Engineer, Kitware Inc.
(518) 881-4932
jeff.bau...@kitware.com
___
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] Conflict with FindBoost.cmake included with paraview?

2009-04-20 Thread Jeff Baumes
Thanks for pointing this out. I've just changed VTK to only use its
local FindBoost.cmake if you are using CMake 2.4. Otherwise it will
use the FindBoost located in CMake 2.6.

Jeff

On Thu, Apr 16, 2009 at 4:11 PM, Mike Jackson
 wrote:
> I have using the PARAVIEW_EXTRA_EXTERNAL_MODULES method to compile my
> plugin into paraview. My own code needs boost and makes its own calls
> to find_package(..) to find boost. This works just fine with the
> FindBoost.cmake that comes with CMake 2.6.3 so I know what I am doing
> works correctly. Now when I run cmake on ParaView (Latest CVS) I get
> the following error:
>
>
> WARNING: You are using Qt 4.4.3. Officially supported version is Qt 4.3
> -- [PVRoboMet] MXADATAMODEL_TARGET_ADDED: ''
> -- Plugin: [PVRoboMet] adding MXADataModel Library
> CMake Error at 
> /Users/Shared/Kitware-CVS/ParaView3/VTK/CMake/FindBoost.cmake:362
> (IF):
>  if had incorrect arguments: ${Boost_MINOR_VERSION} GREATER 35 (Unknown
>  arguments specified).
> Call Stack (most recent call first):
>  /Users/mjackson/Workspace/MXADataModel/Resources/CMake/FindSupportLibraries.cmake:13
> (FIND_PACKAGE)
>  /Users/mjackson/Workspace/MXADataModel/CMakeLists.txt:98 (INCLUDE)
>
>
> -- Configuring incomplete, errors occurred!
>
> The contents of my cmake file at the line where the error occurred is
> the following:
>
> SET (Boost_FIND_REQUIRED TRUE)
> SET (Boost_FIND_QUIETLY TRUE)
> set (Boost_USE_MULTITHREADED TRUE)
> set (Boost_USE_STATIC_LIBS TRUE)
>
> FIND_PACKAGE(Boost 1.36 COMPONENTS  program_options
> unit_test_framework test_exec_monitor)
> ^^
>
>
> I put in some debug statements into the FindBoost.cmake file and it
> seems that the Boost_VERSION is not getting defined.
> 520:[mjack...@ferb:Build]$ cmake ../
> WARNING: You are using Qt 4.4.3. Officially supported version is Qt 4.3
> -- [PVRoboMet] MXADATAMODEL_TARGET_ADDED: ''
> -- Plugin: [PVRoboMet] adding MXADataModel Library
> -- Boost_VERSION:
> -- Boost_MINOR_VERSION:
>
>
> And replacing the FindBoost.cmake with the one from CMake 2.6.3 allows
> the configuration to proceed to completion without errors.
>
> So would it be possible to update the FindBoost.cmake that is included
> to the one from CMake 2.6.3?
>
> Thanks
> Mike Jackson
> ___
> 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
>



-- 
Jeff Baumes, Ph.D.
R&D Engineer, Kitware Inc.
(518) 881-4932
jeff.bau...@kitware.com
___
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] SQLite to XY Plot

2009-03-09 Thread Jeff Baumes
On Mon, Mar 9, 2009 at 7:01 AM, Steven Janzou  wrote:
> I have a sqlite database that has many time based metric results and I
> would like to plot these and be able to do a comparison over different
> sqlite databases.
>
> So, what is the best way to get the query results into a format that
> can be displayed as an XYPlot?

You would create an instance of vtkSQLiteDatabase and point it to your
sqlite file. You set that as the database in vtkRowQueryToTable.
ParaView's vtkCSVWriter allows you to write this table as a .csv file,
which ParaView can read directly. You should be able to load a
2-column table into the existing chart view.

If you feel adventurous, you can compile from CVS with
PARAVIEW_BUILD_OverView on. This will build a set of plugins for
ParaView, one of which is a SQL Table Reader. You can run paraview and
load the related plugin manually. This enables ParaView to directly
read from sqlite, along with other SQL database types.

Jeff
___
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 with repeatable input to filter

2009-02-20 Thread Jeff Baumes
> void vtkBlahFilter::SetDataSet1Connection(vtkAlgorithmOutput* algOutput)
> {
>  this->SetInputConnection(0, algOutput);
> }
> void vtkBlahFilter::SetDataSet2Connection(vtkAlgorithmOutput* algOutput)
> {
>  this->SetInputConnection(0, algOutput);
> }

Burlen's code looks right, but I believe the SetDataSet2Connection
should be like this (change 0 to 1):

void vtkBlahFilter::SetDataSet2Connection(vtkAlgorithmOutput* algOutput)
 {
 this->SetInputConnection(1, algOutput);
}
___
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] Graph Structure in ParaView ?

2008-12-11 Thread Jeff Baumes
On Thu, Dec 11, 2008 at 1:39 PM, Jacques Papper
 wrote:
> I have a 100 million point connected graph (No cell information - only
> points and edges and boundaries defined by certain points and edges)  that I
> would like to visualize. I would like to be able to load it in parallel and
> post-process it in parallel. I would like to do things like streamlines /
> surface contours on the boundaries of the graph etc... Also I would like it
> to have groups (or blocks) for the different surfaces in the graph. Is there
> any way of doing this with ParaView ? Is there a certain class / algorithm
> that can accomodate this type of data structure ?

Sandia National Labs and Kitware are in the midst of making it
possible to store and process very large graphs in distributed memory
using vtkGraph and the Parallel Boost Graph Library. Some of this is
currently in VTK, but it is not yet incorporated into ParaView. Your
other choice which may work for you is to use vtkPolyData with line
cells, since some of the operations you are talking about exist in
ParaView for polygonal geometry, although I don't know the exact
sequence of filters you would need for your use case. ParaView also
has the notion of multi-block data sets which can group assoicated
data sets into one object.

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


Re: [Paraview] [InfoVis] FW: vtkTree file problem with Paraview

2008-12-02 Thread Jeff Baumes
> The legacy reader for paraview/overview does not yet support VTK classes.

Should read "does not yet support VTK infovis classes (vtkTable,
vtkGraph, vtkTree)."
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] [InfoVis] FW: vtkTree file problem with Paraview

2008-12-02 Thread Jeff Baumes
> I sucessufully compiled all paraview/overview pakage, I included all the
> plug in...but when I try to open my vtkTree files it give me an error.
> It says it cant recognize the data type TREE.

The legacy reader for paraview/overview does not yet support VTK classes.

> I also tryed to create a plug in for vtkTreeReader

Your reader plugin looks close to correct, and should appear in the
menu. Does your plugin appear in OverView under Tools -> Manage
Plugins ?
You can also try adding

  SERVER_MANAGER_SOURCES ${VTK_SOURCE_DIR}/IO/vtkTreeReader.h

to your ADD_PARAVIEW_PLUGIN command. You can look at Plugins/Infovis
to see how other infovis readers are added to the list.

Jeff

>
> It sucessfully complile but when i try to open the file it give me the same
> error. The vtkTree file extension is also not present in the list of file
> type supported.
> Any Idea?
> I tryed to open the file also with overview but it  happen the same.
>
> Thank you
>
> Matteo
>
>
>
> -- End of Forwarded Message
>
> ___
> Infovis mailing list
> [EMAIL PROTECTED]
> http://public.kitware.com/cgi-bin/mailman/listinfo/infovis
>
>



-- 
Jeff Baumes, Ph.D.
R&D Engineer, Kitware Inc.
(518) 371-3971 x132
[EMAIL PROTECTED]
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] OverView application in ParaView

2008-10-03 Thread Jeff Baumes
Over the past year or so, the Titan informatics project led by Sandia
National Laboratories has been developing informatics plugins for
ParaView. These include a network view, a geospatial view, and many
other informatics and statistics filters and views. These plugins,
along with a thin client application called OverView, will be migrated
into the ParaView repository early next week. The new application and
plugins will default to off, so the effect to normal ParaView
checkouts should be minimal. However, there may be some hitches along
the way, so I wanted to give a heads up that ParaView CVS head may not
be stable for a few days starting next Monday. The Titan project
homepage is

https://www.kitware.com/InfovisWiki/index.php

A wiki page briefly outlining what will be moved to ParaView is at

https://www.kitware.com/InfovisWiki/index.php/OverView_Migration

When things settle down, we will send out detailed instructions about
how to try out this new application.

Jeff

-- 
Jeff Baumes, Ph.D.
R&D Engineer, Kitware Inc.
(518) 371-3971 x132
[EMAIL PROTECTED]
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview