1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196
|
class ElementColorProcessor
: ColorProcessor
{
%TypeHeaderCode
#include <BALL/VIEW/MODELS/standardColorProcessor.h>
%End
public:
ElementColorProcessor() throw();
void setTransparency(Size) throw();
virtual void getColor(const Composite&, ColorRGBA&);
};
class ResidueNumberColorProcessor
: ColorProcessor
{
%TypeHeaderCode
#include <BALL/VIEW/MODELS/standardColorProcessor.h>
%End
public:
ResidueNumberColorProcessor() throw();
void getColor(const Composite&, ColorRGBA&);
void setFirstColor(const ColorRGBA&);
void setLastColor(const ColorRGBA&);
void setMiddleColor(const ColorRGBA&);
const ColorRGBA& getFirstColor() const;
const ColorRGBA& getMiddleColor() const;
const ColorRGBA& getLastColor() const;
virtual bool start() throw();
};
class PositionColorProcessor
: ColorProcessor
{
%TypeHeaderCode
#include <BALL/VIEW/MODELS/standardColorProcessor.h>
%End
public:
PositionColorProcessor();
virtual void getColor(const Composite&, ColorRGBA&);
bool start() throw();
};
class ChainColorProcessor
: PositionColorProcessor
{
%TypeHeaderCode
#include <BALL/VIEW/MODELS/standardColorProcessor.h>
%End
public:
ChainColorProcessor();
};
class MoleculeColorProcessor
: PositionColorProcessor
{
%TypeHeaderCode
#include <BALL/VIEW/MODELS/standardColorProcessor.h>
%End
public:
MoleculeColorProcessor();
};
class ResidueNameColorProcessor
: ColorProcessor
{
%TypeHeaderCode
#include <BALL/VIEW/MODELS/standardColorProcessor.h>
%End
public:
ResidueNameColorProcessor() throw();
void setTransparency(Size) throw();
virtual void getColor(const Composite&, ColorRGBA&);
StringHashMap<ColorRGBA> & getColorMap();
};
class AtomChargeColorProcessor
: InterpolateColorProcessor
{
%TypeHeaderCode
#include <BALL/VIEW/MODELS/standardColorProcessor.h>
%End
public:
AtomChargeColorProcessor() throw();
AtomChargeColorProcessor(const AtomChargeColorProcessor&) throw();
virtual void getColor(const Composite&, ColorRGBA&);
};
class AtomDistanceColorProcessor
: ColorProcessor
{
%TypeHeaderCode
#include <BALL/VIEW/MODELS/standardColorProcessor.h>
%End
public:
AtomDistanceColorProcessor() throw();
AtomDistanceColorProcessor(const AtomDistanceColorProcessor&) throw();
void setDistance(float) throw();
float getDistance() const throw();
void setNullDistanceColor(const ColorRGBA&) throw();
const ColorRGBA& getNullDistanceColor() const throw();
void setMaxDistanceColor(const ColorRGBA&) throw();
const ColorRGBA& getMaxDistanceColor() const throw();
void calculateDistances() throw();
virtual void addAtom(const Atom&);
virtual bool finish() throw();
virtual void getColor(const Composite&, ColorRGBA&);
bool showSelected();
void setShowSelected(bool);
};
class CustomColorProcessor
: ColorProcessor
{
%TypeHeaderCode
#include <BALL/VIEW/MODELS/standardColorProcessor.h>
%End
public:
CustomColorProcessor();
};
class TemperatureFactorColorProcessor
: InterpolateColorProcessor
{
%TypeHeaderCode
#include <BALL/VIEW/MODELS/standardColorProcessor.h>
%End
public:
TemperatureFactorColorProcessor();
virtual void getColor(const Composite&, ColorRGBA&);
};
class OccupancyColorProcessor
: ColorProcessor
{
%TypeHeaderCode
#include <BALL/VIEW/MODELS/standardColorProcessor.h>
%End
public:
OccupancyColorProcessor();
virtual void getColor(const Composite&, ColorRGBA&);
};
class ForceColorProcessor
: InterpolateColorProcessor
{
%TypeHeaderCode
#include <BALL/VIEW/MODELS/standardColorProcessor.h>
%End
public:
ForceColorProcessor();
virtual void getColor(const Composite&, ColorRGBA&);
};
class SecondaryStructureColorProcessor
: ColorProcessor
{
%TypeHeaderCode
#include <BALL/VIEW/MODELS/standardColorProcessor.h>
%End
public:
SecondaryStructureColorProcessor();
virtual void getColor(const Composite&, ColorRGBA&);
const ColorRGBA& getCoilColor() const throw();
const ColorRGBA& getHelixColor() const throw();
const ColorRGBA& getStrandColor() const throw();
const ColorRGBA& getTurnColor() const throw();
void setCoilColor(const ColorRGBA&) throw();
void setHelixColor(const ColorRGBA&) throw();
void setStrandColor(const ColorRGBA&) throw();
void setTurnColor(const ColorRGBA&) throw();
};
class ResidueTypeColorProcessor
: ColorProcessor
{
%TypeHeaderCode
#include <BALL/VIEW/MODELS/standardColorProcessor.h>
%End
public:
ResidueTypeColorProcessor();
virtual void getColor(const Composite&, ColorRGBA&);
void setBasicColor(const ColorRGBA&) throw();
void setAcidicColor(const ColorRGBA& ) throw();
void setPolarColor(const ColorRGBA& ) throw();
void setHydrophobicColor(const ColorRGBA& ) throw();
void setAromaticColor(const ColorRGBA& ) throw();
void setOtherColor(const ColorRGBA& ) throw();
const ColorRGBA& getBasicColor() const throw();
const ColorRGBA& getAcidicColor() const throw();
const ColorRGBA& getPolarColor() const throw();
const ColorRGBA& getHydrophobicColor() const throw();
const ColorRGBA& getAromaticColor() const throw();
const ColorRGBA& getOtherColor() const throw();
void setTransparency(Size ) throw();
};
|