Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
controlPointsDefinition Class Referenceabstract

Abstract base for selecting how to construct the control points of a volumetric B-Splines morpher. More...

Inheritance diagram for controlPointsDefinition:
Inheritance graph
[legend]
Collaboration diagram for controlPointsDefinition:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("controlPointsDefinition")
 
 declareRunTimeSelectionTable (autoPtr, controlPointsDefinition, dictionary,(NURBS3DVolume &box),(box))
 
 controlPointsDefinition (NURBS3DVolume &box)
 
virtual ~controlPointsDefinition ()=default
 

Static Public Member Functions

static autoPtr< controlPointsDefinitionNew (NURBS3DVolume &box)
 

Protected Member Functions

virtual void computeControlPoints ()=0
 
void transformControlPoints (const vector &geometryMin, const vector &geometryMax)
 

Protected Attributes

NURBS3DVolumebox_
 
vectorFieldcps_
 

Detailed Description

Abstract base for selecting how to construct the control points of a volumetric B-Splines morpher.

Source files

Definition at line 48 of file controlPointsDefinition.H.

Constructor & Destructor Documentation

◆ controlPointsDefinition()

Definition at line 96 of file controlPointsDefinition.C.

◆ ~controlPointsDefinition()

virtual ~controlPointsDefinition ( )
virtualdefault

Member Function Documentation

◆ computeControlPoints()

virtual void computeControlPoints ( )
protectedpure virtual

Implemented in transformBox, axisAligned, and fromFile.

◆ transformControlPoints()

void transformControlPoints ( const vector geometryMin,
const vector geometryMax 
)
protected

Definition at line 40 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TypeName()

TypeName ( "controlPointsDefinition"  )

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
controlPointsDefinition  ,
dictionary  ,
(NURBS3DVolume &box)  ,
(box)   
)

◆ New()

Definition at line 108 of file controlPointsDefinition.C.

References dict, NURBS3DVolume::dict(), Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::Info.

Here is the call graph for this function:

Member Data Documentation

◆ box_

NURBS3DVolume& box_
protected

◆ cps_

vectorField& cps_
protected

The documentation for this class was generated from the following files: