[Paraview-developers] specifying color of plugin output

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Oct 22 13:44:35 EDT 2012


You may have a "port" argument somewhere that is not provided as most
of the time we have only one and the default 0 value get used.

Seb

On Mon, Oct 22, 2012 at 1:31 PM, Phil Amburn <phil.amburn at gmail.com> wrote:
> Hi Seb,
>
> I've been looking at your example and have an additional question.  Since I
> want different color characteristics for each of the outputs, will I need a
> different representation for each of the outputs?  If so, I don't know how
> to associate a different representation with an individual output.
>
> Thanks,
> Phil
>
> -----Original Message-----
> From: Sebastien Jourdain [mailto:sebastien.jourdain at kitware.com]
> Sent: Friday, October 19, 2012 6:20 AM
> To: Phil Amburn
> Cc: paraview-developers at paraview.org
> Subject: Re: [Paraview-developers] specifying color of plugin output
>
> In ParaView/master from git I've added an Example that illustrate somehow,
> how to do that. It's in the Plugin section and its name is
> RepresentationBehavior.
>
> Seb
>
> On Fri, Oct 19, 2012 at 9:15 AM, Phil Amburn <phil.amburn at gmail.com> wrote:
>> I would like to specify the color / look-up table for two outputs of a
>> c++ plugin.
>>
>>
>>
>> The plug-in produces two polygonal outputs,  and I would like to
>> specify the default color for one of those outputs and a scalar field and
> look-up table
>> for the other output.   But, I have been unable to determine how to
> specify
>> the default color settings for these outputs.  All works well if I use
>> the color selection options on the display tab, but I would like to
>> set default coloring values from within the plug-in.
>>
>>
>>
>> Help would be much appreciated as I've been working on this for way
>> too long.
>>
>>
>>
>> I'm using ParaView 3.10.1 with Visual Studio 2008 within 64-bit MS
>> Windows 7.  I'm not using 3.14 because I encounter a memory allocation
>> problem with one of my datasets with the latest version.
>>
>>
>>
>> Phil
>>
>>
>> _______________________________________________
>> Paraview-developers mailing list
>> Paraview-developers at paraview.org
>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>
>


More information about the Paraview-developers mailing list