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
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.edwa...@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
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
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
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.edwa...@gmail.com wrote:
The difference
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?
Thanks,
Paul
On 15 July 2010 15:33, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote:
So you must have an Extension element for GeometryRepresentation
in your plugin. You
Not currently. However you can try to keep the copy-pasted code
minimal by using a separate definition for your representation as done
in the example on wiki.
http://www.paraview.org/Wiki/Plugin_HowTo#Adding_new_Representations_for_3D_View_using_Plugins__.2A_new_in_version_3.7
Utkarsh
On Thu,
Thanks again :)
On 15 July 2010 15:48, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote:
Not currently. However you can try to keep the copy-pasted code
minimal by using a separate definition for your representation as done
in the example on wiki.