[Paraview] Enumeration Domain still not working properly

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Aug 13 08:00:27 EDT 2008


Domains should be assigned name. Try assigning name="enum" on all your 
enumeration domains. Generally speaking, it's not recommended to name 
domains arbitrarily (although this should be fixed in ParaView 
eventually). Try to stick with the names assigned to each type of domain 
  in ParaView's default configuration xmls 
(Servers/ServerManager/Resources/*.xml)

Utkarsh

Samuel Crow wrote:
> To be specific, the default gadget produced by the Enumeration Domain on my reader is a regular integer text-entry gadget with no range check at all.  According to Page 267-268 in the Paraview Guide (version 3), the Enumeration Domain is supposed to be a helper domain of IntVectorProperty and according to the text at the second paragraph of the Paraview Guide on page 281, the preferred way to implement a drop-down gadget is to replace the IntRangeDomain with an EnumerationDomain instead of creating a custom panel.
> 
> Is my (attached) XML wrong?
> 
> 
> --- On Tue, 8/12/08, Utkarsh Ayachit <utkarsh.ayachit at kitware.com> wrote:
> 
>> From: Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
>> Subject: Re: [Paraview] Enumeration Domain still not working properly
>> To: samuel_crow_work at rocketmail.com
>> Cc: paraview at paraview.org
>> Date: Tuesday, August 12, 2008, 8:15 PM
>> Can you be a bit more specific? Are you using the auto
>> generated panels 
>> or creating one yourself? Can you provide the XML for the
>> reader?
>>
>> Utkarsh
>>
>> Samuel Crow wrote:
>>> Hello again,
>>>
>>> I've tried to make a drop-down gadget on my
>> reader's properties panel both using the 3.2.2 and last
>> Thursday's CVS release.  Is there a bugfix in the works
>> for the EnumerationDomain tag on the IntVectorProperty?
>>> --Sam
>>>
>>>
>>>       
>>>
>>> _______________________________________________
>>> ParaView mailing list
>>> ParaView at paraview.org
>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
> 
> 
>       
> 


More information about the ParaView mailing list