paraview.simple.__init__.ResolveHangingNodes¶
- paraview.simple.__init__.ResolveHangingNodes(*input, **params)¶
This filter takes a dataset (vtkPolyData, vtkUnstructuredGrid or vtkCartesianGrid) made of quads (2D) or hexahedra (3D) at different refinement levels (for example, an AMR dataset converted to an unstructured grid). It inserts the hanging points of finer cells that lie on the edge or face of a coarser cell into the connectivity of that coarse cell.
Depending on the Decompose option, the modified coarse cell is either decomposed into conforming convex cells (triangles/quads in 2D, or tetrahedra/pyramids in 3D) that preserve its geometry, or it is expanded directly into an n-sided polygon or polyhedron.
Neighboring cells then share points along their common boundary, which makes point data interpolation continuous across refinement levels. The input cells must already share points where they touch at corners, i.e., coincident points must be merged, and the refinement ratio between consecutive levels must be 2. In parallel, the points that hang on the boundary of a partition are exchanged with the neighboring partitions.
The partitions of a vtkPartitionedDataSet are resolved together, and every vtkPartitionedDataSet of a vtkPartitionedDataSetCollection on its own. A level of a vtkNonOverlappingAMR is resolved against the other levels. vtkOverlappingAMR is not supported, since its levels overlap.
Data Descriptors¶
- ComputeInverseMeasure
If this property is set to 1, an InverseArea (2D) or InverseVolume (3D) cell array is added to the output. It can be used as the Weight Array of the Cell Data to Point Data filter, so that the value of a point does not depend on how many finer cells use it.
- Decompose
If this property is set to 1, each cell with hanging points is decomposed into triangles and quads (2D), or tetrahedra and pyramids (3D). Otherwise, it becomes a single polygon (2D) or polyhedron (3D).
- Input
This property specifies the input of the filter.
- OriginalCellIdsName
The name of the cell array of the original cell ids.
- PassOriginalCellIds
If this property is set to 1, a cell array with the id of the input cell of every output cell, in its partition, is added to the output. With Decompose, the cells that a resolved cell is decomposed into have the same original cell id.
- Tolerance
Tolerance, as a fraction of the length of an edge or of the size of a face, used to decide whether a point lies on that edge or face.
Data Descriptors inherited from Proxy¶
- __dict__
dictionary for instance variables
- __weakref__
list of weak references to the object
Methods¶
Initialize = aInitialize(self, connection=None, update=True) from paraview.servermanager._createInitialize.<locals>
Methods inherited from SourceProxy¶
- FileNameChanged(self)
Called when the filename of a source proxy is changed.
- GetCellDataInformation(self)
Returns the associated cell data information.
- GetDataInformation(self, idx=None)
This method returns a DataInformation wrapper around a vtkPVDataInformation
- GetFieldDataInformation(self)
Returns the associated cell data information.
GetInformation(self)
- GetPointDataInformation(self)
Returns the associated point data information.
- GetSideDataInformation(self)
Returns the associated side data information.
- Rename(self, new_name)
Rename proxy in GUI
- UpdatePipeline(self, time=None)
This method updates the server-side VTK pipeline and the associated data information. Make sure to update a source to validate the output meta-data.
- UpdatePipelineInformation(self)
This method updates the meta-data of the server-side VTK pipeline and the associated information properties
- __getitem__(self, idx)
Given a slice, int or string, returns the corresponding output port
Methods inherited from Proxy¶
- GetProperty(self, name)
Given a property name, returns the property object.
- GetPropertyValue(self, name)
Returns a scalar for properties with 1 elements, the property itself for vectors.
- InitializeFromProxy(self, aProxy, update=True)
Constructor. Assigns proxy to self.SMProxy, updates the server object as well as register the proxy in _pyproxies dictionary.
- ListProperties(self)
Returns a list of all property names on this proxy.
- Set(self, **properties)
Update a set of properties using a keyword argument notation
- SetPropertyWithName(self, pname, arg)
Generic method for setting the value of a property.
- __del__(self)
Destructor. Cleans up all observers as well as remove the proxy from the _pyproxies dictionary
- __enter__(self)
Activate proxy if possible
- __eq__(self, other)
Returns true if the underlying SMProxies are the same.
- __exit__(self, exc_type, exc_value, traceback)
Revert previously activated proxy
- __getattr__(self, name)
With the exception of a few overloaded methods, returns the SMProxy method
- __hash__(self)
Return hash(self).
- __init__(self, **args)
Default constructor. It can be used to initialize properties by passing keyword arguments where the key is the name of the property. In addition registrationGroup and registrationName (optional) can be specified (as keyword arguments) to automatically register the proxy with the proxy manager.
- __iter__(self)
Creates an iterator for the properties.
- __ne__(self, other)
Returns false if the underlying SMProxies are the same.
- __setattr__(self, name, value)
Implement setattr(self, name, value).
add_attribute(self, name, value)
For the full list of servermanager proxies, please refer to Available readers, sources, writers, filters and animation cues