6 #ifndef BALL_VIEW_KERNEL_REPRESENTATIONMANAGER_H
7 #define BALL_VIEW_KERNEL_REPRESENTATIONMANAGER_H
9 #ifndef BALL_VIEW_KERNEL_REPRESENTATION_H
13 #ifndef BALL_SYSTEM_MUTEX_H
17 #include <QtCore/QCoreApplication>
18 #include <QtCore/QWaitCondition>
32 class UpdateRepresentationThread;
94 const RepresentationManager& operator = (const RepresentationManager& pm);
97 bool operator == (const RepresentationManager& pm) const;
108 bool remove(
Representation& representation,
bool send_message = true);
114 bool insert(
Representation& representation,
bool send_message = true);
118 {
return representations_;}
122 {
return representations_.size();}
131 void dump(std::ostream& s,
Size depth = 0)
const;
135 {
return representations_.begin();}
139 {
return representations_.begin();}
143 {
return representations_.end();}
147 {
return representations_.end();}
165 void rebuildAllRepresentations();
177 void storeRepresentations(
INIFile& out);
180 void restoreRepresentations(
const INIFile& in,
const vector<const Composite*>& new_systems);
189 bool updateRunning()
const ;
236 #endif // BALL_VIEW_KERNEL_REPRESENTATIONMANAGER_H
#define BALL_CREATE(name)
RepresentationsConstIterator begin() const
ConstIterator to the first Representation.
HashSet< Representation * > to_update_
std::list< Representation * > RepresentationList
RepresentationsConstIterator end() const
Const Iterator pointing behind the last Representation.
RepresentationsIterator end()
Iterator pointing behind the last Representation.
RepresentationList representations_
RepresentationsIterator begin()
Iterator to the first Representation.
RepresentationList::const_iterator RepresentationsConstIterator
ConstIterator to the Representations.
UpdateRepresentationThread * thread_
MainControl * main_control_
HashSet< Representation * > beeing_updated_
HashSet< Representation * > beeing_rendered_
vector< ClippingPlane * > clipping_planes_
RepresentationList::iterator RepresentationsIterator
Iteration to the Representations.
const vector< ClippingPlane * > & getClippingPlanes() const
Size getNumberOfRepresentations() const
Get the number of the Representations.