Hi,
Currently in ParaView you can't expose a new reader with a pure XML
based plugin. I have added the feature to mantis so you can track the
feature ( http://paraview.org/Bug/view.php?id=12657)
In the meantime you will have build your own plugin which will require
you too build your own version of ParaView or to use the developer
release. I have included the necessary files to make the reader once
you have the correct ParaView version.
I would recommend reading the
http://www.vtk.org/Wiki/ParaView/Plugin_HowTo page to understand how
to build your own plugin.
On Fri, Oct 14, 2011 at 10:06 AM, Robert Maynard
<[email protected]> wrote:
> Sure give me a couple of minutes.
>
> On Fri, Oct 14, 2011 at 9:45 AM, Micah North
> <[email protected]> wrote:
>> Robert,
>> Do you have an example file that I could use to build off of. I have
>> almost no programming experience. I would really appreciate it.
>> Micah
>>
>> On 10/14/11 9:40 AM, "Robert Maynard" <[email protected]> wrote:
>>
>>>You can create an xml plugin that exposes the reader in ParaView. You
>>>should read the wiki page on this at:
>>>http://www.vtk.org/Wiki/ParaView/Plugin_HowTo#XML_Only
>>>
>>>
>>>
>>>On Fri, Oct 14, 2011 at 9:33 AM, Micah North
>>><[email protected]> wrote:
>>>> Robert,
>>>> Is there a way that I can expose it. I really appreciate your help.
>>>> Thanks
>>>> Micah
>>>>
>>>> On 10/14/11 9:31 AM, "Robert Maynard" <[email protected]>
>>>>wrote:
>>>>
>>>>>Hi,
>>>>>
>>>>>VTK supports facet files with the vtkUGFacetReader which has not been
>>>>>exposed in ParaView. I don't have any experience with the reader but I
>>>>>don't see why we can't expose it.
>>>>>
>>>>>On Thu, Oct 13, 2011 at 9:04 PM, Moreland, Kenneth <[email protected]>
>>>>>wrote:
>>>>>> Does ParaView support .facet files? There appears to be one in VTK,
>>>>>>some
>>>>>> documentation suggests it should be there
>>>>>> (http://www.vtk.org/Wiki/ParaView:FAQ), but ParaView does not seem to
>>>>>>load
>>>>>> them.
>>>>>> -Ken
>>>>>> From: Micah North <[email protected]>
>>>>>> Date: Thu, 13 Oct 2011 18:12:50 -0400
>>>>>> To: Kenneth Moreland <[email protected]>
>>>>>> Subject: Dayton
>>>>>>
>>>>>> Dr. Moreland,
>>>>>> I am engineer working at Matrix Research in Dayton, OH. I am trying
>>>>>>to
>>>>>>use
>>>>>> Paraview, but am having difficulty opening a .facet file.
>>>>>>Specificially,
>>>>>> when I click on the file open button and locate the directory where
>>>>>>the
>>>>>>file
>>>>>> is located, I can not see it. I then scroll down to show all files.
>>>>>>When I
>>>>>> click on the .facet file it asks for me to select a reader. So far,
>>>>>>I
>>>>>>have
>>>>>> been unable to make the right selection. I am running ParaView 3.12
>>>>>>on
>>>>>>a
>>>>>> Mac (using Lion).
>>>>>> I really hate to bother you, but would really appreciate any help you
>>>>>>could
>>>>>> offer. Thank you very much for your time.
>>>>>> Sincerely
>>>>>> Micah North
>>>>>> J. Micah North, PhD
>>>>>> Matrix Research & Engineering
>>>>>>
>>>>>> 1300 Research Park Dr
>>>>>>
>>>>>> Dayton, OH 45432
>>>>>>
>>>>>> [email protected]
>>>>>>
>>>>>> 937.427.8433 ext 145
>>>>>>
>>>>>> 937.470.3591 (cell)
>>>>>>
>>>>>> www.matrixresearch.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
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>--
>>>>>Robert Maynard
>>>>
>>>>
>>>
>>>
>>>
>>>--
>>>Robert Maynard
>>
>>
>
>
>
> --
> Robert Maynard
>
--
Robert Maynard
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
IF(NOT ParaView_BINARY_DIR)
FIND_PACKAGE(ParaView REQUIRED)
INCLUDE(${PARAVIEW_USE_FILE})
ENDIF(NOT ParaView_BINARY_DIR)
IF(PARAVIEW_BUILD_QT_GUI)
ADD_PARAVIEW_PLUGIN(FacetReader "1.0"
SERVER_MANAGER_XML FacetReader.xml
GUI_RESOURCE_FILES FacetReaderGUI.xml
)
ENDIF(PARAVIEW_BUILD_QT_GUI)
<ServerManagerConfiguration>
<ProxyGroup name="sources">
<SourceProxy name="FacetReader"
class="vtkFacetReader"
label="Facet Reader">
<Documentation
short_help="Read facet files">
</Documentation>
<StringVectorProperty
name="FileName"
command="SetFileName"
animateable="0"
number_of_elements="1">
<FileListDomain name="files"/>
<Documentation>
This property specifies the file name for the Face File
</Documentation>
</StringVectorProperty>
</SourceProxy>
</ProxyGroup>
</ServerManagerConfiguration>
<ParaViewReaders>
<Reader name="FacetReader" extensions="facet"
file_description="Facet Files">
</Reader>
</ParaViewReaders>
_______________________________________________
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