Skip to content

Class AIAC::TimberInfo::Cut

ClassList > AIAC > TimberInfo > Cut

Inherits the following classes: AIAC::TimberInfo::Component

Classes

Type Name
class Edge
class Face

Public Attributes inherited from AIAC::TimberInfo::Component

See AIAC::TimberInfo::Component

Type Name
bool IsMarkedDone

Public Functions

Type Name
Cut ()
std::map< std::string, Edge > & GetAllEdges ()
std::map< std::string, Face > & GetAllFaces ()
std::set< std::string > & GetAllNonExposedEdgeIDs ()
std::set< std::string > & GetAllNonExposedFaceIDs ()
virtual glm::vec3 GetCenter () override const
Hole .
Edge & GetEdge (std::string id)
Face & GetFace (std::string id)
std::map< std::string, Face > GetFaceNeighbors (std::string faceID)
TimberInfo::Cut::Face GetHighlightedFace ()
std::string GetHighlightedFaceID () const
std::map< std::string, Face > GetHighlightedFaceNeighbors ()
void HighlightFace (const std::string & faceId, glm::vec4 color=glm::vec4(0))
bool IsSingleFace () const
virtual void SetAsCurrent ()
< Base Component __
virtual void SetAsDone ()
virtual void SetAsNotDone ()
virtual void SetVisibility (bool visible)
void SetVisibilityAllCotas (bool visible)

Public Functions inherited from AIAC::TimberInfo::Component

See AIAC::TimberInfo::Component

Type Name
Component (std::string type)
virtual glm::vec3 GetCenter () const
Hole .
__always_inline std::string GetTypeString () const
virtual void SetAsCurrent ()
< Base Component __
virtual void SetAsDone ()
virtual void SetAsNotDone ()
virtual void SetVisibility (bool visible)

Protected Attributes inherited from AIAC::TimberInfo::Component

See AIAC::TimberInfo::Component

Type Name
pugi::xml_node m_ACIMDocNode
glm::vec3 m_Center
std::vector< std::shared_ptr< GOPrimitive > > m_GOPrimitives
std::string m_ID
float m_Scale
ACIMState m_State
std::string m_Type

Public Functions Documentation

function Cut

inline AIAC::TimberInfo::Cut::Cut () 

function GetAllEdges

inline std::map< std::string, Edge > & AIAC::TimberInfo::Cut::GetAllEdges () 

function GetAllFaces

inline std::map< std::string, Face > & AIAC::TimberInfo::Cut::GetAllFaces () 

function GetAllNonExposedEdgeIDs

inline std::set< std::string > & AIAC::TimberInfo::Cut::GetAllNonExposedEdgeIDs () 

function GetAllNonExposedFaceIDs

inline std::set< std::string > & AIAC::TimberInfo::Cut::GetAllNonExposedFaceIDs () 

function GetCenter

Hole .

inline virtual glm::vec3 AIAC::TimberInfo::Cut::GetCenter () override const

Implements AIAC::TimberInfo::Component::GetCenter


function GetEdge

inline Edge & AIAC::TimberInfo::Cut::GetEdge (
    std::string id
) 

function GetFace

inline Face & AIAC::TimberInfo::Cut::GetFace (
    std::string id
) 

function GetFaceNeighbors

inline std::map< std::string, Face > AIAC::TimberInfo::Cut::GetFaceNeighbors (
    std::string faceID
) 

function GetHighlightedFace

inline TimberInfo::Cut::Face AIAC::TimberInfo::Cut::GetHighlightedFace () 

function GetHighlightedFaceID

inline std::string AIAC::TimberInfo::Cut::GetHighlightedFaceID () const

function GetHighlightedFaceNeighbors

inline std::map< std::string, Face > AIAC::TimberInfo::Cut::GetHighlightedFaceNeighbors () 

function HighlightFace

void AIAC::TimberInfo::Cut::HighlightFace (
    const std::string & faceId,
    glm::vec4 color=glm::vec4(0)
) 

function IsSingleFace

inline bool AIAC::TimberInfo::Cut::IsSingleFace () const

function SetAsCurrent

< Base Component __

virtual void AIAC::TimberInfo::Cut::SetAsCurrent () 

Implements AIAC::TimberInfo::Component::SetAsCurrent


function SetAsDone

virtual void AIAC::TimberInfo::Cut::SetAsDone () 

Implements AIAC::TimberInfo::Component::SetAsDone


function SetAsNotDone

virtual void AIAC::TimberInfo::Cut::SetAsNotDone () 

Implements AIAC::TimberInfo::Component::SetAsNotDone


function SetVisibility

virtual void AIAC::TimberInfo::Cut::SetVisibility (
    bool visible
) 

Implements AIAC::TimberInfo::Component::SetVisibility


function SetVisibilityAllCotas

inline void AIAC::TimberInfo::Cut::SetVisibilityAllCotas (
    bool visible
) 


The documentation for this class was generated from the following file src/AIAC/ACInfoModel.h