7 #ifndef BALL_VIEW_MODELS_BALLANDSTICKMODEL_H
8 #define BALL_VIEW_MODELS_BALLANDSTICKMODEL_H
10 #ifndef BALL_VIEW_MODELS_ATOMBONDMODELBASEPROCESSOR_H
14 #ifndef BALL_KERNEL_ATOM_H
99 void setBallRadius(
const float radius)
104 float getBallRadius()
const;
110 void setStickRadius(
const float radius)
115 float getStickRadius()
const;
119 void enableBallAndStickModel();
123 void enableStickModel();
156 bool isBallAndStickModel()
const;
161 bool isStickModel()
const;
165 {
return dashed_bonds_;}
169 { dashed_bonds_ = state;}
183 virtual void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
187 virtual bool createGeometricObjects();
191 void visualiseBond_(
const Bond& bond);
193 virtual void visualiseRings_();
195 inline void renderStandardBond_(
const Bond& bond);
199 inline void renderDashedBond_(
const Bond& bond,
Vector3 n)
202 void collectRingBonds_();
210 float special_radius_;
212 bool ball_and_stick_;
215 vector<vector<Bond*> > ring_bonds_;
218 # ifndef BALL_NO_INLINE_FUNCTIONS
219 # include <BALL/VIEW/MODELS/ballAndStickModel.iC>
225 #endif // BALL_VIEW_MODELS_BALLANDSTICKMODEL_H
#define BALL_CREATE(name)
bool dashedBondsEnabled() const
void enableDashedBonds(bool state)