59 wxLogTrace( MASK_3D_SG, wxT(
"%s:%s:%d %s" ), __FILE__, __FUNCTION__, __LINE__,
100 wxLogTrace( MASK_3D_SG, wxT(
"%s:%s:%d * [BUG] invalid SGNODE parent (%s) to SCENEGRAPH" ),
101 __FILE__, __FUNCTION__, __LINE__,
119 wxCHECK( np,
false );
138 wxCHECK( m_node,
false );
150 if( aScale < 1e-8 && aScale > -1e-8 )
152 wxLogTrace( MASK_3D_SG, wxT(
"%s:%s:%d * [BUG] |scale| is < 1e-8 - this seems strange" ),
153 __FILE__, __FUNCTION__, __LINE__ );
166 wxCHECK( m_node,
false );
168 ( (
SCENEGRAPH*) m_node )->translation = aTranslation;
187 wxCHECK( m_node,
false );
IFSG_NODE represents the base class of all DLL-safe Scene Graph nodes.
SGNODE * GetRawPtr(void) noexcept
Function GetRawPtr() returns the raw internal SGNODE pointer.
Define the basic data set required to represent a 3D model.
The base class of all Scene Graph nodes.
virtual bool SetParent(SGNODE *aParent, bool notify=true)=0
Set the parent SGNODE of this object.
SGNODE * GetParent(void) const noexcept
Returns a pointer to the parent SGNODE of this object or NULL if the object has no parent (ie.
S3D::SGTYPES GetNodeType(void) const noexcept
Return the type of this node instance.
void AssociateWrapper(SGNODE **aWrapperRef) noexcept
Associate this object with a handle to itself.
const char * GetNodeTypeName(S3D::SGTYPES aNodeType) const noexcept
void DisassociateWrapper(SGNODE **aWrapperRef) noexcept
Remove the association between an IFSG* wrapper object and this object.