vtk找不到匹配数据库

img


有人知道这个怎么解决的吗?可以解答一下吗?,需要解决这个问题

  • 你可以参考下这个问题的回答, 看看是否对你有帮助, 链接: https://ask.csdn.net/questions/680163
  • 除此之外, 这篇博客: 【VTK 学习笔记】体绘制中的 颜色传输函数 部分也许能够解决你的问题, 你可以仔细阅读以下内容或跳转源博客中阅读:
  • 颜色传输函数与不透明度传输函数的使用类似,二者的不同之处在于颜色传输函数是将一个标量值映射为一个颜色值。这个颜色值既可以是 RGB 值,也可以是 HSV 值。

    class vtkColorTransferFunction
    AddHSVPoint(...)
     |      V.AddHSVPoint(float, float, float, float) -> int
     |      C++: int AddHSVPoint(double x, double h, double s, double v) #x表示灰度值
     |      V.AddHSVPoint(float, float, float, float, float, float) -> int
     |      C++: int AddHSVPoint(double x, double h, double s, double v,
     |          double midpoint, double sharpness)
     |      
     |  
     |  AddHSVSegment(...)
     |      V.AddHSVSegment(float, float, float, float, float, float, float,
     |          float)
     |      C++: void AddHSVSegment(double x1, double h1, double s1,
     |          double v1, double x2, double h2, double s2, double v2)
     |      
     |      Add two points to the function and remove all the points between
     |      them
     |  
     |  AddRGBPoint(...)
     |      V.AddRGBPoint(float, float, float, float) -> int
     |      C++: int AddRGBPoint(double x, double r, double g, double b)
     |      V.AddRGBPoint(float, float, float, float, float, float) -> int
     |      C++: int AddRGBPoint(double x, double r, double g, double b,
     |          double midpoint, double sharpness)
     |  
     |  AddRGBSegment(...)
     |      V.AddRGBSegment(float, float, float, float, float, float, float,
     |          float)
     |      C++: void AddRGBSegment(double x1, double r1, double g1,
     |          double b1, double x2, double r2, double g2, double b2)
     |      
     |      Add two points to the function and remove all the points between
     |      them
    
     |  SetColor(...)
     |      V.SetColor(int, vtkPiecewiseFunction)
     |      C++: void SetColor(int index, vtkPiecewiseFunction *function)
     |      V.SetColor(vtkPiecewiseFunction)
     |      C++: void SetColor(vtkPiecewiseFunction *function)
     |      V.SetColor(int, vtkColorTransferFunction)
     |      C++: void SetColor(int index, vtkColorTransferFunction *function)
     |      V.SetColor(vtkColorTransferFunction)
     |      C++: void SetColor(vtkColorTransferFunction *function)
     |      
     |      Set the color of a volume to a gray level transfer function for
     |      the component indicated by index. This will set the color
     |      channels for this component to 1.