Overture  Version 25
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
MappingsFromCAD Class Reference

#include <MappingsFromCAD.h>

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

Public Member Functions

 MappingsFromCAD ()
 
 ~MappingsFromCAD ()
 
int readMappings (MappingInformation &mapInfo, aString fName=nullString, bool chooseAll=FALSE)
 
void fileContents (aString fileName, IgesReader *&iges_, int &numberOfNurbs, int &numberOfFiniteElements, int &numberOfNodes, int &status)
 
CompositeSurfacereadSomeNurbs (MappingInformation &mapInfo, IgesReader *iges_, int startMap, int endMap, int numberOfNurbs, int &status)
 
- Public Member Functions inherited from ReferenceCounting
 ReferenceCounting ()
 
 ReferenceCounting (const ReferenceCounting &x, const CopyType ct=DEEP)
 
virtual ~ReferenceCounting ()
 
virtual ReferenceCountingoperator= (const ReferenceCounting &x)
 
virtual void reference (const ReferenceCounting &x)
 
virtual void breakReference ()
 
virtual ReferenceCountingvirtualConstructor (const CopyType ct=DEEP) const
 
Integer incrementReferenceCount ()
 
Integer decrementReferenceCount ()
 
Integer getReferenceCount () const
 
Logical uncountedReferencesMayExist ()
 
virtual aString getClassName () const
 
Integer getGlobalID () const
 
void setGlobalID (int id)
 
virtual void consistencyCheck () const
 

Static Public Member Functions

static int getTransformationMatrix (const int &item, IgesReader &iges, RealArray &rotation, RealArray &translation)
 

Protected Types

enum  LineTypes { general =0, horizontal, vertical }
 
enum  BoundaryTypes {
  generalBoundary =0, simpleReparameterization, coons13LeftRight, coons13BottomTop,
  coons24LeftRight, coons24BottomTop, coons
}
 

Protected Member Functions

int createCompositeCurve (const int &item, IgesReader &iges, int &maximumNumberOfSubCurves, int &numberOfSubCurves, Mapping **&mapPointer, Mapping *surf, RealArray &surfaceParameterScale, bool scaleTheCurve=true, bool expectPhysicalSpaceCurve=false)
 
int createCurveOnAParametricSurface (const int &item, IgesReader &iges, Mapping *surf, Mapping *&mapPointer, int &maximumNumberOfSubCurves, Mapping **&subCurve, RealArray &surfaceParameterScale)
 
int createIgesReader (GenericGraphicsInterface &gi, aString &fileName, IgesReader *&iges, FILE *&fp, bool useGivenFileName=FALSE)
 
int createSurface (int surface, IgesReader &iges, Mapping *&mapPointer, RealArray &surfaceParameterScale=Overture::nullRealArray())
 
int createTrimmedSurface (const int &item, IgesReader &iges, Mapping *&mapPointer)
 
int isUntrimmedSurface (IgesReader &iges, int item)
 
int readFiniteElements (IgesReader &iges)
 
int readOneCurve (int curve, IgesReader &iges, Mapping *&mapPointer, RealArray &curveParameterScale)
 
int scaleCurve (Mapping &mapping, Mapping &surf, RealArray &surfaceParameterScale)
 
int createBoundaryEntity (const int &item, IgesReader &iges, const int &untrimmedSurfSeq, NurbsMapping *&mapPointer, RealArray &curveParameterScale)
 
int readOneCurveAsNURBS (int curve, IgesReader &iges, NurbsMapping *&mapPointer, RealArray &curveParameterScale)
 
int createBoundedSurface (int entity, IgesReader &iges, Mapping *&mapPointer)
 
int createManifoldSolidBRepObject (int entity, IgesReader &iges, MappingInformation &mapInfo, IntegerArray &mapNumber, int &numberOfMapsCreated, int &visibleItem)
 

Protected Attributes

enum MappingsFromCAD::BoundaryTypes boundaryType
 
IgesReaderigesPointer
 
MappingInformationmapInfoPointer
 
GraphicsParameters params
 
int * lineType
 
realsubCurveBound [2]
 
real curveBound [2][2]
 
int revCount
 
int revCurveCount
 
int axisLineCount
 

Member Enumeration Documentation

Enumerator
generalBoundary 
simpleReparameterization 
coons13LeftRight 
coons13BottomTop 
coons24LeftRight 
coons24BottomTop 
coons 
Enumerator
general 
horizontal 
vertical 

Constructor & Destructor Documentation

MappingsFromCAD::MappingsFromCAD ( )
MappingsFromCAD::~MappingsFromCAD ( )

References lineType, NULL, and subCurveBound.

Member Function Documentation

int MappingsFromCAD::createBoundaryEntity ( const int &  item,
IgesReader iges,
const int &  untrimmedSurfSeq,
NurbsMapping *&  mapPointer,
RealArray curveParameterScale 
)
protected
int MappingsFromCAD::createBoundedSurface ( int  entity,
IgesReader iges,
Mapping *&  mapPointer 
)
protected
int MappingsFromCAD::createCompositeCurve ( const int &  item,
IgesReader iges,
int &  maximumNumberOfSubCurves,
int &  numberOfSubCurves,
Mapping **&  mapPointer,
Mapping surf,
RealArray surfaceParameterScale,
bool  scaleTheCurve = true,
bool  expectPhysicalSpaceCurve = false 
)
protected
int MappingsFromCAD::createCurveOnAParametricSurface ( const int &  item,
IgesReader iges,
Mapping surf,
Mapping *&  mapPointer,
int &  maximumNumberOfSubCurves,
Mapping **&  subCurve,
RealArray surfaceParameterScale 
)
protected
int MappingsFromCAD::createIgesReader ( GenericGraphicsInterface gi,
aString fileName,
IgesReader *&  iges,
FILE *&  fp,
bool  useGivenFileName = FALSE 
)
protected
int MappingsFromCAD::createManifoldSolidBRepObject ( int  entity,
IgesReader iges,
MappingInformation mapInfo,
IntegerArray mapNumber,
int &  numberOfMapsCreated,
int &  visibleItem 
)
protected
int MappingsFromCAD::createSurface ( int  surface,
IgesReader iges,
Mapping *&  mapPointer,
RealArray surfaceParameterScale = Overture::nullRealArray() 
)
protected
int MappingsFromCAD::createTrimmedSurface ( const int &  item,
IgesReader iges,
Mapping *&  mapPointer 
)
protected
void MappingsFromCAD::fileContents ( aString  fileName,
IgesReader *&  iges_,
int &  numberOfNurbs,
int &  numberOfFiniteElements,
int &  numberOfNodes,
int &  status 
)
int MappingsFromCAD::getTransformationMatrix ( const int &  item,
IgesReader iges,
RealArray rotation,
RealArray translation 
)
static
int MappingsFromCAD::isUntrimmedSurface ( IgesReader iges,
int  item 
)
protected
int MappingsFromCAD::readFiniteElements ( IgesReader iges)
protected
int MappingsFromCAD::readMappings ( MappingInformation mapInfo,
aString  fName = nullString,
bool  chooseAll = FALSE 
)

References CompositeSurface::add(), ListOfMappingRC::addElement(), GenericGraphicsInterface::appendToTheDefaultPrompt(), assert, aString, IgesReader::boundary, IgesReader::boundedSurface, GraphicsParameters::colourByGrid, createIgesReader(), createManifoldSolidBRepObject(), createSurface(), Mapping::debug, ReferenceCounting::decrementReferenceCount(), IgesReader::entity(), IgesReader::entityName(), FALSE, IgesReader::finiteElement, GenericGraphicsInterface::getColourName(), getCPU(), ListOfMappingRC::getLength(), GenericGraphicsInterface::getMenuItem(), IgesReader::getTolerance(), GenericGraphicsInterface::getValues(), GI_GRID_LINE_COLOUR_OPTION, GI_LABEL_GRIDS_AND_BOUNDARIES, GI_PLOT_SHADED_MAPPING_BOUNDARIES, GI_PLOT_THE_OBJECT_AND_EXIT, MappingInformation::graphXInterface, ReferenceCounting::incrementReferenceCount(), GenericGraphicsInterface::inputString(), IgesReader::isIndependent(), isUntrimmedSurface(), IgesReader::isVisible(), IgesReader::manifoldSolidB_RepObject, mapInfoPointer, MappingInformation::mappingList, Mapping::mappingName, max(), min(), IgesReader::node, NULL, nullString, IgesReader::numberOfEntities(), params, readFiniteElements(), GraphicsParameters::set(), CompositeSurface::setColour(), Mapping::setName(), CompositeSurface::setTolerance(), sPrintF(), sScanF(), GenericGraphicsInterface::stopReadingCommandFile(), IgesReader::surfaceOfRevolution, IgesReader::tabulatedCylinder, timeToMergeNurbs, timeToMergeNurbsAddSubCurve, timeToMergeNurbsArcLength, timeToMergeNurbsElevateDegree, timeToMergeNurbsOther, IgesReader::transformationMatrix, IgesReader::trimmedSurface, TRUE, GenericGraphicsInterface::unAppendTheDefaultPrompt(), CompositeSurface::update(), and UnstructuredMapping::update().

Referenced by createMappings().

int MappingsFromCAD::readOneCurve ( int  curve,
IgesReader iges,
Mapping *&  mapPointer,
RealArray curveParameterScale 
)
protected
int MappingsFromCAD::readOneCurveAsNURBS ( int  curve,
IgesReader iges,
NurbsMapping *&  mapPointer,
RealArray curveParameterScale 
)
protected
CompositeSurface * MappingsFromCAD::readSomeNurbs ( MappingInformation mapInfo,
IgesReader iges_,
int  startMap,
int  endMap,
int  numberOfNurbs,
int &  status 
)
int MappingsFromCAD::scaleCurve ( Mapping mapping,
Mapping surf,
RealArray surfaceParameterScale 
)
protected

Member Data Documentation

int MappingsFromCAD::axisLineCount
protected

Referenced by createSurface(), and MappingsFromCAD().

enum MappingsFromCAD::BoundaryTypes MappingsFromCAD::boundaryType
protected
real MappingsFromCAD::curveBound[2][2]
protected
IgesReader* MappingsFromCAD::igesPointer
protected

Referenced by MappingsFromCAD().

int* MappingsFromCAD::lineType
protected
MappingInformation* MappingsFromCAD::mapInfoPointer
protected
GraphicsParameters MappingsFromCAD::params
protected
int MappingsFromCAD::revCount
protected

Referenced by createSurface(), and MappingsFromCAD().

int MappingsFromCAD::revCurveCount
protected

Referenced by createSurface(), and MappingsFromCAD().

real* MappingsFromCAD::subCurveBound[2]
protected

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