Reads control points from constant/controlPoints. More...
Public Member Functions | |
TypeName ("fromFile") | |
Runtime type information. More... | |
fromFile (NURBS3DVolume &box) | |
Construct from components. More... | |
virtual | ~fromFile ()=default |
Destructor. More... | |
Public Member Functions inherited from controlPointsDefinition | |
TypeName ("controlPointsDefinition") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, controlPointsDefinition, dictionary,(NURBS3DVolume &box),(box)) | |
controlPointsDefinition (NURBS3DVolume &box) | |
Construct from underlaying NURBS box. More... | |
virtual | ~controlPointsDefinition ()=default |
Destructor. More... | |
Protected Member Functions | |
virtual void | computeControlPoints () |
Compute control points. More... | |
Protected Member Functions inherited from controlPointsDefinition | |
void | transformControlPoints (const vector &geometryMin, const vector &geometryMax) |
Transform control points using the equivalent position, rotation and scale values from the Paraview clip filter. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from controlPointsDefinition | |
static autoPtr< controlPointsDefinition > | New (NURBS3DVolume &box) |
Return a reference to the selected controlPointsDefinition model. More... | |
Protected Attributes inherited from controlPointsDefinition | |
NURBS3DVolume & | box_ |
The volumetric B-Splines box. More... | |
vectorField & | cps_ |
The volumetric B-Splines control points. More... | |
Reads control points from constant/controlPoints.
Definition at line 48 of file fromFile.H.
fromFile | ( | NURBS3DVolume & | box | ) |
Construct from components.
Definition at line 79 of file fromFile.C.
References fromFile::computeControlPoints().
|
virtualdefault |
Destructor.
|
protectedvirtual |
Compute control points.
Implements controlPointsDefinition.
Definition at line 44 of file fromFile.C.
References NURBS3DVolume::basisU(), NURBS3DVolume::basisV(), NURBS3DVolume::basisW(), controlPointsDefinition::box_, controlPointsDefinition::cps_, dict, NURBS3DVolume::dict(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, mesh, NURBS3DVolume::mesh(), IOobjectOption::MUST_READ, NURBSbasis::nCPs(), IOobjectOption::NO_REGISTER, IOobjectOption::NO_WRITE, dictionary::readEntry(), and UList< T >::size().
Referenced by fromFile::fromFile().
TypeName | ( | "fromFile" | ) |
Runtime type information.