Re: [Paraview] default representation?

2014-10-03 Thread Cory Quammen
Bertwim, Ken is right, the default representation is chosen by the view in which the source output is displayed. See, for instance, ParaView/ParaViewCore/ServerManager/Rendering/vtkSMRenderViewProxy::GetRepresentationType() for the logic used to pick the default representation used in the 3D

Re: [Paraview] default representation?

2014-10-03 Thread Utkarsh Ayachit
Here are a few points to note: There are two parts to choosing the default representation: (a) Picking the representation proxy to use (b) Picking which Representation type (e.g. Surface/Wireframe etc.) to use -- this currently is only relevant for representations in Render Views (or similar).

Re: [Paraview] default representation?

2014-10-03 Thread B.W.H. van Beest
Cory, Ken , All, Thanks for looking into this. Maybe resetting the default was a bit too ambitious. It is a bit annoying, though, that I cannot display the 'my own source the first time right. regards, Bertwim On 10/03/2014 03:11 PM, Cory Quammen wrote: Bertwim, Ken is right, the default

[Paraview] default representation?

2014-10-02 Thread B.W.H. van Beest
Hello, I noticed that sources like a box, sphere etc., are always displayed initially with a surface representation, after which ione can set it manually to something else, e.g. a wireframe. Where is this preference being set? I cannot find it in the sources.xml file or in any of the other xml

Re: [Paraview] default representation?

2014-10-02 Thread Moreland, Kenneth
The default representation is based more on the data type than the filter setup. I forget all the rules, but I believe that structured data types (like uniform and non-uniform rectilinear grids and curvilinear grids) default to outline. Unstructured data types (like poly data or unstructured

Re: [Paraview] default representation?

2014-10-02 Thread B.W.H. van Beest
But how can I set the default, especially for a new source? Regards, Bertwim On 10/02/2014 04:55 PM, Moreland, Kenneth wrote: The default representation is based more on the data type than the filter setup. I forget all the rules, but I believe that structured data types (like uniform and

Re: [Paraview] default representation?

2014-10-02 Thread Moreland, Kenneth
As far as I know (and anyone else on the list is welcome to correct me), you cannot directly change the default representation for the output of a source/filter. The default representation is automatically chosen based on the type of the data and the view it is being shown in. What kind of data

Re: [Paraview] default representation?

2014-10-02 Thread B.W.H. van Beest
It is just a box, sphere, etc (originating from vtkCubeSource, vtpSPhereSource). I want to display them initially in a wireframe representation. Regards, Bertwim On 10/02/2014 08:38 PM, Moreland, Kenneth wrote: As far as I know (and anyone else on the list is welcome to correct me), you cannot

[Paraview] Default representation for a custom source/filter

2010-03-31 Thread Paul Edwards
Hi, Is there a way in the XML file to set the default representation for the output of a custom source/filter? One thing I have noticed is that a reader creating a multiblock dataset containing an unstructured grid does not obey the outline threshold limit in the settings (although applying