MCPcopy Create free account
hub / github.com/Kitware/VTK / TransformFunction

Class TransformFunction

Common/DataModel/vtkImplicitFunction.cxx:80–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78};
79
80class TransformFunction
81{
82public:
83 TransformFunction(vtkImplicitFunction* function, vtkAbstractTransform* transform)
84 : Function(function)
85 , Transform(transform)
86 {
87 }
88 double operator()(double in[3])
89 {
90 this->Transform->TransformPoint(in, in);
91 return this->Function->EvaluateFunction(in);
92 }
93
94private:
95 vtkImplicitFunction* Function;
96 vtkAbstractTransform* Transform;
97};
98
99} // end anon namespace
100

Callers 1

FunctionValueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected