22 #ifndef TETRAEDGE_TE_TE_3D_OBJECT2_H 23 #define TETRAEDGE_TE_TE_3D_OBJECT2_H 25 #include "common/array.h" 26 #include "tetraedge/te/te_color.h" 27 #include "tetraedge/te/te_i_3d_object2.h" 28 #include "tetraedge/te/te_matrix4x4.h" 29 #include "tetraedge/te/te_quaternion.h" 30 #include "tetraedge/te/te_object.h" 31 #include "tetraedge/te/te_signal.h" 32 #include "tetraedge/te/te_vector3f32.h" 46 return _children.size();
55 bool childListChanged()
const {
56 return _childListChanged;
63 bool colorInheritance()
const {
64 return _colorInheritance;
72 virtual void draw() {}
77 virtual bool onParentWorldColorChanged();
78 bool onParentWorldTransformationMatrixChanged();
79 bool onWorldVisibleChangedSlot();
81 return _onPositionChangedSignal;
84 return _onSizeChangedSignal;
87 return _onParentWorldColorChangedSignal;
90 return _onParentWorldTransformationMatrixChangedSignal;
93 return _onWorldVisibleChangedSlotSignal;
103 virtual void removeChildren();
111 virtual void setColor(
const TeColor &col);
112 virtual void setColorInheritance(
bool val) {
113 _colorInheritance = val;
125 void setVisible(
bool visible);
126 virtual void setZPosition(
float zpos);
132 virtual void updateZ() {};
133 virtual bool visible()
const {
142 virtual bool worldVisible();
143 virtual float xSize() {
return _size.x(); };
144 virtual float ySize() {
return _size.y(); };
145 virtual float zSize() {
return _size.z(); };
160 bool _childListChanged;
162 bool _colorInheritance;
182 #endif // TETRAEDGE_TE_TE_3D_OBJECT2_H Definition: te_signal.h:40
Definition: detection.h:27
Definition: te_quaternion.h:32
Definition: te_color.h:30
Definition: te_matrix4x4.h:37
Definition: te_object.h:29
Definition: te_3d_object2.h:36
Definition: te_vector3f32.h:33
Definition: te_i_3d_object2.h:27