int OperatorSize
The number of coordinates each operator-function evaluates to.
OperatorFunction Op
A function you may call to evaluate the operator.
std::string ShaderOp
A string holding the source code to evaluate all the basis functions.
int NumberOfFunctions
The number of functions in the basis.
std::function< void(const std::array< double, 3 >, std::vector< double > &)> OperatorFunction
vtkDGOperatorEntry()=default
vtkDGOperatorEntry(const vtkDGOperatorEntry &)=default
std::string GetShaderString(const std::string &functionName, const std::string ¶meterName) const
Return a glsl string that defines this operator.
vtkDGOperatorEntry(int numFunc, int opSize, OperatorFunction op, const std::string &shader)