I've just copied the Extension tag for each and it seems to work - is there a better way than to Copy & Paste for each?<div><br>Thanks,</div><div>Paul<br><br><div class="gmail_quote">On 15 July 2010 15:33, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">So you must have an <Extension > element for "GeometryRepresentation"<br>
in your plugin. You need to add <Extension > elements for<br>
"UniformGridRepresentation" and "UnstructuredGridRepresentation" as<br>
well.<br>
<font color="#888888"><br>
Utkarsh<br>
</font><div><div></div><div class="h5"><br>
On Thu, Jul 15, 2010 at 10:32 AM, Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>> wrote:<br>
> The difference is due to vtkSMRenderViewProxy::CreateDefaultRepresentation<br>
> returning either an UnstructuredGridRepresentation for unstructured data,<br>
> UniformGridRepresentation for image data and GeometryRepresentation for<br>
> other datasets. The representations from the plugins only appear with the<br>
> GeometryRepresentation. Do you know how to fix this?<br>
> Thanks,<br>
> Paul<br>
><br>
> On 15 July 2010 13:58, Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>> wrote:<br>
>><br>
>> By "added specifically for a type" I was referring to how ParaView adds a<br>
>> volume representation for unstructured dataset (and volume and slice for an<br>
>> image dataset). I would like my representation to be available for all<br>
>> datasets.<br>
>> Regards,<br>
>> Paul<br>
>><br>
>> On 15 July 2010 13:54, Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>><br>
>> wrote:<br>
>>><br>
>>> What do you mean by "added specifically for a type". How are you doing<br>
>>> that?<br>
>>><br>
>>> Utkarsh<br>
>>><br>
>>> On Thu, Jul 15, 2010 at 6:31 AM, Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>><br>
>>> wrote:<br>
>>> > Hi,<br>
>>> > I've added a representation to display feature edges but I can't get it<br>
>>> > to<br>
>>> > work for all datasets (it is missing for image and unstructured data).<br>
>>> > It<br>
>>> > seems that when another representation is added specifically for a type<br>
>>> > of<br>
>>> > data set (e.g. volume for unstructured, or slice and volume for image<br>
>>> > data)<br>
>>> > it loses all the extra representations from plugins - unless I'm doing<br>
>>> > something wrong.... The same happens for the example representation<br>
>>> > plugin<br>
>>> > that comes with ParaView. Any advice would be appreciated.<br>
>>> > Thanks,<br>
>>> > paul<br>
>>> > _______________________________________________<br>
>>> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>> ><br>
>>> > Visit other Kitware open-source projects at<br>
>>> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>> ><br>
>>> > Please keep messages on-topic and check the ParaView Wiki at:<br>
>>> > <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>>> ><br>
>>> > Follow this link to subscribe/unsubscribe:<br>
>>> > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>>> ><br>
>>> ><br>
>><br>
><br>
><br>
</div></div></blockquote></div><br></div>