55 if( !
m_node->SetParent( aParent ) )
60 wxLogTrace( MASK_3D_SG, wxT(
"%s:%s:%d %s" ), __FILE__, __FUNCTION__, __LINE__,
77 wxLogTrace( MASK_3D_SG, wxT(
"%s:%s:%d %s" ), __FILE__, __FUNCTION__, __LINE__,
84 if( !
m_node->SetParent( pp ) )
89 wxLogTrace( MASK_3D_SG, wxT(
"%s:%s:%d %s" ), __FILE__, __FUNCTION__, __LINE__,
128 if( aParent !=
m_node->GetParent() )
130 wxLogTrace( MASK_3D_SG, wxT(
"%s:%s:%d * [BUG] invalid SGNODE parent (%s) to SGNORMALS" ),
131 __FILE__, __FUNCTION__, __LINE__,
149 wxCHECK( np,
false );
159 return ( (
SGNORMALS*)
m_node )->GetNormalList( aListSize, aNormalList );
SGNODE * GetRawPtr(void) noexcept
Return the raw internal SGNODE pointer.
bool SetNormalList(size_t aListSize, const SGVECTOR *aNormalList)
bool NewNode(SGNODE *aParent) override
Create a new node to associate with this wrapper.
bool AddNormal(double aXValue, double aYValue, double aZValue)
bool Attach(SGNODE *aNode) override
Associate a given SGNODE* with this wrapper.
bool GetNormalList(size_t &aListSize, SGVECTOR *&aNormalList)
IFSG_NORMALS(bool create)
The base class of all Scene Graph nodes.
S3D::SGTYPES GetNodeType(void) const noexcept
Return the type of this node instance.
const char * GetNodeTypeName(S3D::SGTYPES aNodeType) const noexcept
Define a set of vertex normals for a scene graph object.