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) |
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 52 of file controlPointsDefinition.H.
controlPointsDefinition | ( | NURBS3DVolume & | box | ) |
Construct from underlaying NURBS box.
Definition at line 103 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 47 of file controlPointsDefinition.C.
References Foam::cos(), dict, Foam::constant::mathematical::pi(), R, Foam::Rx(), Foam::Ry(), Foam::Rz(), Foam::sin(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
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 115 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 59 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().