<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    &nbsp;you could name your outputs in the xml code, add something similar
    to the following as suits your use case<br>
    <br>
    &lt;OutputPort name="Solar Wind"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; index="0" /&gt;<br>
    &lt;OutputPort name="Magnetosphere"&nbsp;&nbsp; index="1" /&gt;<br>
    &lt;OutputPort name="North Connected" index="2" /&gt;<br>
    &lt;OutputPort name="South Connected" index="3" /&gt;<br>
    &lt;OutputPort name="Null/Short Int." index="4" /&gt;<br>
    <br>
    I'm sure you could access the display properties in a custom panel,
    however it might be very hackish to do so.<br>
    <br>
    On 08/13/2012 06:17 PM, Phil Amburn wrote:
    <blockquote cite="mid:5029a710.a5d8320a.362e.ffffd3e9@mx.google.com"
      type="cite">
      <pre wrap="">I hope this hasn't been submitted twice, but I sent email on Saturday and
haven't seen it in my mail, so I'm trying again.

I'm working on a c++ plugin that is a filter that reads a vtkStructuredGrid
and generates 3 polygonal outputs.  The environment I'm using is ParaView
3.10.1, MS Windows 7, and MS Visual Studio 2008.

One of the outputs is a 3D contour surface of one of four scalars in the
vtkStructuredGrid input, and I'd like to be able to modify the "Color by"
setting in the Display panel from "Solid Color" to color by one of the other
scalars in the input.  Easy to do through the GUI, but I'd like to do this
from within the plugin.    

Is it possible to modify the "Color by" setting from within the plugin?
Can I get a list of the groups being maintained by the server manager?  I
expect (hope) I'm interested in the groups and properties associated with
the display panel, and hope to be able to set them from within the plugin.

I have another question.  When this filter generates its three outputs, they
are named output-0, output-1, and output-2 in the Pipeline Browser.  Can I
change those names to something more informative from within the plugin,
such as "constant pressure surface"?

I've attached the xml and cmake files I'm using along with C++ code.

Thanks, any help would be greatly appreciated.

Phil
</pre>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Paraview-developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a>
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/paraview-developers">http://public.kitware.com/mailman/listinfo/paraview-developers</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>