Loading...
Searching...
No Matches
controlPointsDefinition Class Referenceabstract

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

#include <controlPointsDefinition.H>

Inheritance diagram for controlPointsDefinition:
Collaboration diagram for controlPointsDefinition:

Public Member Functions

 TypeName ("controlPointsDefinition")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, controlPointsDefinition, dictionary,(NURBS3DVolume &box),(box))
 controlPointsDefinition (NURBS3DVolume &box)
 Construct from underlaying NURBS box.
virtual ~controlPointsDefinition ()=default
 Destructor.

Static Public Member Functions

static autoPtr< controlPointsDefinition > New (NURBS3DVolume &box)
 Return a reference to the selected controlPointsDefinition model.

Protected Member Functions

virtual void computeControlPoints ()=0
 Compute control points.
void transformControlPoints (const vector &geometryMin, const vector &geometryMax)
 Transform control points using the equivalent position, rotation and scale values from the Paraview clip filter.

Protected Attributes

NURBS3DVolumebox_
 The volumetric B-Splines box.
vectorFieldcps_
 The volumetric B-Splines control points.

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()

controlPointsDefinition ( NURBS3DVolume & box)

Construct from underlaying NURBS box.

Definition at line 93 of file controlPointsDefinition.C.

References box_, and cps_.

◆ ~controlPointsDefinition()

virtual ~controlPointsDefinition ( )
virtualdefault

Destructor.

Member Function Documentation

◆ computeControlPoints()

virtual void computeControlPoints ( )
protectedpure virtual

Compute control points.

Implemented in axisAligned, fromFile, and transformBox.

◆ transformControlPoints()

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

Transform control points using the equivalent position, rotation and scale values from the Paraview clip filter.

Definition at line 39 of file controlPointsDefinition.C.

References box_, Foam::cmptMultiply(), Foam::cos(), cps_, 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" )

Runtime type information.

◆ declareRunTimeSelectionTable()

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

◆ New()

Return a reference to the selected controlPointsDefinition model.

Definition at line 105 of file controlPointsDefinition.C.

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

Here is the call graph for this function:

Member Data Documentation

◆ box_

◆ cps_


The documentation for this class was generated from the following files:
  • src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DVolume/controlPointsDefinition/controlPointsDefinition/controlPointsDefinition.H
  • src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DVolume/controlPointsDefinition/controlPointsDefinition/controlPointsDefinition.C