20 #ifndef __TY_GEOMETRY_NODE__ 21 #define __TY_GEOMETRY_NODE__ 25 #endif // _MSC_VER > 1000 28 #pragma warning( disable : 4284 ) 184 virtual bool deepCopy(
const TYElement* pOther,
bool copyId =
true,
bool pUseCopyTag =
false);
271 #endif //__TY_GEOMETRY_NODE__
3D frame with a point and 3 vectors.
OMatrix asMatrix() const
return the transformation matrix from unity to this pose such as this = transform * unity ...
std::vector< LPTYElement > LPTYElementArray
void GetGeoNodeParentList(TYListPtrGeoNode &GetGeoNodeParents)
bool operator==(const TYGeometryNode &other) const
OPoint3D position()
Get the position of the element.
void setHauteur(const double &hauteur)
Set the heigth above the ground.
static TYMapPtrGeoNode * _geoNodeMap
TYGeometryNode * GetGeoNodeParent() const
const ORepere3D & getORepere3D() const
double _hauteur
Hauteur de l'element par rapport au sol.
ORepere3D & getORepere3D()
SmartPtr< TYGeometryNode > LPTYGeometryNode
static TYListPtrGeoNode * _geoNodeDoublonsList
void setRepere(const ORepere3D &repere)
Representation graphique d'un GeometryNode (fichier header)
virtual bool deepCopy(const TYElement *pOther, bool copyId=true, bool pUseCopyTag=false)
static TYMapPtrGeoNode * GetGeoNodeMap()
std::list< TYGeometryNode * > TYListPtrGeoNode
Liste ordonnee de pointeurs de TYElement.
void setRotation(const OPoint3D &rot)
Set the rotation angle along axis x, y & z represented as an OPoint3D.
virtual ~TYGeometryNode()
#define OPROTODECL(classname)
TYElement * getElement() const
OMatrix localToGlobal() const
void setPosition(const OPoint3D &pos)
Set the position of the element.
T * _pObj
The real pointer, must derived IRefCount.
virtual int fromXML(DOM_Element domElement)
virtual DOM_Element toXML(DOM_Element &domElement)
std::map< TYElement *, TYGeometryNode * > TYMapPtrGeoNode
void setMatrix(const OMatrix &matrix)
static TYGeometryNode * GetGeoNode(TYElement *pElement)
TYRepere _repere
Le repere definissant la position et l'orientation de l'element.
static TYListPtrGeoNode * GetGeoNodeDoublonsList()
OMatrix globalToLocal() const
LPTYElement _pElement
L'instance de l'element geometrique.
double getHauteur()
Get the height above the ground.
TYGeometryNode & operator=(const TYGeometryNode &other)
virtual void getChilds(LPTYElementArray &childs, bool recursif=true)
OMatrix getMatrix() const
OPoint3D _origin
The origin point.
void setElement(LPTYElement pElt)
OPoint3D rotation()
Get the rotation angle along axis x, y & z represented as an OPoint3D.
bool operator!=(const TYGeometryNode &other) const