KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DATA Struct Reference

Public Member Functions

 Handle (TDocStd_Document) m_doc
 
 Handle (XCAFDoc_ColorTool) m_color
 
 Handle (XCAFDoc_ShapeTool) m_assy
 
 DATA ()
 
 ~DATA ()
 
bool GetShape (const std::string &id, std::vector< SGNODE * > *&listPtr)
 
SGNODEGetFace (const std::string &id)
 
SGNODEGetColor (Quantity_ColorRGBA *colorObj)
 

Public Attributes

SGNODEscene
 
SGNODEdefaultColor
 
Quantity_Color refColor
 
NODEMAP shapes
 
COLORMAP colors
 
FACEMAP faces
 
bool renderBoth
 
bool hasSolid
 

Detailed Description

Definition at line 112 of file loadmodel.cpp.

Constructor & Destructor Documentation

◆ DATA()

DATA::DATA ( )
inline

Definition at line 126 of file loadmodel.cpp.

References defaultColor, hasSolid, refColor, renderBoth, and scene.

◆ ~DATA()

DATA::~DATA ( )
inline

Definition at line 135 of file loadmodel.cpp.

References colors, defaultColor, S3D::DestroyNode(), faces, S3D::GetSGNodeParent(), scene, and shapes.

Member Function Documentation

◆ GetColor()

◆ GetFace()

SGNODE * DATA::GetFace ( const std::string &  id)
inline

Definition at line 219 of file loadmodel.cpp.

References faces.

Referenced by processFace().

◆ GetShape()

bool DATA::GetShape ( const std::string &  id,
std::vector< SGNODE * > *&  listPtr 
)
inline

Definition at line 205 of file loadmodel.cpp.

References shapes.

Referenced by processLabel(), and processSolidOrShell().

◆ Handle() [1/3]

DATA::Handle ( TDocStd_Document  )

◆ Handle() [2/3]

DATA::Handle ( XCAFDoc_ColorTool  )

◆ Handle() [3/3]

DATA::Handle ( XCAFDoc_ShapeTool  )

Member Data Documentation

◆ colors

COLORMAP DATA::colors

Definition at line 121 of file loadmodel.cpp.

Referenced by GetColor(), and ~DATA().

◆ defaultColor

SGNODE* DATA::defaultColor

Definition at line 118 of file loadmodel.cpp.

Referenced by DATA(), GetColor(), and ~DATA().

◆ faces

FACEMAP DATA::faces

Definition at line 122 of file loadmodel.cpp.

Referenced by GetFace(), processFace(), and ~DATA().

◆ hasSolid

bool DATA::hasSolid

Definition at line 124 of file loadmodel.cpp.

Referenced by DATA(), processFace(), processLabel(), and processSolidOrShell().

◆ refColor

Quantity_Color DATA::refColor

Definition at line 119 of file loadmodel.cpp.

Referenced by DATA(), and GetColor().

◆ renderBoth

bool DATA::renderBoth

Definition at line 123 of file loadmodel.cpp.

Referenced by DATA(), LoadModel(), and processFace().

◆ scene

SGNODE* DATA::scene

Definition at line 117 of file loadmodel.cpp.

Referenced by DATA(), LoadModel(), and ~DATA().

◆ shapes

NODEMAP DATA::shapes

Definition at line 120 of file loadmodel.cpp.

Referenced by GetShape(), and ~DATA().


The documentation for this struct was generated from the following file: