Changeset 6bd7e0 for src/Tesselation/tesselation.hpp
- Timestamp:
- Jan 2, 2012, 1:34:28 PM (13 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
- Children:
- d78531
- Parents:
- f55ae5
- git-author:
- Frederik Heber <heber@…> (12/19/11 16:46:11)
- git-committer:
- Frederik Heber <heber@…> (01/02/12 13:34:28)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Tesselation/tesselation.hpp
rf55ae5 r6bd7e0 40 40 class CandidateForTesselation; 41 41 class IPointCloud; 42 class LinkedCell ;42 class LinkedCell_deprecated; 43 43 class Plane; 44 44 class Tesselation; … … 78 78 void AddTesselationTriangle(const int nr); 79 79 void AddCandidateTriangle(CandidateForTesselation &CandidateLine, enum centers type); 80 void AddDegeneratedTriangle(CandidateForTesselation &CandidateLine, const double RADIUS, const LinkedCell *LC);81 void AddCandidatePolygon(CandidateForTesselation CandidateLine, const double RADIUS, const LinkedCell *LC);80 void AddDegeneratedTriangle(CandidateForTesselation &CandidateLine, const double RADIUS, const LinkedCell_deprecated *LC); 81 void AddCandidatePolygon(CandidateForTesselation CandidateLine, const double RADIUS, const LinkedCell_deprecated *LC); 82 82 void RemoveTesselationTriangle(class BoundaryTriangleSet *triangle); 83 83 void RemoveTesselationLine(class BoundaryLineSet *line); 84 84 void RemoveTesselationPoint(class BoundaryPointSet *point); 85 bool CheckDegeneracy(CandidateForTesselation &CandidateLine, const double RADIUS, const LinkedCell *LC) const;85 bool CheckDegeneracy(CandidateForTesselation &CandidateLine, const double RADIUS, const LinkedCell_deprecated *LC) const; 86 86 87 87 88 88 // concave envelope 89 bool FindStartingTriangle(const double RADIUS, const LinkedCell *LC);90 void FindSecondPointForTesselation(class TesselPoint* a, Vector Oben, class TesselPoint*& OptCandidate, double Storage[3], double RADIUS, const LinkedCell *LC);91 void FindThirdPointForTesselation(const Vector &NormalVector, const Vector &SearchDirection, const Vector &OldSphereCenter, CandidateForTesselation &CandidateLine, const class BoundaryPointSet * const ThirdNode, const double RADIUS, const LinkedCell *LC) const;92 bool FindNextSuitableTriangle(CandidateForTesselation &CandidateLine, const BoundaryTriangleSet &T, const double& RADIUS, const LinkedCell *LC);93 bool FindCandidatesforOpenLines(const double RADIUS, const LinkedCell *&LCList);89 bool FindStartingTriangle(const double RADIUS, const LinkedCell_deprecated *LC); 90 void FindSecondPointForTesselation(class TesselPoint* a, Vector Oben, class TesselPoint*& OptCandidate, double Storage[3], double RADIUS, const LinkedCell_deprecated *LC); 91 void FindThirdPointForTesselation(const Vector &NormalVector, const Vector &SearchDirection, const Vector &OldSphereCenter, CandidateForTesselation &CandidateLine, const class BoundaryPointSet * const ThirdNode, const double RADIUS, const LinkedCell_deprecated *LC) const; 92 bool FindNextSuitableTriangle(CandidateForTesselation &CandidateLine, const BoundaryTriangleSet &T, const double& RADIUS, const LinkedCell_deprecated *LC); 93 bool FindCandidatesforOpenLines(const double RADIUS, const LinkedCell_deprecated *&LCList); 94 94 int CheckPresenceOfTriangle(class TesselPoint *Candidates[3]) const; 95 95 class BoundaryTriangleSet * GetPresentTriangle(TesselPoint *Candidates[3]); … … 98 98 void TesselateOnBoundary(IPointCloud & cloud); 99 99 void GuessStartingTriangle(); 100 bool InsertStraddlingPoints(IPointCloud & cloud, const LinkedCell *LC);100 bool InsertStraddlingPoints(IPointCloud & cloud, const LinkedCell_deprecated *LC); 101 101 double RemovePointFromTesselatedSurface(class BoundaryPointSet *point); 102 102 class BoundaryLineSet * FlipBaseline(class BoundaryLineSet *Base); … … 106 106 IndexToIndex * FindAllDegeneratedLines(); 107 107 void RemoveDegeneratedTriangles(); 108 void AddBoundaryPointByDegeneratedTriangle(class TesselPoint *point, LinkedCell *LC);108 void AddBoundaryPointByDegeneratedTriangle(class TesselPoint *point, LinkedCell_deprecated *LC); 109 109 int CorrectAllDegeneratedPolygons(); 110 110 … … 117 117 class BoundaryPointSet * GetCommonEndpoint(const BoundaryLineSet * line1, const BoundaryLineSet * line2) const; 118 118 TriangleList * FindTriangles(const TesselPoint* const Points[3]) const; 119 TriangleList * FindClosestTrianglesToVector(const Vector &x, const LinkedCell * LC) const;120 BoundaryTriangleSet * FindClosestTriangleToVector(const Vector &x, const LinkedCell * LC) const;121 bool IsInnerPoint(const Vector &Point, const LinkedCell * const LC) const;119 TriangleList * FindClosestTrianglesToVector(const Vector &x, const LinkedCell_deprecated* LC) const; 120 BoundaryTriangleSet * FindClosestTriangleToVector(const Vector &x, const LinkedCell_deprecated* LC) const; 121 bool IsInnerPoint(const Vector &Point, const LinkedCell_deprecated* const LC) const; 122 122 double GetDistanceSquaredToTriangle(const Vector &Point, const BoundaryTriangleSet* const triangle) const; 123 double GetDistanceToSurface(const Vector &Point, const LinkedCell * const LC) const;124 BoundaryTriangleSet * GetClosestTriangleOnSurface(const Vector &Point, const LinkedCell * const LC) const;123 double GetDistanceToSurface(const Vector &Point, const LinkedCell_deprecated* const LC) const; 124 BoundaryTriangleSet * GetClosestTriangleOnSurface(const Vector &Point, const LinkedCell_deprecated* const LC) const; 125 125 bool AddBoundaryPoint(TesselPoint * Walker, const int n); 126 DistanceToPointMap * FindClosestBoundaryPointsToVector(const Vector &x, const LinkedCell * LC) const;127 BoundaryLineSet * FindClosestBoundaryLineToVector(const Vector &x, const LinkedCell * LC) const;126 DistanceToPointMap * FindClosestBoundaryPointsToVector(const Vector &x, const LinkedCell_deprecated* LC) const; 127 BoundaryLineSet * FindClosestBoundaryLineToVector(const Vector &x, const LinkedCell_deprecated* LC) const; 128 128 129 129 // print for debugging … … 163 163 mutable PointMap::const_iterator InternalPointer; 164 164 165 //bool HasOtherBaselineBetterCandidate(const BoundaryLineSet * const BaseRay, const TesselPoint * const OptCandidate, double ShortestAngle, double RADIUS, const LinkedCell * const LC) const;165 //bool HasOtherBaselineBetterCandidate(const BoundaryLineSet * const BaseRay, const TesselPoint * const OptCandidate, double ShortestAngle, double RADIUS, const LinkedCell_deprecated * const LC) const; 166 166 void FindDegeneratedCandidatesforOpenLines(TesselPoint * const Sprinter, const Vector * const OptCenter); 167 167 };
Note:
See TracChangeset
for help on using the changeset viewer.