00001
00002
00003
00004
00005
00006
00007
00008 #ifndef IMPDISPLAY_CHIMERA_WRITER_H
00009 #define IMPDISPLAY_CHIMERA_WRITER_H
00010
00011 #include "display_config.h"
00012
00013 #include <IMP/display/Writer.h>
00014
00015 IMPDISPLAY_BEGIN_NAMESPACE
00016
00017
00018
00019
00020
00021
00022 class IMPDISPLAYEXPORT ChimeraWriter: public Writer
00023 {
00024 void cleanup(std::string name,
00025 bool need_ms, bool need_surf=false);
00026 bool process(SphereGeometry *g,
00027 Color color, std::string name);
00028 bool process(CylinderGeometry *g,
00029 Color color, std::string name);
00030 bool process(PointGeometry *g,
00031 Color color, std::string name);
00032 bool process(SegmentGeometry *g,
00033 Color color, std::string name);
00034 bool process(PolygonGeometry *g,
00035 Color color, std::string name);
00036 bool process(TriangleGeometry *g,
00037 Color color, std::string name);
00038 bool process(EllipsoidGeometry *g,
00039 Color color, std::string name);
00040 public:
00041 IMP_WRITER(ChimeraWriter);
00042 };
00043
00044
00045 IMPDISPLAY_END_NAMESPACE
00046
00047 #endif