|
Cogs.Core
|
Contains functionality for generating extrusion profiles. More...
Functions | |
| void | generateConnector (std::vector< float > &depths, std::vector< glm::vec2 > &profile, const float startDepth, const float endDepth, const float startRadius, const float outerRadius, const float endRadius, const float depthAnchor) |
| void | generateCurvedProfile (std::vector< float > &depths, std::vector< glm::vec2 > &profile, const float startDepth, const float endDepth, const float startRadius, const float endRadius, const float numSections) |
| void | insertPoints (std::vector< float > &depths, std::vector< glm::vec2 > &profile, const float radius, const float startDepth, const float endDepth, std::vector< float >::const_iterator it, std::vector< float >::const_iterator end) |
| void | insertPointsReverse (std::vector< float > &depths, std::vector< glm::vec2 > &profile, const float radius, const float startDepth, const float endDepth, std::vector< float >::const_iterator it) |
| void | reverseProfile (std::vector< float > &depths, std::vector< glm::vec2 > &profile, const float startDepth, const float endDepth) |
| Reverses the given profile. | |
Contains functionality for generating extrusion profiles.
| void Cogs::Geometry::ProfileGenerator::generateConnector | ( | std::vector< float > & | depths, |
| std::vector< glm::vec2 > & | profile, | ||
| const float | startDepth, | ||
| const float | endDepth, | ||
| const float | startRadius, | ||
| const float | outerRadius, | ||
| const float | endRadius, | ||
| const float | depthAnchor | ||
| ) |
Definition at line 10 of file ProfileGenerator.cpp.
| void Cogs::Geometry::ProfileGenerator::generateCurvedProfile | ( | std::vector< float > & | depths, |
| std::vector< glm::vec2 > & | profile, | ||
| const float | startDepth, | ||
| const float | endDepth, | ||
| const float | startRadius, | ||
| const float | endRadius, | ||
| const float | numSections | ||
| ) |
Definition at line 27 of file ProfileGenerator.cpp.
| void Cogs::Geometry::ProfileGenerator::insertPoints | ( | std::vector< float > & | depths, |
| std::vector< glm::vec2 > & | profile, | ||
| const float | radius, | ||
| const float | startDepth, | ||
| const float | endDepth, | ||
| std::vector< float >::const_iterator | it, | ||
| std::vector< float >::const_iterator | end | ||
| ) |
Definition at line 49 of file ProfileGenerator.cpp.
| void Cogs::Geometry::ProfileGenerator::insertPointsReverse | ( | std::vector< float > & | depths, |
| std::vector< glm::vec2 > & | profile, | ||
| const float | radius, | ||
| const float | startDepth, | ||
| const float | endDepth, | ||
| std::vector< float >::const_iterator | it | ||
| ) |
Definition at line 67 of file ProfileGenerator.cpp.
| void Cogs::Geometry::ProfileGenerator::reverseProfile | ( | std::vector< float > & | depths, |
| std::vector< glm::vec2 > & | profile, | ||
| const float | startDepth, | ||
| const float | endDepth | ||
| ) |
Reverses the given profile.
Definition at line 89 of file ProfileGenerator.cpp.
Referenced by Cogs::Core::RiserTelescopicJointComponent::updateArm(), Cogs::Core::RiserTelescopicJointComponent::updateBody(), and Cogs::Core::RiserTelescopicJointComponent::updateTop().