[Paraview] Adding a Filter
Michael P. Vitus
vitusm at rpi.edu
Sat, 8 May 2004 12:37:29 -0400
This is a multi-part message in MIME format.
------=_NextPart_000_0029_01C434F9.3A093700
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello,
I am using ParaView 1.3 and VTK 4.5. I am trying to add in an =
additional filter (vtkExtractGeometry), but I am having trouble figuring =
out where to put the XML for the filter. Someone at ParaView told me =
create a new modules.xml file and set the environment variable =
PV_INTERFACE_MODULE to the location of the modules.xml file, but =
ParaView didn't show any sign of reading the modules.xml file. I put in =
an obvious error into the modules.xml file, but ParaView didn't throw an =
error.
I then tried to put my XML code into =
/ParaView/ParaView/Resources/Filters.xml file but it still didn't =
produce any results. I also, removed all of the XML within the =
Filters.xml file to see if it was reading it, and it didn't produce any =
results. So that leads to me to question whether the XML file is =
dynamically read when ParaView is initializing, or is it built into =
ParaView during build time? Also, what is the "correct" way to add a =
new module/filter into ParaView?
Thank You in advance for your help,
Mike
------=_NextPart_000_0029_01C434F9.3A093700
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2> I am using ParaView =
1.3 and VTK=20
4.5. I am trying to add in an additional filter =
(vtkExtractGeometry), but=20
I am having trouble figuring out where to put the XML for the =
filter. =20
Someone at ParaView told me create a new modules.xml file and set the=20
environment variable PV_INTERFACE_MODULE to the location of the =
modules.xml=20
file, but ParaView didn't show any sign of reading the modules.xml =
file. I=20
put in an obvious error into the modules.xml file, but ParaView didn't =
throw an=20
error.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2> I then tried to put =
my XML code=20
into /ParaView/ParaView/Resources/Filters.xml file but it still didn't =
produce=20
any results. I also, removed all of the XML within the Filters.xml =
file to=20
see if it was reading it, and it didn't produce any results. So =
that leads=20
to me to question whether the XML file is dynamically read when ParaView =
is=20
initializing, or is it built into ParaView during build time? =
Also, what=20
is the "correct" way to add a new module/filter into =
ParaView?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Thank You in advance for your =
help,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Mike</FONT></DIV></BODY></HTML>
------=_NextPart_000_0029_01C434F9.3A093700--