16#ifndef OSGWIDGET_WINDOW
17#define OSGWIDGET_WINDOW
46 typedef std::list<osg::observer_ptr<Window> >
WindowList;
163 const std::string& =
"",
169 return _focused.get();
173 return _focused.get();
177 return _setVisible(
true);
181 return _setVisible(
false);
187 return isXYWithinVisible(xy.
x(), xy.
y());
223 return _getTopmostParent();
227 return _getTopmostParent();
247 return _width.current;
251 return _height.current;
255 return _width.minimum;
259 return _height.minimum;
275 return XYCoord(_width.current, _height.current);
279 return XYCoord(_width.minimum, _height.minimum);
299 return Point(_x, _y, _z);
337 setPosition(p.x(), p.y(), p.z());
346 setOrigin(xy.
x(), xy.
y());
394 _s += s / (_scaleDenom != 0.0f ? _scaleDenom : 1.0f);
422 typedef std::less<point_type>
Less;
424 typedef std::plus<point_type>
Plus;
489 unsigned int c = begin;
491 ConstIterator e = end > 0 ? _objects.begin() + end : _objects.end() + end;
508 if(i->valid()) v = (i->get()->*get)();
512 if(T()(v, val)) val = v;
516 else val = T()(v, val);
523 if((c + add) < _objects.size()) i += add;
553 return _forEachAssignOrApply<T>(get, begin, end, add,
true);
567 return _forEachAssignOrApply<T>(get, begin, end, add,
false);
571 return dynamic_cast<osg::Geode*
>(getChild(0));
575 return dynamic_cast<const osg::Geode*
>(getChild(0));
579 return _getBackground();
583 return _getBackground();
@ SCISSOR
Definition StateAttribute:156
value_type & x()
Definition Vec2f:67
value_type & y()
Definition Vec2f:68
Definition observer_ptr:39