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