Commit d3ad47d8 authored by Mathieu Westphal's avatar Mathieu Westphal
Browse files

Adding WarnOnCreate hint on many filters

parent 30f02d85
......@@ -73,6 +73,21 @@
will be merged in the output. Defaults to "Unstructured Grid".
</Documentation>
</IntVectorProperty>
<Hints>
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="20" />
<Text title="Potentially running out of memory">
**Append Datasets** filter will create an unstructured grid output and
you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End AppendDataSet -->
</SourceProxy>
......@@ -367,6 +382,21 @@
<!-- show this widget when ExtractionMode==6 -->
</Hints>
</DoubleVectorProperty>
<Hints>
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="20" />
<Text title="Potentially running out of memory">
**Connectivity** filter will create an unstructured grid output and
you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End PVConnectivityFilter -->
</SourceProxy>
......@@ -790,6 +820,20 @@ found and the point will be rejected.</Documentation>
<Documentation>This boolean controls whether vertices which satisfy the
alpha criterion are output when alpha is non-zero.</Documentation>
</IntVectorProperty>
<Hints>
<WarnOnCreate>
<DataTypeDomain composite_data_supported="1"
name="input_type">
<DataType value="vtkPolyData" />
</DataTypeDomain>
<MemoryUsage relative="7" />
<Text title="Potentially running out of memory">
**Delaunay 3D** filter will create an unstructured grid output and
you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End Delaunay3d -->
</SourceProxy>
......@@ -870,20 +914,6 @@ found and the point will be rejected.</Documentation>
<Property function="Point2WorldPosition" name="HighPoint" />
<Property function="Input" name="Input" />
</PropertyGroup>
<Hints>
<WarnOnCreate>
<DataTypeDomain composite_data_supported="1"
name="input_type">
<DataType value="vtkPointSet" />
</DataTypeDomain>
<MemoryUsage relative="0.01" />
<Text title="Potentially slow operation">
**Temporal Statistics** filter needs to process all timesteps
available in your dataset and can potentially take a long time to complete.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End ElevationFilter -->
</SourceProxy>
......@@ -1926,6 +1956,21 @@ found and the point will be rejected.</Documentation>
to the corresponding eigenvector.
</Documentation>
</IntVectorProperty>
<Hints>
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="500" />
<Text title="Potentially running out of memory">
**Tensor Glyph** filter will create a polydata output and
you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
</SourceProxy>
<!-- ==================================================================== -->
......
......@@ -184,6 +184,21 @@
This property specifies the input to the Extract Edges filter.
</Documentation>
</InputProperty>
<Hints>
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="25" />
<Text title="Potentially running out of memory">
**Extract Edges** filter will create an unstructured grid output and
you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End ExtractEdges -->
</SourceProxy>
......@@ -269,6 +284,21 @@
This parameter controls whether to extract cells that are on the boundary of the region.
</Documentation>
</IntVectorProperty>
<Hints>
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="5" />
<Text title="Potentially running out of memory">
**Extract Cells By Region** filter will create an unstructured grid output
and you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End ExtractGeometry -->
</SourceProxy>
......
......@@ -491,6 +491,21 @@
</DataTypeDomain>
<Documentation>This property specifies the input to the Tetrahedralize
filter.</Documentation>
<Hints>
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="100" />
<Text title="Potentially running out of memory">
**Tetrahedralize** filter will create an unstructured grid output
and you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
</InputProperty>
<!-- End DataSetTriangleFilter -->
</SourceProxy>
......@@ -762,6 +777,16 @@
<DataType value="vtkImageData" />
</DataTypeDomain>
</InputProperty>
<Hints>
<WarnOnCreate>
<MemoryUsage relative="5" />
<Text title="Potentially running out of memory">
**Image Data to Point Set** filter will create an unstructured grid output and
you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
</SourceProxy>
<!-- ==================================================================== -->
......@@ -1385,6 +1410,21 @@
cell; a value of 1 leaves them at their original
positions.</Documentation>
</DoubleVectorProperty>
<Hints>
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="100" />
<Text title="Potentially running out of memory">
**Shrink** filter will create an unstructured grid output and
you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End ShrinkFilter -->
</SourceProxy>
......@@ -1977,6 +2017,19 @@
<Property command="ResetFieldCriteria"
name="ResetFieldCriteria"></Property>
<!-- End TessellatorFilter -->
<Hints>
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkDataSet" />
</DataTypeDomain>
<MemoryUsage relative="1000" />
<Text title="Potentially running out of memory">
**Tesselate** filter will create an output of a much bigger size to its input
and you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
</SourceProxy>
<!-- ==================================================================== -->
......
......@@ -730,6 +730,21 @@
processor's output. If the pipeline also requests ghost levels, the
larger value will be used.</Documentation>
</IntVectorProperty>
<Hints>
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="20" />
<Text title="Potentially running out of memory">
**D3** filter will create an unstructured grid output
and you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End D3 -->
</SourceProxy>
......@@ -1470,6 +1485,21 @@
9-component data arrays (considered as tensors ) of signed type will be flipped.
All other arrays won't be flipped and will only be copied.</Documentation>
</IntVectorProperty>
<Hints>
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="100" />
<Text title="Potentially running out of memory">
**Reflect** filter will create an unstructured grid output and
you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End ReflectionFilter -->
</SourceProxy>
......
......@@ -244,6 +244,23 @@
global cell Ids and ghost cells that are useful for debugging.</Documentation>
<BooleanDomain name="bool" />
</IntVectorProperty>
<Hints>
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="20" />
<Text title="Potentially running out of memory">
**Redistribute DataSet** filter will create an unstructured grid output and
you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End RedistributeDataSetFilter -->
</SourceProxy>
......
......@@ -39,6 +39,21 @@
a single poly vertex cell and as many vertex cells as there is points.
</Documentation>
</IntVectorProperty>
<Hints>
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="7" />
<Text title="Potentially running out of memory">
**Convert To Point Cloud** filter will create a polydata output
and you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End of ConvertToPointCloud -->
</SourceProxy>
......
......@@ -55,9 +55,8 @@ The DataTypeDomain syntax is the same as the one for the DataTypeDomain with Inp
<DataType value="vtkImageData" />
</DataTypeDomain>
<MemoryUsage relative="10" />
<Text title="Potentially slow operations">
**Temporal Statistics** filter needs to process all timesteps
available in your dataset and can potentially take a long time to complete.
<Text title="Potentially running out of memory">
This filter may not have enough memory to process
Do you want to continue?
</Text>
</WarnOnCreate>
......
......@@ -540,6 +540,19 @@
</IntVectorProperty>
<Hints>
<InitializationHelper class="vtkSMExtractSelectionProxyInitializationHelper"/>
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="20" />
<Text title="Potentially running out of memory">
**Extract Selection** filter will create an unstructured grid output
and you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End of ExtractSelection -->
</SourceProxy>
......
......@@ -65,6 +65,21 @@
number_of_elements="1">
<BooleanDomain name="bool" />
</IntVectorProperty>
<Hints>
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="20" />
<Text title="Potentially running out of memory">
**Clean to Grid** filter will create an unstructured grid output and
you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End CleanUnstructuredGrid -->
</SourceProxy>
......@@ -258,6 +273,19 @@
</DoubleVectorProperty>
<Hints>
<Visibility replace_input="2" />
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="10" />
<Text title="Potentially running out of memory">
**Isovolume** filter will create an unstructured grid output and
you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End Iso Volume -->
</SourceProxy>
......@@ -830,6 +858,19 @@ points in the input. Defaults to ***Single***.
</DoubleVectorProperty>
<Hints>
<Visibility replace_input="2" />
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="10" />
<Text title="Potentially running out of memory">
**Contour** filter will create a polydata output and
you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- incremental point locator begin -->
<ProxyProperty command="SetLocator"
......@@ -1315,6 +1356,18 @@ Every Nth Point.
changed on creation of this filter (defaults to "1")
-->
<Visibility replace_input="0" />
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkDataSet" />
</DataTypeDomain>
<MemoryUsage relative="500" />
<Text title="Potentially running out of memory">
**Glyph** filter will create one geometry by point
if configured as such in the "Glyph Mode" property,
which you may not have enough memory to do.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End Glyph -->
</SourceProxy>
......@@ -2262,6 +2315,20 @@ Every Nth Point.
<BooleanDomain name="bool" />
<Documentation>Remove duplicate points.</Documentation>
</IntVectorProperty>
<Hints>
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkPolyData" />
</DataTypeDomain>
<MemoryUsage relative="4" />
<Text title="Potentially running out of memory">
**Linear Cell Extrusion** filter will create an unstructured grid output and
you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End LinearCellExtrusionFilter -->
</SourceProxy>
<!-- ==================================================================== -->
......@@ -2459,6 +2526,19 @@ Every Nth Point.
</IntVectorProperty>
<Hints>
<Visibility replace_input="2" />
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="20" />
<Text title="Potentially running out of memory">
**Clip** filter will create an unstructured grid output and
you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End Clip -->
</SourceProxy>
......@@ -2812,6 +2892,19 @@ Every Nth Point.
</IntVectorProperty>
<Hints>
<Visibility replace_input="2" />
<WarnOnCreate>
<DataTypeDomain name="input_type">
<DataType value="vtkImageData" />
<DataType value="vtkRectilinearGrid" />
<DataType value="vtkStructuredGrid" />
</DataTypeDomain>
<MemoryUsage relative="20" />
<Text title="Potentially running out of memory">
**Threshold** filter will create an unstructured grid output and
you may not have enough memory to create it.
Do you want to continue?
</Text>
</WarnOnCreate>
</Hints>
<!-- End Threshold -->
</SourceProxy>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment