TTK
Loading...
Searching...
No Matches
Macros | Functions
ttkBarycentricSubdivision.cpp File Reference
#include <ttkBarycentricSubdivision.h>
#include <ttkMacros.h>
#include <ttkUtils.h>
#include <vtkCellData.h>
#include <vtkInformation.h>
#include <vtkPointData.h>
#include <vtkUnstructuredGrid.h>

Go to the source code of this file.

Macros

#define DISPATCH_INTERPOLATE_DIS(CASE, TYPE)
 
#define DISPATCH_INTERPOLATE_CONT(CASE, TYPE)
 
#define BARYSUBD_TRIANGL_CALLS(DATATYPE, TRIANGL_CASE, TRIANGL_TYPE)
 

Functions

 vtkStandardNewMacro (ttkBarycentricSubdivision)
 

Macro Definition Documentation

◆ BARYSUBD_TRIANGL_CALLS

#define BARYSUBD_TRIANGL_CALLS (   DATATYPE,
  TRIANGL_CASE,
  TRIANGL_TYPE 
)
Value:
case TRIANGL_CASE: { \
const auto inpTri \
= static_cast<TRIANGL_TYPE *>(inputTriangulation.getData()); \
if(inpTri != nullptr) { \
this->interpolateContinuousScalarField<DATATYPE, TRIANGL_TYPE>( \
static_cast<DATATYPE *>(ttkUtils::GetVoidPointer(inputScalarField)), \
static_cast<DATATYPE *>(ttkUtils::GetVoidPointer(outputScalarField)), \
*inpTri); \
} \
break; \
}
static void * GetVoidPointer(vtkDataArray *array, vtkIdType start=0)
Definition ttkUtils.cpp:226

◆ DISPATCH_INTERPOLATE_CONT

#define DISPATCH_INTERPOLATE_CONT (   CASE,
  TYPE 
)
Value:
case CASE: \
switch(inputTriangulation.getType()) { \
BARYSUBD_TRIANGL_CALLS( \
BARYSUBD_TRIANGL_CALLS(TYPE, ttk::Triangulation::Type::IMPLICIT, \
BARYSUBD_TRIANGL_CALLS(TYPE, ttk::Triangulation::Type::HYBRID_IMPLICIT, \
BARYSUBD_TRIANGL_CALLS( \
BARYSUBD_TRIANGL_CALLS(TYPE, ttk::Triangulation::Type::PERIODIC, \
BARYSUBD_TRIANGL_CALLS(TYPE, ttk::Triangulation::Type::HYBRID_PERIODIC, \
} \
break;
CompactTriangulation is a class implemented based on the TopoCluster data structure,...
ExplicitTriangulation is a class that provides time efficient traversal methods on triangulations of ...
Implicit Triangulation class without preconditioning.
Implicit Triangulation class with preconditioning.
Periodic implicit Triangulation class without preconditioning.
Periodic implicit Triangulation class with preconditioning.

◆ DISPATCH_INTERPOLATE_DIS

#define DISPATCH_INTERPOLATE_DIS (   CASE,
  TYPE 
)
Value:
case CASE: \
this->interpolateDiscreteScalarField<TYPE>( \
static_cast<TYPE *>(ttkUtils::GetVoidPointer(inputScalarField)), \
static_cast<TYPE *>(ttkUtils::GetVoidPointer(outputScalarField))); \
break

Function Documentation

◆ vtkStandardNewMacro()

vtkStandardNewMacro ( ttkBarycentricSubdivision  )