Overture
Version 25
|
#include <FaceInfo.h>
Public Types | |
enum | EdgeCurveStatusEnum { edgeCurveIsBoundary =0, edgeCurveIsMaster, edgeCurveIsSlave, edgeCurveIsNotUsed } |
Public Member Functions | |
EdgeInfo () | |
EdgeInfo (CurveSegment *newCurve, int l, int f, int o, int e) | |
~EdgeInfo () | |
int | getStartPoint () |
int | getEndPoint () |
bool | setStartPoint (int np, realArray &endPoint, real mergeTolerance, int firstEdgeNumber, EdgeInfoArray &masterEdge, EdgeInfoArray &unusedEdges) |
bool | setEndPoint (int np, realArray &endPoint, real mergeTolerance, int firstEdgeNumber, EdgeInfoArray &masterEdge, EdgeInfoArray &unusedEdges) |
bool | adjustOneSegmentEndPoints (realArray &endPoint, real mergeTolerance) |
void | eraseEdge () |
int | masterEdgeNumber () |
void | setUnused (EdgeInfoArray &unusedEdges) |
int | put (GenericDataBase &dir, const aString &name) |
int | get (GenericDataBase &dir, const aString &name, CurveSegment *allCurveSegments[]) |
void | assignPointers (EdgeInfo *allEdgeInfos[]) |
Public Attributes | |
EdgeInfo * | next |
EdgeInfo * | prev |
EdgeInfo * | slave |
EdgeInfo * | master |
Loop * | loopy |
int | orientation |
int | loopNumber |
int | faceNumber |
int | edgeNumber |
int | dList |
int | startLastChangedBy |
int | endLastChangedBy |
CurveSegment * | curve |
CurveSegment * | initialCurve |
enum EdgeInfo::EdgeCurveStatusEnum | status |
EdgeInfo::EdgeInfo | ( | ) |
References curve, dList, edgeCurveIsBoundary, edgeNumber, endLastChangedBy, faceNumber, initialCurve, loopNumber, loopy, master, next, NULL, orientation, prev, slave, startLastChangedBy, and status.
EdgeInfo::EdgeInfo | ( | CurveSegment * | newCurve, |
int | l, | ||
int | f, | ||
int | o, | ||
int | e | ||
) |
References curve, dList, edgeCurveIsBoundary, edgeNumber, endLastChangedBy, faceNumber, initialCurve, loopNumber, loopy, master, next, NULL, orientation, prev, slave, startLastChangedBy, status, and CurveSegment::usage.
EdgeInfo::~EdgeInfo | ( | ) |
References assert, curve, initialCurve, and CurveSegment::usage.
References curve, CurveSegment::endingPoint, eraseEdge(), CurveSegment::getNURBS(), NurbsMapping::moveEndpoint(), CurveSegment::newEndPoint, CurveSegment::newStartPoint, q, SQR, and CurveSegment::startingPoint.
Referenced by setEndPoint(), and setStartPoint().
void EdgeInfo::assignPointers | ( | EdgeInfo * | allEdgeInfos[] | ) |
void EdgeInfo::eraseEdge | ( | ) |
References GenericGraphicsInterface::deleteList(), dList, Overture::getGraphicsInterface(), master, and slave.
Referenced by adjustOneSegmentEndPoints(), CompositeTopology::mergeTwoEdges(), setUnused(), and CompositeTopology::unMergeEdge().
int EdgeInfo::get | ( | GenericDataBase & | dir, |
const aString & | name, | ||
CurveSegment * | allCurveSegments[] | ||
) |
References curve, edgeNumber, endLastChangedBy, faceNumber, GenericDataBase::find(), GenericDataBase::get(), initialCurve, loopNumber, NULL, orientation, startLastChangedBy, status, and GenericDataBase::virtualConstructor().
Referenced by CompositeTopology::get().
int EdgeInfo::getEndPoint | ( | ) |
References curve, CurveSegment::endingPoint, CurveSegment::newEndPoint, CurveSegment::newStartPoint, orientation, and CurveSegment::startingPoint.
Referenced by CompositeTopology::checkConsistency(), CompositeTopology::joinEdgeCurves(), CompositeTopology::merge(), CompositeTopology::mergeEdgeCurves(), CompositeTopology::mergeTwoEdges(), CompositeTopology::splitAndMergeEdgeCurves(), CompositeTopology::splitEdge(), and CompositeTopology::unMergeEdge().
int EdgeInfo::getStartPoint | ( | ) |
References curve, CurveSegment::endingPoint, CurveSegment::newEndPoint, CurveSegment::newStartPoint, orientation, and CurveSegment::startingPoint.
Referenced by Loop::addEdge(), CompositeTopology::checkConsistency(), CompositeTopology::joinEdgeCurves(), CompositeTopology::merge(), CompositeTopology::mergeEdgeCurves(), CompositeTopology::mergeTwoEdges(), CompositeTopology::splitAndMergeEdgeCurves(), CompositeTopology::splitEdge(), and CompositeTopology::unMergeEdge().
int EdgeInfo::masterEdgeNumber | ( | ) |
References edgeNumber, master, and NULL.
Referenced by CompositeTopology::buildSubSurfaceTriangulation().
int EdgeInfo::put | ( | GenericDataBase & | dir, |
const aString & | name | ||
) |
References GenericDataBase::create(), curve, edgeNumber, endLastChangedBy, faceNumber, CurveSegment::getCurveNumber(), initialCurve, loopNumber, master, next, orientation, prev, GenericDataBase::put(), slave, startLastChangedBy, status, and GenericDataBase::virtualConstructor().
Referenced by CompositeTopology::put().
bool EdgeInfo::setEndPoint | ( | int | np, |
realArray & | endPoint, | ||
real | mergeTolerance, | ||
int | firstEdgeNumber, | ||
EdgeInfoArray & | masterEdge, | ||
EdgeInfoArray & | unusedEdges | ||
) |
References adjustOneSegmentEndPoints(), EdgeInfoArray::array, curve, edgeCurveIsBoundary, edgeNumber, CurveSegment::endingPoint, endLastChangedBy, loopy, master, CurveSegment::newEndPoint, CurveSegment::newStartPoint, next, orientation, prev, Loop::removeEdge(), setEndPoint(), setStartPoint(), setUnused(), slave, CurveSegment::startingPoint, and status.
Referenced by CompositeTopology::mergeTwoEdges(), setEndPoint(), setStartPoint(), and CompositeTopology::unMergeEdge().
bool EdgeInfo::setStartPoint | ( | int | np, |
realArray & | endPoint, | ||
real | mergeTolerance, | ||
int | firstEdgeNumber, | ||
EdgeInfoArray & | masterEdge, | ||
EdgeInfoArray & | unusedEdges | ||
) |
References adjustOneSegmentEndPoints(), EdgeInfoArray::array, curve, edgeCurveIsBoundary, edgeNumber, CurveSegment::endingPoint, loopy, master, CurveSegment::newEndPoint, CurveSegment::newStartPoint, next, orientation, prev, Loop::removeEdge(), setEndPoint(), setStartPoint(), setUnused(), slave, CurveSegment::startingPoint, startLastChangedBy, and status.
Referenced by setEndPoint(), setStartPoint(), and CompositeTopology::unMergeEdge().
void EdgeInfo::setUnused | ( | EdgeInfoArray & | unusedEdges | ) |
References curve, ReferenceCounting::decrementReferenceCount(), edgeCurveIsNotUsed, eraseEdge(), if(), NULL, EdgeInfoArray::push(), status, CurveSegment::subCurve, and CurveSegment::surfaceLoop.
Referenced by CompositeTopology::joinEdgeCurves(), setEndPoint(), setStartPoint(), and CompositeTopology::splitEdge().
CurveSegment* EdgeInfo::curve |
Referenced by Loop::addEdge(), adjustOneSegmentEndPoints(), Loop::assignEndPointNumbers(), CompositeTopology::buildEdgeCurveBoundaryNodes(), CompositeTopology::buildEdgeCurves(), CompositeTopology::buildSubSurfaceTriangulation(), CompositeTopology::checkConsistency(), EdgeInfo(), get(), CompositeTopology::getEdgeCurve(), CompositeTopology::getEdgeFromEndPoints(), getEndPoint(), CompositeTopology::getNearestEdge(), getStartPoint(), CompositeTopology::joinEdgeCurves(), CompositeTopology::merge(), CompositeTopology::mergeEdgeCurves(), CompositeTopology::mergeTwoEdges(), CompositeTopology::put(), put(), setEndPoint(), setStartPoint(), setUnused(), CompositeTopology::splitEdge(), CompositeTopology::unMergeEdge(), and ~EdgeInfo().
int EdgeInfo::dList |
Referenced by EdgeInfo(), and eraseEdge().
int EdgeInfo::edgeNumber |
Referenced by CompositeTopology::buildEdgeCurves(), CompositeTopology::buildSubSurfaceTriangulation(), CompositeTopology::checkConsistency(), EdgeInfo(), get(), CompositeTopology::joinEdgeCurves(), masterEdgeNumber(), CompositeTopology::merge(), CompositeTopology::mergeEdgeCurves(), CompositeTopology::mergeTwoEdges(), CompositeTopology::put(), put(), Loop::put(), setEndPoint(), setStartPoint(), CompositeTopology::splitAndMergeEdgeCurves(), CompositeTopology::splitEdge(), CompositeTopology::unMergeEdge(), CompositeTopology::update(), and Loop::~Loop().
int EdgeInfo::endLastChangedBy |
Referenced by EdgeInfo(), get(), put(), and setEndPoint().
int EdgeInfo::faceNumber |
Referenced by CompositeTopology::buildEdgeCurves(), CompositeTopology::buildSubSurfaceTriangulation(), EdgeInfo(), get(), CompositeTopology::joinEdgeCurves(), CompositeTopology::merge(), CompositeTopology::mergeEdgeCurves(), CompositeTopology::mergeTwoEdges(), put(), CompositeTopology::splitAndMergeEdgeCurves(), and CompositeTopology::splitEdge().
CurveSegment * EdgeInfo::initialCurve |
int EdgeInfo::loopNumber |
Loop* EdgeInfo::loopy |
EdgeInfo * EdgeInfo::master |
EdgeInfo* EdgeInfo::next |
Referenced by Loop::addEdge(), CompositeTopology::adjustEndPoints(), Loop::assignEndPointNumbers(), assignPointers(), CompositeTopology::buildEdgeCurveBoundaryNodes(), CompositeTopology::buildEdgeCurves(), CompositeTopology::buildEdgeCurveSearchTree(), CompositeTopology::buildSubSurfaceTriangulation(), CompositeTopology::checkConsistency(), CompositeTopology::edgeFromNumber(), EdgeInfo(), Loop::edgeInLoop(), CompositeTopology::findBoundaryCurves(), Loop::get(), CompositeTopology::getAnotherEdge(), Loop::insertEdge(), CompositeTopology::joinEdgeCurves(), CompositeTopology::mergeTwoEdges(), Loop::numberOfEdges(), CompositeTopology::printEdgeCurveInfo(), put(), Loop::removeEdge(), Loop::replaceEdge(), setEndPoint(), setStartPoint(), CompositeTopology::setupAllEdges(), CompositeTopology::splitAndMergeEdgeCurves(), CompositeTopology::unMergeEdge(), CompositeTopology::update(), and Loop::~Loop().
int EdgeInfo::orientation |
Referenced by CompositeTopology::buildSubSurfaceTriangulation(), EdgeInfo(), get(), getEndPoint(), getStartPoint(), CompositeTopology::joinEdgeCurves(), CompositeTopology::mergeTwoEdges(), put(), setEndPoint(), setStartPoint(), CompositeTopology::splitEdge(), CompositeTopology::unMergeEdge(), and CompositeTopology::update().
EdgeInfo * EdgeInfo::prev |
Referenced by Loop::addEdge(), assignPointers(), CompositeTopology::buildEdgeCurves(), CompositeTopology::checkConsistency(), EdgeInfo(), Loop::insertEdge(), CompositeTopology::joinEdgeCurves(), CompositeTopology::mergeTwoEdges(), put(), Loop::removeEdge(), Loop::replaceEdge(), setEndPoint(), setStartPoint(), and CompositeTopology::unMergeEdge().
EdgeInfo * EdgeInfo::slave |
int EdgeInfo::startLastChangedBy |
Referenced by EdgeInfo(), get(), put(), and setStartPoint().
enum EdgeInfo::EdgeCurveStatusEnum EdgeInfo::status |
Referenced by EdgeInfo(), get(), CompositeTopology::getNearestEdge(), CompositeTopology::joinEdgeCurves(), CompositeTopology::merge(), CompositeTopology::mergeEdgeCurves(), CompositeTopology::mergeTwoEdges(), put(), setEndPoint(), setStartPoint(), setUnused(), CompositeTopology::splitAndMergeEdgeCurves(), CompositeTopology::splitEdge(), CompositeTopology::unMergeEdge(), CompositeTopology::update(), and Loop::~Loop().