Functions
vtkPVPostFilterPrivateTools Namespace Reference

Functions

std::string DefaultComponentName (int componentNumber, int componentCount)
 Return default component name for provided number and count. More...
 
void DeMangleArrayName (const std::string &mangledName, vtkDataSet *dataSet, std::string &demangledName, std::string &demangledComponentName)
 Demangles a mangled string containing an array name and a component name. More...
 
bool ExtractComponent (vtkDataSetAttributes *dsa, const char *requested_name, const char *demangled_name, const char *demangled_component_name)
 Extract a specific component for demangled name. More...
 
void CellDataToPointData (vtkDataSet *output, const char *name)
 Convert a name cell data to point data and add to output. More...
 
void PointDataToCellData (vtkDataSet *output, const char *name)
 Convert a name point data to cell data and add to output. More...
 
bool DoAnyNeededConversions (vtkDataSet *output, const char *requested_name, int fieldAssociation, const char *demangled_name, const char *demangled_component_name, bool checkOnly)
 Do the conversion for the requested name and field association, on the provided output. More...
 
bool DoAnyNeededConversions (vtkInformation *info, vtkInformationInformationVectorKey *key, vtkDataSet *dataset, bool checkOnly)
 Do the conversion for the requested info, on the provided output. More...
 
bool DoAnyNeededConversions (vtkInformation *info, vtkInformationInformationVectorKey *key, vtkDataObject *output, bool checkOnly=false)
 Do the conversions for the requested info, on the provided output. More...
 

Function Documentation

◆ DefaultComponentName()

std::string vtkPVPostFilterPrivateTools::DefaultComponentName ( int  componentNumber,
int  componentCount 
)

Return default component name for provided number and count.

◆ DeMangleArrayName()

void vtkPVPostFilterPrivateTools::DeMangleArrayName ( const std::string mangledName,
vtkDataSet dataSet,
std::string demangledName,
std::string demangledComponentName 
)

Demangles a mangled string containing an array name and a component name.

◆ ExtractComponent()

bool vtkPVPostFilterPrivateTools::ExtractComponent ( vtkDataSetAttributes dsa,
const char *  requested_name,
const char *  demangled_name,
const char *  demangled_component_name 
)

Extract a specific component for demangled name.

◆ CellDataToPointData()

void vtkPVPostFilterPrivateTools::CellDataToPointData ( vtkDataSet output,
const char *  name 
)

Convert a name cell data to point data and add to output.

◆ PointDataToCellData()

void vtkPVPostFilterPrivateTools::PointDataToCellData ( vtkDataSet output,
const char *  name 
)

Convert a name point data to cell data and add to output.

◆ DoAnyNeededConversions() [1/3]

bool vtkPVPostFilterPrivateTools::DoAnyNeededConversions ( vtkDataSet output,
const char *  requested_name,
int  fieldAssociation,
const char *  demangled_name,
const char *  demangled_component_name,
bool  checkOnly 
)

Do the conversion for the requested name and field association, on the provided output.

If checkOnly is true, only check if conversions would occur. Return true if conversion occurs, false otherwise.

◆ DoAnyNeededConversions() [2/3]

bool vtkPVPostFilterPrivateTools::DoAnyNeededConversions ( vtkInformation info,
vtkInformationInformationVectorKey key,
vtkDataSet dataset,
bool  checkOnly 
)

Do the conversion for the requested info, on the provided output.

If checkOnly is true, only check if conversions would occur. Return true if conversion occurs, false otherwise.

◆ DoAnyNeededConversions() [3/3]

bool vtkPVPostFilterPrivateTools::DoAnyNeededConversions ( vtkInformation info,
vtkInformationInformationVectorKey key,
vtkDataObject output,
bool  checkOnly = false 
)

Do the conversions for the requested info, on the provided output.

If output is composite, process all, if not, process as a dataset. If checkOnly is true, only check if conversions would occur. Return true if conversion occurs, false otherwise.