60 wxLogTrace( MASK_3D_SG,
"%s:%s:%d %s", __FILE__, __FUNCTION__, __LINE__,
WrongParent );
76 wxLogTrace( MASK_3D_SG,
"%s:%s:%d %s", __FILE__, __FUNCTION__, __LINE__,
BadParent );
87 wxLogTrace( MASK_3D_SG,
"%s:%s:%d %s", __FILE__, __FUNCTION__, __LINE__,
WrongParent );
127 wxLogTrace( MASK_3D_SG,
"%s:%s:%d * [BUG] invalid SGNODE parent (%s) to SGNORMALS",
128 __FILE__, __FUNCTION__, __LINE__,
146 wxCHECK( np,
false );
156 return ( (
SGNORMALS*)
m_node )->GetNormalList( aListSize, aNormalList );
bool GetNormalList(size_t &aListSize, SGVECTOR *&aNormalList)
bool NewNode(SGNODE *aParent) override
Function NewNode creates a new node to associate with this wrapper.
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.
Define a set of vertex normals for a scene graph object.
bool AddNormal(double aXValue, double aYValue, double aZValue)
bool Attach(SGNODE *aNode) override
Function Attach associates a given SGNODE* with this wrapper.
void DisassociateWrapper(SGNODE **aWrapperRef) noexcept
Remove the association between an IFSG* wrapper object and this object.
const char * GetNodeTypeName(S3D::SGTYPES aNodeType) const noexcept
IFSG_NORMALS(bool create)
SGNODE * GetParent(void) const noexcept
Returns a pointer to the parent SGNODE of this object or NULL if the object has no parent (ie.
bool SetNormalList(size_t aListSize, const SGVECTOR *aNormalList)
virtual bool SetParent(SGNODE *aParent, bool notify=true)=0
Set the parent SGNODE of this object.
S3D::SGTYPES GetNodeType(void) const noexcept
Return the type of this node instance.