5 #ifndef BALL_VIEW_KERNEL_REPRESENTATION_H
6 #define BALL_VIEW_KERNEL_REPRESENTATION_H
8 #ifndef BALL_CONCEPT_PROPERTY_H
12 #ifndef BALL_CONCEPT_COMPOSITE_H
16 #ifndef BALL_VIEW_KERNEL_COMMON_H
20 #ifndef BALL_CONCEPT_MOLECULARINFORMATION_H
24 #ifndef BALL_VIEW_KERNEL_MODELINFORMATION_H
29 #ifndef BALL_VIEW_MODELS_MODELPROCESSOR_H
33 #ifndef BALL_VIEW_MODELS_COLORPROCESSOR_H
44 class GeometricObject;
45 class UpdateRepresentationThread;
46 class RepresentationManager;
74 PROPERTY__ALWAYS_FRONT = 0,
77 PROPERTY__IS_COORDINATE_SYSTEM
114 void setHidden(
bool state) ;
117 bool isHidden()
const;
126 float getSurfaceDrawingPrecision()
const;
129 void setSurfaceDrawingPrecision(
float precision);
138 Size getTransparency()
const;
141 void setTransparency(
Size value);
151 { geometric_objects_ = gol;}
158 {
return composites_;}
161 void setComposites(
const std::list<const Composite*>& composites);
164 void setComposite(
const Composite* composite);
191 void setName(
const String& name);
194 String getCompositeName()
const;
203 void enableModelUpdate(
bool state);
215 String getProperties()
const;
218 bool isValid()
const;
224 void update(
bool rebuild);
227 void clearGeometricObjects();
240 bool needsUpdate()
const;
243 void setNeedsUpdate(
bool state=
true);
246 void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
263 {
return this < &object;}
344 # ifndef BALL_NO_INLINE_FUNCTIONS
345 # include <BALL/VIEW/KERNEL/representation.iC>
351 #endif // BALL_VIEW_KERNEL_REPRESENTATION_H
float surface_drawing_precision_
bool model_update_enabled_
#define BALL_CREATE(name)
const std::list< const Composite * > & getComposites() const
PreciseTime model_build_time_
static ModelInformation model_information_
DrawingMode drawing_mode_
DrawingMode
Enumeration for Drawing Modes.
ColoringMethod coloring_method_
bool modelUpdateEnabled() const
std::list< Representation * > RepresentationList
ModelProcessor * model_processor_
DrawingPrecision
Enumeration for Drawing Precisions.
BALL_EXTERN_VARIABLE const double c
bool changed_color_processor_
static MolecularInformation information_
std::list< GeometricObject * > GeometricObjectList
BALL_EXPORT bool operator==(const String &s1, const String &s2)
std::list< const Composite * > composites_
void enableColoringUpdate(bool state)
DrawingPrecision drawing_precision_
ColorProcessor * color_processor_
void setGeometricObjects(GeometricObjectList &gol)
const ModelInformation * custom_model_information_
HashMap class based on the STL map (containing serveral convenience functions)
GeometricObjectList geometric_objects_
bool coloringUpdateEnabled() const
BALL_EXPORT bool operator<(const String &s1, const String &s2)
bool coloring_update_enabled_