Abstract base for selecting how to construct the control points of a volumetric B-Splines morpher. More...
Public Member Functions | |
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... | |
Static Public Member Functions | |
static autoPtr< controlPointsDefinition > | New (NURBS3DVolume &box) |
Return a reference to the selected controlPointsDefinition model. More... | |
Protected Member Functions | |
virtual void | computeControlPoints ()=0 |
Compute control points. More... | |
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... | |
Protected Attributes | |
NURBS3DVolume & | box_ |
The volumetric B-Splines box. More... | |
vectorField & | cps_ |
The volumetric B-Splines control points. More... | |
Abstract base for selecting how to construct the control points of a volumetric B-Splines morpher.
Definition at line 48 of file controlPointsDefinition.H.
controlPointsDefinition | ( | NURBS3DVolume & | box | ) |
Construct from underlaying NURBS box.
Definition at line 94 of file controlPointsDefinition.C.
|
virtualdefault |
Destructor.
|
protectedpure virtual |
Compute control points.
Implemented in transformBox, axisAligned, and fromFile.
Transform control points using the equivalent position, rotation and scale values from the Paraview clip filter.
Definition at line 40 of file controlPointsDefinition.C.
References Foam::cmptMultiply(), Foam::cos(), dict, Foam::constant::mathematical::pi(), R, Foam::Rx(), Foam::Ry(), Foam::Rz(), and Foam::sin().
Referenced by transformBox::computeControlPoints().
TypeName | ( | "controlPointsDefinition" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
controlPointsDefinition | , | ||
dictionary | , | ||
(NURBS3DVolume &box) | , | ||
(box) | |||
) |
|
static |
Return a reference to the selected controlPointsDefinition model.
Definition at line 106 of file controlPointsDefinition.C.
References dict, NURBS3DVolume::dict(), Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::Info.
|
protected |
The volumetric B-Splines box.
Definition at line 57 of file controlPointsDefinition.H.
Referenced by axisAligned::computeControlPoints(), fromFile::computeControlPoints(), and transformBox::computeControlPoints().
|
protected |
The volumetric B-Splines control points.
Definition at line 62 of file controlPointsDefinition.H.
Referenced by axisAligned::computeControlPoints(), fromFile::computeControlPoints(), and transformBox::computeControlPoints().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.