paraview.simple.CellCenters(*input, **params)
The Cell Centers
filter places a point at the center of each cell in the input data set. The center computed is the parametric center of the cell, not necessarily the geometric or bounding box center. The cell attributes of the input will be associated with these newly created points of the output. You have the option of creating a vertex cell per point in the output. This is useful because vertex cells are rendered, but points are not. The points themselves could be used for placing glyphs (using the Glyph filter). The Cell Centers filter takes any type of data set as input and produces a polygonal data set as output.

Data Descriptors

This property specifies the input to the Cell Centers filter.
If set to 1, a vertex cell will be generated per point in the output. Otherwise only points will be generated.

Data Descriptors inherited from SourceProxy

Returns cell data information
Returns field data information
Returns point data information

Data Descriptors inherited from Proxy

dictionary for instance variables (if defined)
list of weak references to the object (if defined)



Methods inherited from SourceProxy

Called when the filename of a source proxy is changed.
Returns the associated cell data information.
GetDataInformation(self, idx=None)
This method returns a DataInformation wrapper around a vtkPVDataInformation
Returns the associated cell data information.
Returns the associated point data information.
UpdatePipeline(self, time=None)
__getitem__(self, idx)

Methods inherited from Proxy

GetProperty(self, name)
Given a property name, returns the property object.
GetPropertyValue(self, name)
InitializeFromProxy(self, aProxy, update=True)
Returns a list of all property names on this proxy.
SetPropertyWithName(self, pname, arg)
Generic method for setting the value of a property.
__eq__(self, other)
Returns true if the underlying SMProxies are the same.
__getattr__(self, name)
Return hash(self).
__init__(self, **args)
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)
