26 #ifndef __vtkMoleculeMapper_h
27 #define __vtkMoleculeMapper_h
61 void UseBallAndStickSettings();
68 void UseVDWSpheresSettings();
75 void UseLiquoriceStickSettings();
84 void UseFastSettings();
88 vtkGetMacro(RenderAtoms,
bool);
89 vtkSetMacro(RenderAtoms,
bool);
90 vtkBooleanMacro(RenderAtoms,
bool);
95 vtkGetMacro(RenderBonds,
bool);
96 vtkSetMacro(RenderBonds,
bool);
97 vtkBooleanMacro(RenderBonds,
bool);
109 vtkGetMacro(AtomicRadiusType,
int);
110 vtkSetMacro(AtomicRadiusType,
int);
111 const char * GetAtomicRadiusTypeAsString();
112 void SetAtomicRadiusTypeToCovalentRadius()
114 this->SetAtomicRadiusType(CovalentRadius);
116 void SetAtomicRadiusTypeToVDWRadius()
118 this->SetAtomicRadiusType(VDWRadius);
120 void SetAtomicRadiusTypeToUnitRadius()
122 this->SetAtomicRadiusType(UnitRadius);
129 vtkGetMacro(AtomicRadiusScaleFactor,
float);
130 vtkSetMacro(AtomicRadiusScaleFactor,
float);
136 vtkGetMacro(UseMultiCylindersForBonds,
bool);
137 vtkSetMacro(UseMultiCylindersForBonds,
bool);
138 vtkBooleanMacro(UseMultiCylindersForBonds,
bool);
152 vtkGetMacro(BondColorMode,
int);
153 vtkSetMacro(BondColorMode,
int);
154 const char * GetBondColorModeAsString();
155 void SetBondColorModeToSingleColor()
157 this->SetBondColorMode(SingleColor);
159 void SetBondColorModeToDiscreteByAtom()
161 this->SetBondColorMode(DiscreteByAtom);
168 vtkGetVector3Macro(BondColor,
unsigned char);
169 vtkSetVector3Macro(BondColor,
unsigned char);
174 vtkGetMacro(BondRadius,
float);
175 vtkSetMacro(BondRadius,
float);
181 virtual void GetSelectedAtomsAndBonds(
vtkSelection *selection,
187 this->GetSelectedAtomsAndBonds(selection, atomIds, NULL);
192 this->GetSelectedAtomsAndBonds(selection, NULL, bondIds);
223 unsigned char BondColor[3];
236 void UpdateGlyphPolyData();
237 void UpdateAtomGlyphPolyData();
238 void UpdateBondGlyphPolyData();