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
_______________________________________________
ParaView mailing list
[email protected]
http://www.paraview.org/mailman/listinfo/paraview