[Paraview] new representations

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Jul 15 10:33:26 EDT 2010


So you must have an <Extension > element for "GeometryRepresentation"
in your plugin. You need to add <Extension > elements for
"UniformGridRepresentation" and "UnstructuredGridRepresentation" as
well.

Utkarsh

On Thu, Jul 15, 2010 at 10:32 AM, Paul Edwards <paul.m.edwards at gmail.com> wrote:
> The difference is due to vtkSMRenderViewProxy::CreateDefaultRepresentation
> returning either an UnstructuredGridRepresentation for unstructured data,
> UniformGridRepresentation for image data and GeometryRepresentation for
> other datasets.  The representations from the plugins only appear with the
> GeometryRepresentation.  Do you know how to fix this?
> Thanks,
> Paul
>
> On 15 July 2010 13:58, Paul Edwards <paul.m.edwards at gmail.com> wrote:
>>
>> By "added specifically for a type" I was referring to how ParaView adds a
>> volume representation for unstructured dataset (and volume and slice for an
>> image dataset).  I would like my representation to be available for all
>> datasets.
>> Regards,
>> Paul
>>
>> On 15 July 2010 13:54, Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
>> wrote:
>>>
>>> What do you mean by "added specifically for a type". How are  you doing
>>> that?
>>>
>>> Utkarsh
>>>
>>> On Thu, Jul 15, 2010 at 6:31 AM, Paul Edwards <paul.m.edwards at gmail.com>
>>> wrote:
>>> > Hi,
>>> > I've added a representation to display feature edges but I can't get it
>>> > to
>>> > work for all datasets (it is missing for image and unstructured data).
>>> >  It
>>> > seems that when another representation is added specifically for a type
>>> > of
>>> > data set (e.g. volume for unstructured, or slice and volume for image
>>> > data)
>>> > it loses all the extra representations from plugins - unless I'm doing
>>> > something wrong....  The same happens for the example representation
>>> > plugin
>>> > that comes with ParaView.  Any advice would be appreciated.
>>> > Thanks,
>>> > paul
>>> > _______________________________________________
>>> > 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
>>> >
>>> >
>>
>
>


More information about the ParaView mailing list