Clipper
|
Crystallographic map container. More...
#include <container_map.h>
Public Member Functions | |
CXmap () | |
null constructor | |
CXmap (Container &parent, const String name="") | |
constructor: inherit spacegroup, cell and grid | |
void | init (const Spacegroup &spacegroup, const Cell &cell, const Grid_sampling &grid_sampling) |
initialiser: supply or inherit spacegroup, cell and grid | |
void | update () |
hierarchical update |
Crystallographic map container.
CXmap: This is a crystallographic map.
clipper::CXmap< T >::CXmap | ( | Container & | parent, |
const String | name = "" |
||
) |
constructor: inherit spacegroup, cell and grid
The object is constructed at the given location in the hierarchy. An attempt is made to initialise the object using information from its parents in the hierarchy.
parent | An object in the hierarchy (usually the parent of the new object). |
name | The path from parent to the new object (usually just the name of the new object). |
References clipper::CXmap< T >::init().
void clipper::CXmap< T >::init | ( | const Spacegroup & | spacegroup, |
const Cell & | cell, | ||
const Grid_sampling & | grid_sampling | ||
) |
initialiser: supply or inherit spacegroup, cell and grid
An attempt is made to initialise the object using information from the supplied parameters, or if they are Null, from its parents in the hierarchy.
spacegroup | The spacegroup for the map. |
name | The cell for the map. |
grid | The grid for the map. |
Reimplemented from clipper::Xmap< T >.
References clipper::Grid_sampling::is_null(), clipper::Cell::is_null(), clipper::Spacegroup::is_null(), and clipper::Container::update().
Referenced by clipper::CXmap< T >::CXmap().
void clipper::CXmap< T >::update | ( | ) | [virtual] |
hierarchical update
Hierarchical update. If this object is uninitialised, an attempt is made to initialise the object using information from its parents in the hierarchy. The childen of the object are then updated.
Reimplemented from clipper::Container.
References clipper::Xmap_base::is_null(), and clipper::Container::update().