Overture
Version 25
|
#include <SmoothedPolygon.h>
Protected Member Functions | |
void | setDefaultValues () |
void | initialize () |
void | assignAdoptions () |
int | correctPolygonForCorners () |
Protected Member Functions inherited from Mapping | |
int | buildMappingParametersDialog (DialogData &dialog) |
int | getMappingParametersOption (const aString &answer, DialogData &dialog, GenericGraphicsInterface &gi) |
: Look for a change to one of the mapping parameters. | |
int | updateMappingParametersDialog (DialogData &dialog) |
void | initializePartition () |
int | mappingHasChanged () |
void | setGridIsValid () |
void | setDefaultMappingBounds (const mappingSpace ms, Bound mappingBound[3][2]) |
void | setDefaultCoordinateSystemBounds (const coordinateSystem cs, Bound csBound[3][2]) |
int | validSide (const int side) const |
int | validAxis (const int axis) const |
void | mappingError (const aString &subName, const int side, const int axis) const |
SmoothedPolygon::SmoothedPolygon | ( | ) |
References FALSE, Mapping::mappingHasChanged(), Mapping::mappingName, setDefaultValues(), Mapping::setGridDimensions(), and Mapping::setName().
Referenced by make().
SmoothedPolygon::SmoothedPolygon | ( | const SmoothedPolygon & | map, |
const CopyType | copyType = DEEP |
||
) |
SmoothedPolygon::~SmoothedPolygon | ( | ) |
References Mapping::debug, and printF().
|
protected |
Referenced by get(), initialize(), and operator=().
|
protected |
References axis1, axis2, map(), Mapping::mappingHasChanged(), r, SQR, and x.
Referenced by setPolygon(), and update().
|
virtual |
Reimplemented from Mapping.
References assignAdoptions(), Mapping::debug, GenericDataBase::find(), GenericDataBase::get(), Mapping::get(), Mapping::mappingHasChanged(), printF(), and GenericDataBase::virtualConstructor().
|
inlinevirtual |
Reimplemented from Mapping.
Referenced by operator=().
|
protected |
References assignAdoptions(), axis1, CPINIT, CPRSI, Mapping::getGridDimensions(), Mapping::getIsPeriodic(), Mapping::mappingHasChanged(), max(), and printF().
Referenced by map(), mapS(), setPolygon(), and update().
Reimplemented from Mapping.
References NULL, and SmoothedPolygon().
|
virtual |
Reimplemented from Mapping.
References axis1, axis2, axis3, Mapping::base, Mapping::bound, Mapping::cartesian, Mapping::computeMap, Mapping::computeMapDerivative, MappingParameters::coordinateType, D, Mapping::domainDimension, dx, fabs(), fmod(), Mapping::functionPeriodic, Mapping::getIndex(), Mapping::getIsPeriodic(), initialize(), max(), min(), r, r_, Mapping::rangeDimension, REAL_MAX, SQRT, STRT, STTR, x, and xr.
Referenced by correctPolygonForCorners(), SmoothedPolygon(), and update().
|
virtual |
Reimplemented from Mapping.
References axis1, axis2, axis3, Mapping::base, Mapping::bound, Mapping::cartesian, Mapping::computeMap, Mapping::computeMapDerivative, MappingParameters::coordinateType, D, Mapping::domainDimension, dx, fabs(), fmod(), Mapping::functionPeriodic, Mapping::getIndex(), Mapping::getIsPeriodic(), initialize(), max(), min(), r, Mapping::rangeDimension, REAL_MAX, SQRT, STRT, and STTR.
SmoothedPolygon & SmoothedPolygon::operator= | ( | const SmoothedPolygon & | X | ) |
References assignAdoptions(), Mapping::debug, getClassName(), Mapping::operator=(), and printF().
|
virtual |
Reimplemented from Mapping.
References GenericDataBase::create(), GenericDataBase::put(), Mapping::put(), and GenericDataBase::virtualConstructor().
|
protected |
References axis1, End, FALSE, Mapping::functionPeriodic, Mapping::getGridDimensions(), Mapping::getIsPeriodic(), Mapping::setBoundaryCondition(), Mapping::setGridDimensions(), Mapping::setIsPeriodic(), and Start.
Referenced by SmoothedPolygon().
int SmoothedPolygon::setPolygon | ( | const RealArray & | xv, |
const RealArray & | sharpness = Overture::nullRealArray() , |
||
const real | normalDist = 0. , |
||
const RealArray & | variableNormalDist = Overture::nullRealArray() , |
||
const RealArray & | tStretch = Overture::nullRealArray() , |
||
const RealArray & | rStretch = Overture::nullRealArray() , |
||
const bool | correctForCorners = false |
||
) |
References axis1, correctPolygonForCorners(), End, Mapping::functionPeriodic, Mapping::getGridDimensions(), Mapping::getIsPeriodic(), initialize(), Mapping::mappingHasChanged(), max(), min(), Mapping::notPeriodic, REAL_EPSILON, Mapping::setBoundaryCondition(), Mapping::setGridDimensions(), Mapping::setIsPeriodic(), SQR, SQRT, and Start.
Referenced by UserDefinedMapping1::bladeSetup(), LoftedSurfaceMapping::profileSetup(), and LoftedSurfaceMapping::sectionSetup().
|
virtual |
Reimplemented from Mapping.
References GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, axis1, axis2, MappingInformation::command, MappingInformation::commandOption, correctPolygonForCorners(), Mapping::display(), Mapping::domainDimension, End, GenericGraphicsInterface::erase(), FALSE, Mapping::functionPeriodic, Mapping::getGridDimensions(), Mapping::getIsPeriodic(), GenericGraphicsInterface::getMenuItem(), Mapping::getName(), GI_PLOT_THE_OBJECT_AND_EXIT, GI_TOP_LABEL, MappingInformation::graphXInterface, i2, initialize(), GenericGraphicsInterface::inputString(), MappingInformation::interactive, map(), Mapping::mappingHasChanged(), Mapping::mappingName, max(), min(), Mapping::notPeriodic, NULL, GenericGraphicsInterface::outputString(), PlotIt::plot(), printF(), r, Mapping::rangeDimension, MappingInformation::readOneCommand, REAL_EPSILON, GraphicsParameters::set(), Mapping::setBoundaryCondition(), Mapping::setDomainDimension(), Mapping::setGridDimensions(), Mapping::setIsPeriodic(), sPrintF(), SQR, SQRT, sScanF(), Start, GenericGraphicsInterface::stopReadingCommandFile(), TRUE, GenericGraphicsInterface::unAppendTheDefaultPrompt(), Mapping::update(), and x.
Referenced by UserDefinedMapping1::bladeSetup(), LoftedSurfaceMapping::profileSetup(), and LoftedSurfaceMapping::sectionSetup().