fromFile Class Reference

Reads control points from constant/controlPoints. More...

Inheritance diagram for fromFile:
[legend]
Collaboration diagram for fromFile:
[legend]

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)
 

Additional Inherited Members

- Static Public Member Functions inherited from controlPointsDefinition
static autoPtr< controlPointsDefinitionNew (NURBS3DVolume &box)
 Return a reference to the selected controlPointsDefinition model. More...
 
- Protected Attributes inherited from controlPointsDefinition
NURBS3DVolumebox_
 The volumetric B-Splines box. More...
 
vectorFieldcps_
 The volumetric B-Splines control points. More...
 

Detailed Description

Reads control points from constant/controlPoints.

Source files

Definition at line 52 of file fromFile.H.

Constructor & Destructor Documentation

◆ fromFile()

fromFile ( NURBS3DVolume box)

Construct from components.

Definition at line 86 of file fromFile.C.

References fromFile::computeControlPoints().

Here is the call graph for this function:

◆ ~fromFile()

virtual ~fromFile ( )
virtualdefault

Destructor.

Member Function Documentation

◆ computeControlPoints()

void computeControlPoints ( )
protectedvirtual

Compute control points.

Implements controlPointsDefinition.

Definition at line 51 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(), IOobject::MUST_READ, NURBSbasis::nCPs(), IOobject::NO_WRITE, and dictionary::readEntry().

Referenced by fromFile::fromFile().

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

◆ TypeName()

TypeName ( "fromFile"  )

Runtime type information.


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