[Paraview] Paraview Extend Question

John Biddiscombe biddisco at cscs.ch
Wed Sep 21 14:28:04 EDT 2005


Using the PARAVIEW_EXTRA_EXTERNAL_MODULE my compilation is good, but I'm 
unsure about the xml inclusion part...

    *  To incldue Server manager XML:
 PARAVIEW_INCLUDE_SERVERMANAGER_RESOURCES("${MYFANCY_SOURCE_DIR}/ServerManagerXML.xml")

    * To include GUI Client XML:
 PARAVIEW_INCLUDE_GUI_RESOURCES("${MYFANCY_SOURCE_DIR}/GUIXML.xml")

Normally the start of the GUI.xml would have
<ModuleInterfaces>
  <Library name="vtkCSCSNetCDFCS" directory="D:/cmakebuild/cscsp/bin"/>
  <ServerManagerFile name="vtkCSCSNetCDF.pvsm"/> />
  <Module name="NetCDF"
          class="vtkPVAdvancedReaderModule"
          root_name="NetCDF"
          module_type="Reader"
          extensions=".nc .cdf"
          file_description="NetCDF files">       
    <Source class="vtkNetCDFReader"/>
.....

but do I just skip the ModuleInterface/Library name/ServerManager stuff, 
or do I need to point them back to the Paraview kernel. Is there an 
example I can see anywhere.

Same question for the ServerManagerXML
<ServerManagerConfiguration>
  <ProxyGroup name="sources">
   <SourceProxy name="NetCDF" class="vtkNetCDFReader">
     <StringVectorProperty
        name="FileName"
        command="SetFileName"
        number_of_elements="1">
        <StringListDomain name="files"/>
     </StringVectorProperty>
.....

Do I leave this alone, or modify it in any way?

many thanks

JB



-- 
John Biddiscombe,                            email:biddisco @ cscs.ch
http://www.cscs.ch/about/BJohn.php
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82




More information about the ParaView mailing list