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

#include <IgesReader.h>

Public Types

enum  IgesEntries {
  nullEntry =0, circularArc =100, compositeCurve =102, conicArc =104,
  copiusData =106, plane =108, line =110, parametricSplineCurve =112,
  parametricSplineSurface =114, point =116, ruledSurface =118, surfaceOfRevolution =120,
  tabulatedCylinder =122, direction =123, transformationMatrix =124, flash =125,
  rationalBSplineCurve =126, rationalBSplineSurface =128, offsetCurve =130, connectPoint =132,
  node =134, finiteElement =136, nodalDisplacementAndRotation =138, offsetSurface =140,
  boundary =141, curveOnAParametricSurface =142, boundedSurface =143, trimmedSurface =144,
  nodalResults =146, elementResults =148, block =150, rightAngularWedge =152,
  rightCircularCylinder =154, rightCircularConeFrustrum =156, sphere =158, torus =160,
  solidOfRevolution =162, solidOfLinearExtrusion =164, ellipsoid =168, booleanTree =180,
  selectedComponent =182, solidAssembly =184, manifoldSolidB_RepObject =186, planeSurface =190,
  rightCircularCylindricalSurface =192, rightCircularConicalSurface =194, sphericalSurface =196, toroidalSurface =198,
  angularDimension =202, curveDimension =204, diameterDimension =206, flagNote =208,
  generalLabel =210, generalNote =212, newGeneralNote =213, leader =214,
  linearDimension =216, ordinateDimension =218, pointDimension =220, radiusDimension =222,
  generalSymbol =228, sectionedArea =230, associativityDefinition =302, lineFontDefinition =304,
  subfigureDefinition =308, textFontDefinition =310, textDisplayTemplate =312, colorDefinition =314,
  unitsData =316, networkSubfigureDefinition =320, attributeTableDefinition =322, associativeInstance =402,
  drawing =404, property =406, singularSubfigureInstance =408, view =410,
  rectangularArraySubfigureInstance =412, circularArraySubfigureInstance =414, externalReference =416, nodalLoad_Constraint =418,
  networkSubfigureInstance =420, attributeTableInstance =422, solidInstance =430, vertex =502,
  edge =504, loop =508, face =510, shellEntity =514,
  discreteData =5001, parametricSurface =7366
}
 
enum  PositionEnum {
  entityPosition =0, sequenceNumberPosition =1, parameterDataPosition =2, matrixPosition =3,
  formPosition =3, visiblePosition =4, dependentPosition =4
}
 

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 &parameterDataPointer, 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)
 

Member Enumeration Documentation

Enumerator
nullEntry 
circularArc 
compositeCurve 
conicArc 
copiusData 
plane 
line 
parametricSplineCurve 
parametricSplineSurface 
point 
ruledSurface 
surfaceOfRevolution 
tabulatedCylinder 
direction 
transformationMatrix 
flash 
rationalBSplineCurve 
rationalBSplineSurface 
offsetCurve 
connectPoint 
node 
finiteElement 
nodalDisplacementAndRotation 
offsetSurface 
boundary 
curveOnAParametricSurface 
boundedSurface 
trimmedSurface 
nodalResults 
elementResults 
block 
rightAngularWedge 
rightCircularCylinder 
rightCircularConeFrustrum 
sphere 
torus 
solidOfRevolution 
solidOfLinearExtrusion 
ellipsoid 
booleanTree 
selectedComponent 
solidAssembly 
manifoldSolidB_RepObject 
planeSurface 
rightCircularCylindricalSurface 
rightCircularConicalSurface 
sphericalSurface 
toroidalSurface 
angularDimension 
curveDimension 
diameterDimension 
flagNote 
generalLabel 
generalNote 
newGeneralNote 
leader 
linearDimension 
ordinateDimension 
pointDimension 
radiusDimension 
generalSymbol 
sectionedArea 
associativityDefinition 
lineFontDefinition 
subfigureDefinition 
textFontDefinition 
textDisplayTemplate 
colorDefinition 
unitsData 
networkSubfigureDefinition 
attributeTableDefinition 
associativeInstance 
drawing 
property 
singularSubfigureInstance 
view 
rectangularArraySubfigureInstance 
circularArraySubfigureInstance 
externalReference 
nodalLoad_Constraint 
networkSubfigureInstance 
attributeTableInstance 
solidInstance 
vertex 
edge 
loop 
face 
shellEntity 
discreteData 
parametricSurface 
Enumerator
entityPosition 
sequenceNumberPosition 
parameterDataPosition 
matrixPosition 
formPosition 
visiblePosition 
dependentPosition 

Constructor & Destructor Documentation

IgesReader::IgesReader ( )

References fp, NULL, scale, tolerance, and units.

IgesReader::~IgesReader ( )

Member Function Documentation

int IgesReader::entity ( int  item) const
inline
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().

long IgesReader::fieldNumber ( const char *  buff,
int  field 
)
protected

Referenced by processFile().

int IgesReader::formData ( int  item) const
inline
int IgesReader::getData ( RealArray data,
int  max_data 
)

References fp.

Referenced by readData(), and readParameterData().

double IgesReader::getScale ( ) const
inline

References scale.

int IgesReader::getSequenceNumber ( const char *  buff)
protected
double IgesReader::getTolerance ( ) const
inline

References tolerance.

Referenced by MappingsFromCAD::readMappings().

int IgesReader::isIndependent ( int  item) const
inline
int IgesReader::isVisible ( int  item) const
inline
int IgesReader::matrix ( int  item) const
inline
int IgesReader::numberOfEntities ( )
int IgesReader::parameterData ( int  item) const
inline
int IgesReader::processFile ( )
int IgesReader::readData ( const int &  i,
RealArray data,
const int &  numberToRead 
)
int IgesReader::readIgesFile ( const char *  fileName)
int IgesReader::readParameterData ( const int &  parameterDataPointer,
RealArray data,
const int &  numberToRead 
)
int IgesReader::sequenceNumber ( int  item) const
inline
int IgesReader::sequenceToItem ( const int &  sequence)

Member Data Documentation

FILE* IgesReader::fp
long IgesReader::parameterPosition
double IgesReader::scale
double IgesReader::tolerance
int IgesReader::units

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