src/CONVERTOR/VISU_MergeFilter.cxx File Reference

#include "VISU_MergeFilter.hxx"
#include <vtkCellData.h>
#include <vtkObjectFactory.h>
#include <vtkPointData.h>
#include <vtkPolyData.h>
#include <vtkRectilinearGrid.h>
#include <vtkStructuredGrid.h>
#include <vtkStructuredPoints.h>
#include <vtkUnstructuredGrid.h>
#include <vtkIdList.h>
#include <vtkCell.h>
#include <algorithm>
#include <vector>
#include <map>
#include <set>
#include "VISU_ConvertorUtils.hxx"

Include dependency graph for VISU_MergeFilter.cxx:


Namespaces

namespace  VISU

Data Structures

class  VISU.TFieldNode
class  VISU.TFieldList
class  VISU.TFieldListIterator

Typedefs

typedef std::vector< int > TSortedArray
typedef std::map< int, int > TId2IdMap
typedef std::set< int > TIdSet
typedef vtkDataArray *(vtkDataSetAttributes::* TGetAttribute )()
typedef int(vtkDataSetAttributes::* TSetAttribute )(vtkDataArray *)

Functions

 vtkStandardNewMacro (VISU_MergeFilter)
void GetSortedArray (vtkIntArray *theArray, TSortedArray &theSortedArray)
template<class TNumericType>
void DeepCopySwitchOnOutput (TNumericType *theInputPtr, TNumericType *theOutputPtr, const TSortedArray &theIntersection, const TId2IdMap &theObj2VTKMap, vtkIdType theNbComp)
void CopyArray (vtkDataArray *theDataArray, vtkDataSetAttributes *theOutput, TSetAttribute theSetAttribute, vtkIdType theFixedNbTuples)
void CopyAttribute (vtkDataSetAttributes *theInput, TGetAttribute theGetAttribute, vtkDataSetAttributes *theOutput, TSetAttribute theSetAttribute, vtkIdType theFixedNbTuples)
vtkDataArray * DeepCopyArray (vtkDataArray *theDataArray, vtkDataSetAttributes *theOutput, TSetAttribute theSetAttribute, const TSortedArray &theIntersection, const TId2IdMap &theObj2VTKMap)
void DeepCopyAttribute (vtkDataSetAttributes *theInput, TGetAttribute theGetAttribute, vtkDataSetAttributes *theOutput, TSetAttribute theSetAttribute, const TSortedArray &theIntersection, const TId2IdMap &theObj2VTKMap)
void DeepCopyDataSetAttribute (vtkDataSet *theInput, TGetAttribute theGetAttribute, vtkDataSet *theOutput, TSetAttribute theSetAttribute, const TSortedArray &theIntersection, const TId2IdMap &theObj2VTKMap)
void DeepCopyField (vtkDataSetAttributes *theInput, const char *theFieldName, vtkDataSetAttributes *theOutput, const TSortedArray &theIntersection, const TId2IdMap &theObj2VTKMap)
void CopyField (vtkDataSetAttributes *theInput, const char *theFieldName, vtkDataSetAttributes *theOutput, vtkIdType theFixedNbTuples)
void DeepCopyDataSetField (vtkDataSet *theInput, const char *theFieldName, vtkDataSet *theOutput, const TSortedArray &theIntersection, const TId2IdMap &theObj2VTKMap)
void DeepCopyDataSetAttributes (VISU_MergeFilter *theFilter, vtkDataSet *theFilterOutput, VISU::TFieldList *theFieldList, const TSortedArray &theIntersection, const TId2IdMap &theObj2VTKMap)
void GetIdsForCopy (vtkUnstructuredGrid *inputUGrid, vtkIntArray *inputPointIds, TSortedArray &outputSortedArray)
void CopyElementsToOutput (vtkUnstructuredGrid *theInputUG, int &theNbElements, TSortedArray &theElementIdsForCopy, TId2IdMap &theOldId2NewIdPointsMap, vtkUnstructuredGrid *theOutputUG)
void CopyDataSetAttribute (vtkDataSet *theInput, TGetAttribute theGetAttribute, vtkDataSet *theOutput, TSetAttribute theSetAttribute, vtkIdType theNbPoints, vtkIdType theNbCells)
void CopyDataSetField (vtkDataSet *theInput, const char *theFieldName, vtkDataSet *theOutput, vtkIdType theNbPoints, vtkIdType theNbCells)

Variables

static int MYDEBUG = 0

Typedef Documentation

typedef std::vector<int> TSortedArray [static]
 

typedef std::map<int,int> TId2IdMap [static]
 

typedef std::set<int> TIdSet [static]
 

typedef vtkDataArray*(vtkDataSetAttributes::* TGetAttribute)() [static]
 

typedef int(vtkDataSetAttributes::* TSetAttribute)(vtkDataArray *) [static]
 


Function Documentation

vtkStandardNewMacro VISU_MergeFilter   ) 
 

void @0.GetSortedArray vtkIntArray *  theArray,
TSortedArray theSortedArray
[static]
 

template<class TNumericType>
void @0.DeepCopySwitchOnOutput TNumericType *  theInputPtr,
TNumericType *  theOutputPtr,
const TSortedArray theIntersection,
const TId2IdMap theObj2VTKMap,
vtkIdType  theNbComp
[static]
 

void @0.CopyArray vtkDataArray *  theDataArray,
vtkDataSetAttributes *  theOutput,
TSetAttribute  theSetAttribute,
vtkIdType  theFixedNbTuples
[static]
 

void @0.CopyAttribute vtkDataSetAttributes *  theInput,
TGetAttribute  theGetAttribute,
vtkDataSetAttributes *  theOutput,
TSetAttribute  theSetAttribute,
vtkIdType  theFixedNbTuples
[static]
 

vtkDataArray* @0.DeepCopyArray vtkDataArray *  theDataArray,
vtkDataSetAttributes *  theOutput,
TSetAttribute  theSetAttribute,
const TSortedArray theIntersection,
const TId2IdMap theObj2VTKMap
[static]
 

void @0.DeepCopyAttribute vtkDataSetAttributes *  theInput,
TGetAttribute  theGetAttribute,
vtkDataSetAttributes *  theOutput,
TSetAttribute  theSetAttribute,
const TSortedArray theIntersection,
const TId2IdMap theObj2VTKMap
[static]
 

void @0.DeepCopyDataSetAttribute vtkDataSet *  theInput,
TGetAttribute  theGetAttribute,
vtkDataSet *  theOutput,
TSetAttribute  theSetAttribute,
const TSortedArray theIntersection,
const TId2IdMap theObj2VTKMap
[static]
 

void @0.DeepCopyField vtkDataSetAttributes *  theInput,
const char *  theFieldName,
vtkDataSetAttributes *  theOutput,
const TSortedArray theIntersection,
const TId2IdMap theObj2VTKMap
[static]
 

void @0.CopyField vtkDataSetAttributes *  theInput,
const char *  theFieldName,
vtkDataSetAttributes *  theOutput,
vtkIdType  theFixedNbTuples
[static]
 

void @0.DeepCopyDataSetField vtkDataSet *  theInput,
const char *  theFieldName,
vtkDataSet *  theOutput,
const TSortedArray theIntersection,
const TId2IdMap theObj2VTKMap
[static]
 

void @0.DeepCopyDataSetAttributes VISU_MergeFilter theFilter,
vtkDataSet *  theFilterOutput,
VISU::TFieldList theFieldList,
const TSortedArray theIntersection,
const TId2IdMap theObj2VTKMap
[static]
 

void @0.GetIdsForCopy vtkUnstructuredGrid *  inputUGrid,
vtkIntArray *  inputPointIds,
TSortedArray outputSortedArray
[static]
 

void @0.CopyElementsToOutput vtkUnstructuredGrid *  theInputUG,
int &  theNbElements,
TSortedArray theElementIdsForCopy,
TId2IdMap theOldId2NewIdPointsMap,
vtkUnstructuredGrid *  theOutputUG
[static]
 

void @1.CopyDataSetAttribute vtkDataSet *  theInput,
TGetAttribute  theGetAttribute,
vtkDataSet *  theOutput,
TSetAttribute  theSetAttribute,
vtkIdType  theNbPoints,
vtkIdType  theNbCells
[static]
 

void @1.CopyDataSetField vtkDataSet *  theInput,
const char *  theFieldName,
vtkDataSet *  theOutput,
vtkIdType  theNbPoints,
vtkIdType  theNbCells
[static]
 


Variable Documentation

int MYDEBUG = 0 [static]