[Paraview] default representation?
B.W.H. van Beest
bwvb at xs4all.nl
Thu Oct 2 22:50:47 EDT 2014
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 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 is the output from your source?
>
> -Ken
>
> On 10/2/14, 10:37 AM, "B.W.H. van Beest" <bwvb at xs4all.nl> wrote:
>
>> 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 non-uniform rectilinear grids and curvilinear grids)
>>> default to outline. Unstructured data types (like poly data or
>>> unstructured grids) default to surface unless the size is larger than
>>> some
>>> threshold (which can be changed in settings). Multiblock data sets
>>> default
>>> to whatever is appropriate for the data type in the blocks.
>>>
>>>
>>> The rational for this behavior is that an unstructured data type likely
>>> represents some geometry of importance whereas a regular grid more
>>> likely
>>> represents some region in space where the relevant structure is
>>> internal.
>>>
>>> -Ken
>>>
>>> On 10/2/14, 7:53 AM, "B.W.H. van Beest" <bwvb at xs4all.nl> wrote:
>>>
>>>> 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 files, but maybe I don't recognise it.
>>>>
>>>> Background of this is that I would like to change this default
>>>> behaviour, in particular for some new sources I'm creating in a plugin.
>>>> (The sources that are derived from the standard ones.)
>>>>
>>>> Kind Regards,
>>>> Bertwim
>>>>
>>>> _______________________________________________
>>>> 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://public.kitware.com/mailman/listinfo/paraview
>>>
>
>
More information about the ParaView
mailing list