TTK
Loading...
Searching...
No Matches
Functions
ttkCinemaDarkroomColorMapping.cpp File Reference
#include "BaseClass.h"
#include <ttkCinemaDarkroomColorMapping.h>
#include <vtkImageData.h>
#include <vtkInformation.h>
#include <vtkObjectFactory.h>
#include <vtkPointData.h>
#include <vtkUnsignedCharArray.h>
#include <ttkMacros.h>
#include <ttkUtils.h>
#include <cmath>

Go to the source code of this file.

Functions

 vtkStandardNewMacro (ttkCinemaDarkroomColorMapping)
 
template<typename DT >
int mapScalarsToColor (unsigned char *color, const std::vector< double > &colorMap, const double *nanColor, const DT *array, const double range[2], const size_t nPixels, const int threadNumber)
 

Function Documentation

◆ mapScalarsToColor()

template<typename DT >
int mapScalarsToColor ( unsigned char *  color,
const std::vector< double > &  colorMap,
const double *  nanColor,
const DT *  array,
const double  range[2],
const size_t  nPixels,
const int  threadNumber 
)

Definition at line 27 of file ttkCinemaDarkroomColorMapping.cpp.

◆ vtkStandardNewMacro()

vtkStandardNewMacro ( ttkCinemaDarkroomColorMapping  )