Class AIAC::CutPlaneVisualizer¶
ClassList > AIAC > CutPlaneVisualizer
Inherits the following classes: AIAC::FeedbackVisualizer
Inherited by the following classes: AIAC::ChainSawCutPlaneVisualizer, AIAC::CircularSawCutPlaneVisualizer
Public Functions¶
Type | Name |
---|---|
virtual void | Activate () override |
CutPlaneVisualizer () | |
virtual void | Deactivate () override |
std::vector< glm::vec3 > | Update (glm::vec3 faceNorm, glm::vec3 facePt) Update the intersection polyline and face, and return the intersection point. |
Public Functions inherited from AIAC::FeedbackVisualizer¶
Type | Name |
---|---|
virtual void | Activate () |
virtual void | Deactivate () |
FeedbackVisualizer () = default | |
~FeedbackVisualizer () = default |
Public Static Functions inherited from AIAC::FeedbackVisualizer¶
Type | Name |
---|---|
std::string | toString (double val) Convert a double value to the real world scale in mm and return a string with 2 digits. If the value in mm is > 99, return "99". |
Protected Attributes¶
Type | Name |
---|---|
std::shared_ptr< GOLine > | m_LongestIntersectSegmentA1 the intersection line of the blade indicating the thickness away from the camera |
std::shared_ptr< GOLine > | m_LongestIntersectSegmentA2 the intersection line of the blade indicating the thickness towards the camera |
std::shared_ptr< GOLine > | m_LongestIntersectSegmentAppCenterA < |
std::shared_ptr< GOLine > | m_LongestIntersectSegmentAppCenterB the intersection line of the blade indicating the thickness towards the camera |
std::shared_ptr< GOLine > | m_LongestIntersectSegmentB1 the intersection line of the blade indicating the thickness away from the camera |
std::shared_ptr< GOLine > | m_LongestIntersectSegmentB2 |
Protected Attributes inherited from AIAC::FeedbackVisualizer¶
Type | Name |
---|---|
std::vector< std::shared_ptr< GOPrimitive > > | m_AllPrimitives |
Public Functions Documentation¶
function Activate¶
Implements AIAC::FeedbackVisualizer::Activate
function CutPlaneVisualizer¶
function Deactivate¶
Implements AIAC::FeedbackVisualizer::Deactivate
function Update¶
Update the intersection polyline and face, and return the intersection point.
Parameters:
faceNorm
the normal of the facefacePt
the point on the face
Returns:
std::vector<glm::vec3> the intersection point of the bbox and the face
Protected Attributes Documentation¶
variable m_LongestIntersectSegmentA1¶
the intersection line of the blade indicating the thickness away from the camera
variable m_LongestIntersectSegmentA2¶
the intersection line of the blade indicating the thickness towards the camera
variable m_LongestIntersectSegmentAppCenterA¶
<
the intersection of the top plane of the blade from the closest side to the center of the blade
the intersection of the top plane of the blade from the second closest side to the center of the blade
variable m_LongestIntersectSegmentAppCenterB¶
the intersection line of the blade indicating the thickness towards the camera
variable m_LongestIntersectSegmentB1¶
the intersection line of the blade indicating the thickness away from the camera
variable m_LongestIntersectSegmentB2¶
The documentation for this class was generated from the following file src/AIAC/Feedback/CutPlaneVisualizer.h