MantisBT - ParaView
View Issue Details
0009356ParaViewFeaturepublic2009-08-04 03:522016-08-12 09:57
Bryn Lloyd 
Cory Quammen 
normalfeatureN/A
closedmoved 
Development 
 
0009356: Add option to select region in vtkConnectivityFilter
It would be great if one could extract the largest possible region, or closest region using the vtkConnectivityFilter in paraview.

Currently this is not possible and one is forced to find out which region Id should be extracted by thresholding.

Below are a few changes to the Server Manager xml file, which would allow extracting the largest or closest region (or all regions).


<ServerManagerConfiguration>
  <ProxyGroup name="filters">
   <SourceProxy name="ConnectivityFilter" class="vtkConnectivityFilter">
     <InputProperty
        name="Input"
        command="SetInputConnection">
          <ProxyGroupDomain name="groups">
            <Group name="sources"/>
            <Group name="filters"/>
          </ProxyGroupDomain>
          <DataTypeDomain name="input_type">
            <DataType value="vtkDataSet"/>
          </DataTypeDomain>
     </InputProperty>

     <DoubleVectorProperty
        name="ClosestPoint"
        command="SetClosestPoint"
        number_of_elements="3"
        default_values="0 0 0">
     </DoubleVectorProperty>

     <IntVectorProperty
        name="ExtractionMode"
        command="SetExtractionMode"
        number_of_elements="1"
        default_values="4">
       <EnumerationDomain name="enum">
         <Entry value="4" text="LargestRegion"/>
         <Entry value="5" text="AllRegions"/>
         <Entry value="6" text="ClosestPointRegion"/>
       </EnumerationDomain>
     </IntVectorProperty>

     <IntVectorProperty
        name="ColorRegions"
        command="SetColorRegions"
        number_of_elements="1"
        default_values="1">
       <BooleanDomain name="bool"/>
     </IntVectorProperty>

   </SourceProxy>
  </ProxyGroup>
</ServerManagerConfiguration>
No tags attached.
Issue History
2009-08-04 03:52Bryn LloydNew Issue
2011-02-04 14:11David PartykaAssigned To => Robert Maynard
2011-02-04 14:11David PartykaStatusbacklog => tabled
2011-06-16 13:10Zack GalbreathCategoryFeature Request => Feature
2016-07-22 10:32Cory QuammenNote Added: 0036546
2016-07-22 10:33Cory QuammenAssigned ToRobert Maynard => Cory Quammen
2016-08-12 09:57Kitware RobotNote Added: 0037672
2016-08-12 09:57Kitware RobotStatusbacklog => closed
2016-08-12 09:57Kitware RobotResolutionopen => moved

Notes
(0036546)
Cory Quammen   
2016-07-22 10:32   
Merge request posted here:

https://gitlab.kitware.com/paraview/paraview/merge_requests/901 [^]
(0037672)
Kitware Robot   
2016-08-12 09:57   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.