00001
00002
00003
00004
00005
00006
00007
00008 #ifndef IMPDISPLAY_CMM_WRITER_H
00009 #define IMPDISPLAY_CMM_WRITER_H
00010
00011 #include "display_config.h"
00012 #include "display_macros.h"
00013
00014 #include <IMP/PairContainer.h>
00015 #include <IMP/SingletonContainer.h>
00016 #include <IMP/display/Writer.h>
00017
00018 IMPDISPLAY_BEGIN_NAMESPACE
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 class IMPDISPLAYEXPORT CMMWriter: public Writer
00029 {
00030 unsigned int marker_index_;
00031 bool process(SphereGeometry *g,
00032 Color color, std::string name);
00033 bool process(PointGeometry *g,
00034 Color color, std::string name);
00035 public:
00036
00037 IMP_WRITER(CMMWriter);
00038 };
00039
00040
00041 IMPDISPLAY_END_NAMESPACE
00042
00043 #endif