11 lines
356 B
C++
11 lines
356 B
C++
#pragma once
|
||
#include <vtkSmartPointer.h>
|
||
#include <vtkLookupTable.h>
|
||
#include "model/ColorScale.hpp"
|
||
namespace geopro::render {
|
||
|
||
// 由 core 阶梯色阶构建 N 级 vtkLookupTable,区间 [vmin, vmax]。
|
||
vtkSmartPointer<vtkLookupTable> buildLut(const geopro::core::ColorScale& cs, double vmin, double vmax, int n = 256);
|
||
|
||
} // namespace geopro::render
|