MCPcopy Create free account
hub / github.com/Kitware/VTK / GetAtomicNumberArray

Method GetAtomicNumberArray

Common/DataModel/vtkMolecule.cxx:301–309  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

299
300//------------------------------------------------------------------------------
301vtkUnsignedShortArray* vtkMolecule::GetAtomicNumberArray()
302{
303 vtkUnsignedShortArray* atomicNums = vtkArrayDownCast<vtkUnsignedShortArray>(
304 this->GetVertexData()->GetScalars(this->GetAtomicNumberArrayName()));
305
306 assert(atomicNums);
307
308 return atomicNums;
309}
310
311//------------------------------------------------------------------------------
312vtkUnsignedShortArray* vtkMolecule::GetBondOrdersArray()

Callers 7

AppendAtomMethod · 0.95
GetAtomAtomicNumberMethod · 0.95
SetAtomAtomicNumberMethod · 0.95
InitializeMethod · 0.80
RenderMethod · 0.80

Calls 3

GetVertexDataMethod · 0.80
assertFunction · 0.50
GetScalarsMethod · 0.45

Tested by 1