Overture
Version 25
|
#include <IgesReader.h>
Public Member Functions | |
double | getTolerance () const |
double | getScale () const |
int | entity (int item) const |
int | sequenceNumber (int item) const |
int | parameterData (int item) const |
int | matrix (int item) const |
int | isVisible (int item) const |
int | isIndependent (int item) const |
int | formData (int item) const |
IgesReader () | |
~IgesReader () | |
int | readIgesFile (const char *fileName) |
int | readData (const int &i, RealArray &data, const int &numberToRead) |
int | readParameterData (const int ¶meterDataPointer, RealArray &data, const int &numberToRead) |
int | numberOfEntities () |
int | processFile () |
int | getData (RealArray &data, int max_data) |
aString | entityName (const int &entity) |
int | sequenceToItem (const int &sequence) |
Public Attributes | |
double | scale |
double | tolerance |
int | units |
FILE * | fp |
long | parameterPosition |
Protected Member Functions | |
long | fieldNumber (const char *buff, int field) |
int | getSequenceNumber (const char *buff) |
IgesReader::~IgesReader | ( | ) |
|
inline |
References entityPosition.
Referenced by MappingsFromCAD::createBoundedSurface(), MappingsFromCAD::createCompositeCurve(), MappingsFromCAD::createCurveOnAParametricSurface(), MappingsFromCAD::createManifoldSolidBRepObject(), MappingsFromCAD::createSurface(), createSurfaceForAFace(), MappingsFromCAD::createTrimmedSurface(), MappingsFromCAD::fileContents(), MappingsFromCAD::getTransformationMatrix(), MappingsFromCAD::isUntrimmedSurface(), MappingsFromCAD::readFiniteElements(), NurbsMapping::readFromIgesFile(), MappingsFromCAD::readMappings(), MappingsFromCAD::readOneCurve(), MappingsFromCAD::readOneCurveAsNURBS(), and MappingsFromCAD::readSomeNurbs().
aString IgesReader::entityName | ( | const int & | entity | ) |
References angularDimension, associativeInstance, associativityDefinition, attributeTableDefinition, attributeTableInstance, block, booleanTree, boundary, boundedSurface, circularArc, circularArraySubfigureInstance, colorDefinition, compositeCurve, conicArc, connectPoint, copiusData, curveDimension, curveOnAParametricSurface, diameterDimension, direction, discreteData, drawing, edge, elementResults, ellipsoid, externalReference, face, finiteElement, flagNote, flash, generalLabel, generalNote, generalSymbol, leader, line, linearDimension, lineFontDefinition, loop, manifoldSolidB_RepObject, networkSubfigureDefinition, networkSubfigureInstance, newGeneralNote, nodalDisplacementAndRotation, nodalLoad_Constraint, nodalResults, node, nullEntry, offsetCurve, offsetSurface, ordinateDimension, parametricSplineCurve, parametricSplineSurface, parametricSurface, plane, planeSurface, point, pointDimension, radiusDimension, rationalBSplineCurve, rationalBSplineSurface, rectangularArraySubfigureInstance, rightAngularWedge, rightCircularConeFrustrum, rightCircularConicalSurface, rightCircularCylinder, rightCircularCylindricalSurface, ruledSurface, sectionedArea, selectedComponent, singularSubfigureInstance, solidAssembly, solidInstance, solidOfLinearExtrusion, solidOfRevolution, sphere, sphericalSurface, subfigureDefinition, surfaceOfRevolution, tabulatedCylinder, textDisplayTemplate, textFontDefinition, toroidalSurface, torus, transformationMatrix, trimmedSurface, unitsData, vertex, and view.
Referenced by MappingsFromCAD::createBoundedSurface(), MappingsFromCAD::createCompositeCurve(), MappingsFromCAD::createCurveOnAParametricSurface(), MappingsFromCAD::createManifoldSolidBRepObject(), MappingsFromCAD::createSurface(), createSurfaceForAFace(), MappingsFromCAD::createTrimmedSurface(), processFile(), MappingsFromCAD::readMappings(), and MappingsFromCAD::readSomeNurbs().
|
protected |
Referenced by processFile().
|
inline |
int IgesReader::getData | ( | RealArray & | data, |
int | max_data | ||
) |
References fp.
Referenced by readData(), and readParameterData().
|
inline |
References scale.
|
protected |
|
inline |
References tolerance.
Referenced by MappingsFromCAD::readMappings().
|
inline |
References dependentPosition.
Referenced by MappingsFromCAD::fileContents(), MappingsFromCAD::readMappings(), and MappingsFromCAD::readSomeNurbs().
|
inline |
References visiblePosition.
Referenced by MappingsFromCAD::fileContents(), MappingsFromCAD::readMappings(), and MappingsFromCAD::readSomeNurbs().
|
inline |
int IgesReader::numberOfEntities | ( | ) |
|
inline |
References parameterDataPosition.
Referenced by MappingsFromCAD::readFiniteElements().
int IgesReader::processFile | ( | ) |
References assert, boundary, boundedSurface, circularArc, compositeCurve, conicArc, copiusData, curveOnAParametricSurface, Mapping::debug, direction, edge, entityName(), face, fieldNumber(), finiteElement, fp, line, loop, manifoldSolidB_RepObject, node, NULL, parameterPosition, parametricSplineCurve, parametricSplineSurface, planeSurface, point, rationalBSplineCurve, rationalBSplineSurface, rightCircularConicalSurface, rightCircularCylindricalSurface, scale, shellEntity, singularSubfigureInstance, sphericalSurface, subfigureDefinition, surfaceOfRevolution, tabulatedCylinder, tolerance, toroidalSurface, transformationMatrix, trimmedSurface, TRUE, units, vertex, and visiblePosition.
Referenced by readIgesFile().
int IgesReader::readData | ( | const int & | i, |
RealArray & | data, | ||
const int & | numberToRead | ||
) |
References fp, getData(), and parameterPosition.
Referenced by MappingsFromCAD::createBoundaryEntity(), MappingsFromCAD::createBoundedSurface(), MappingsFromCAD::createCompositeCurve(), MappingsFromCAD::createCurveOnAParametricSurface(), MappingsFromCAD::createManifoldSolidBRepObject(), MappingsFromCAD::createSurface(), createSurfaceForAFace(), MappingsFromCAD::createTrimmedSurface(), MappingsFromCAD::getTransformationMatrix(), MappingsFromCAD::readFiniteElements(), NurbsMapping::readFromIgesFile(), MappingsFromCAD::readOneCurve(), MappingsFromCAD::readOneCurveAsNURBS(), and MappingsFromCAD::readSomeNurbs().
int IgesReader::readIgesFile | ( | const char * | fileName | ) |
References fp, NULL, processFile(), scale, tolerance, and units.
Referenced by MappingsFromCAD::createIgesReader(), and MappingsFromCAD::fileContents().
int IgesReader::readParameterData | ( | const int & | parameterDataPointer, |
RealArray & | data, | ||
const int & | numberToRead | ||
) |
References fp, getData(), and parameterPosition.
Referenced by MappingsFromCAD::readFiniteElements().
|
inline |
References sequenceNumberPosition.
Referenced by MappingsFromCAD::readFiniteElements().
int IgesReader::sequenceToItem | ( | const int & | sequence | ) |
References dim, and ENTITY_INFO.
Referenced by MappingsFromCAD::createBoundaryEntity(), MappingsFromCAD::createBoundedSurface(), MappingsFromCAD::createCompositeCurve(), MappingsFromCAD::createCurveOnAParametricSurface(), MappingsFromCAD::createManifoldSolidBRepObject(), MappingsFromCAD::createSurface(), createSurfaceForAFace(), MappingsFromCAD::createTrimmedSurface(), NurbsMapping::readFromIgesFile(), MappingsFromCAD::readOneCurve(), and MappingsFromCAD::readSomeNurbs().
FILE* IgesReader::fp |
long IgesReader::parameterPosition |
Referenced by processFile(), readData(), and readParameterData().
double IgesReader::scale |
Referenced by getScale(), IgesReader(), processFile(), and readIgesFile().
double IgesReader::tolerance |
Referenced by getTolerance(), IgesReader(), processFile(), and readIgesFile().
int IgesReader::units |
Referenced by IgesReader(), processFile(), and readIgesFile().