Go to the documentation of this file.
26 #ifndef vtkMoleculeMapper_h
27 #define vtkMoleculeMapper_h
115 this->SetAtomicRadiusType(CovalentRadius);
119 this->SetAtomicRadiusType(VDWRadius);
123 this->SetAtomicRadiusType(UnitRadius);
158 this->SetBondColorMode(SingleColor);
162 this->SetBondColorMode(DiscreteByAtom);
188 this->GetSelectedAtomsAndBonds(selection, atomIds, NULL);
193 this->GetSelectedAtomsAndBonds(selection, NULL, bondIds);
224 unsigned char BondColor[3];
void SetAtomicRadiusTypeToCovalentRadius()
virtual void Render(vtkRenderer *, vtkActor *)
void SetBondColorModeToSingleColor()
virtual double * GetBounds()=0
void GlyphRender(vtkRenderer *ren, vtkActor *act)
#define vtkSetVector3Macro(name, type)
vtkNew< vtkPeriodicTable > PeriodicTable
void SetAtomicRadiusTypeToVDWRadius()
float AtomicRadiusScaleFactor
#define vtkTypeMacro(thisClass, superclass)
bool GlyphDataInitialized
virtual int FillInputPortInformation(int port, vtkInformation *info)
A node in a selection tree. Used to store selection results.
vtkNew< vtkPolyData > BondGlyphPolyData
virtual void UpdateBondGlyphPolyData()
virtual bool GetSupportsSelection()
Producer for stand-alone data objects.
void GetBounds(double bounds[6])
virtual void UpdateGlyphPolyData()
window superclass for vtkRenderWindow
virtual void UpdateAtomGlyphPolyData()
bool UseMultiCylindersForBonds
virtual void GetSelectedBonds(vtkSelection *selection, vtkIdTypeArray *bondIds)
vtkNew< vtkPolyData > AtomGlyphPolyData
#define vtkGetVector3Macro(name, type)
void UseLiquoriceStickSettings()
vtkNew< vtkTrivialProducer > AtomGlyphPointOutput
#define VTKDOMAINSCHEMISTRY_EXPORT
create a polygonal sphere centered at the origin
abstract class specifies interface to map data to graphics primitives
virtual void ReleaseGraphicsResources(vtkWindow *)
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
void SetAtomicRadiusTypeToUnitRadius()
#define vtkGetMacro(name, type)
class describing a molecule
Access to information about the elements.
Mapper that draws vtkMolecule objects.
void PrintSelf(ostream &os, vtkIndent indent)
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkNew< vtkGlyph3DMapper > AtomGlyphMapper
vtkSetMacro(IgnoreDriverBugs, bool)
virtual void GetSelectedAtoms(vtkSelection *selection, vtkIdTypeArray *atomIds)
virtual void GetSelectedAtomsAndBonds(vtkSelection *selection, vtkIdTypeArray *atomIds, vtkIdTypeArray *bondIds)
dynamic, self-adjusting array of vtkIdType
const char * GetBondColorModeAsString()
abstract specification for renderers
void SetBondColorModeToDiscreteByAtom()
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkNew< vtkTrivialProducer > BondGlyphPointOutput
static vtkMoleculeMapper * New()
const char * GetAtomicRadiusTypeAsString()
void UseBallAndStickSettings()
vtkNew< vtkGlyph3DMapper > BondGlyphMapper
void SetInputData(vtkMolecule *in)
void UseVDWSpheresSettings()