[Paraview] FW: vtkTree file problem with Paraview

Moreland, Kenneth kmorel at sandia.gov
Mon Dec 1 17:44:35 EST 2008


I am forwarding this on to the InfoVis list where the developers of OverView are probably paying more attention right now.

-Ken

------ Forwarded Message
From: Matteo Campana <campanam at libero.it>
Date: Sun, 30 Nov 2008 14:45:15 -0700
To: <paraview at paraview.org>
Subject: [Paraview] vtkTree file problem with Paraview

Dear all,

I'm developing an application using InfoVis package distributed with VTK.
With my application I succesfully generate and visualize some vtkTree files using vtkTreeWriter and setting the extension of the file to vtk (ex. MyTree.vtk).

Now I'd like to use paraview/overview (3.5.0) package in order to open the vtkTree files generated with my application.
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.

Is it normal?..May it's becouse the vtkTreeReader is not included in the package?...

I also tryed to create a plug in for vtkTreeReader....

Here is the code:
----------------------
CMAKELIST
----------------------
FIND_PACKAGE(ParaView REQUIRED)
INCLUDE(${PARAVIEW_USE_FILE})

ADD_PARAVIEW_PLUGIN(vtkTreeReader "1.0"
   SERVER_MANAGER_XML vtkTreeReader.xml
   GUI_RESOURCE_FILES vtkTreeReaderGUI.xml)
-------------------------------------
vtkTreeReader.xml
------------------------------------
<ServerManagerConfiguration>
  <ProxyGroup name="sources">
   <SourceProxy name="vtkTreeReader"
                class="vtkTreeReader"
                label="VTK Tree reader">
     <Documentation
       short_help="Read a VTK Tree file."
       long_help="Read a VTK Tree file.">
       Read a VTK Tree file The default file extension is .vtk.
     </Documentation>
     <StringVectorProperty
        name="FileName"
        animateable="0"
        command="SetFileName"
        number_of_elements="1">
        <FileListDomain name="files"/>
        <Documentation>
          This property specifies the file name for the VTK TREE reader.
        </Documentation>
     </StringVectorProperty>
   <!-- End VTKTreeReader -->
   </SourceProxy>
  </ProxyGroup>
</ServerManagerConfiguration>
-------------------------------------
vtkTreeReaderGUI.xml
------------------------------------
<ParaViewReaders>
  <Reader name="TreeReader" extensions="vtk" file_description="VTK Trees">
  </Reader>
</ParaViewReaders>



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081201/86393086/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT00001.txt
Type: application/octet-stream
Size: 146 bytes
Desc: ATT00001.txt
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081201/86393086/attachment-0001.obj>


More information about the ParaView mailing list