45 #ifndef CLIPPER_CONTAINER_MAP
46 #define CLIPPER_CONTAINER_MAP
49 #include "container_types.h"
50 #include "nxmap_operator.h"
122 init( NullSpacegroup, NullCell, NullGrid_sampling );
136 const Cell* cp = &cell;
139 if ( sp->
is_null() ) sp = parent_of_type_ptr<const Spacegroup>();
140 if ( cp->
is_null() ) cp = parent_of_type_ptr<const Cell>();
141 if ( gp->
is_null() ) gp = parent_of_type_ptr<const Grid_sampling>();
143 if ( sp != NULL && cp != NULL && gp != NULL )
156 init( NullSpacegroup, NullCell, NullGrid_sampling );
190 const Cell* cp = &cell;
193 if ( cp->
is_null() ) cp = parent_of_type_ptr<const Cell>();
194 if ( gp->
is_null() ) gp = parent_of_type_ptr<const Grid_sampling>();
195 if ( !nxmap.
is_null() ) nxmap_ = &nxmap;
196 if ( !nxop.
is_null() ) nxop_ = nxop;
198 if ( cp != NULL && gp != NULL && nxmap_ != NULL )
CNXmap(Container &parent, const String name="")
constructor:
Definition: container_map.h:82
const Container & parent() const
get the parent of this object
Definition: container.cpp:142
bool is_null() const
test if object has been initialised
Definition: nxmap_operator.cpp:139
bool is_null() const
test for null operator
Definition: clipper_types.h:348
Orthogonal operator class.
Definition: coords.h:112
virtual void update()
update: hierarchical content update function
Definition: container.cpp:65
void update()
hierarchical update
Definition: container_map.h:153
void init(const Spacegroup &spacegroup, const Cell &cell, const Grid_sampling &grid_sampling)
initialiser: supply or inherit spacegroup, cell and grid
Definition: container_map.h:132
bool is_null() const
test if object has been initialised
Definition: cell.cpp:151
Non-Crystallographic map operator container.
Definition: container_map.h:91
Cell object.
Definition: cell.h:121
String name() const
get the name of this tree object
Definition: container.cpp:127
Spacegroup object.
Definition: spacegroup.h:172
void update()
hierarchical update
Definition: container_map.h:208
String extension with simple parsing methods.
Definition: clipper_types.h:64
Crystallographic map container.
Definition: container_map.h:58
Rotation-translation operator.
Definition: clipper_types.h:322
bool is_null() const
test if object has been initialised
Definition: nxmap.cpp:94
bool is_null() const
test if object has been initialised
Definition: xmap.cpp:200
Grid sampling of a unit cell.
Definition: coords.h:515
Non-Crystallographic map container.
Definition: container_map.h:76
CNXmap()
null constructor
Definition: container_map.h:80
bool is_null() const
test if object has been initialised
Definition: spacegroup.cpp:874
void init(const Cell &cell, const Grid_sampling &grid, const NXmap< T > &nxmap, const RTop_orth &nxop)
initialier: supply or inherit cell, grid, NXmap, RTop_orth
Definition: container_map.h:187
const NXmap< T > & nxmap() const
get the target NXmap of this operator
Definition: nxmap_operator.h:146
Definition for a generic container Object.
Definition: container.h:68
NXmap: actual non-crystallographic map class.
Definition: nxmap.h:260
CNXmap_operator()
null constructor
Definition: container_map.h:95
CXmap()
null constructor
Definition: container_map.h:62
static RTop_orth null()
return null (uninitialised) operator
Definition: coords.cpp:267
bool is_null() const
test if object has been initialised
Definition: coords.cpp:532
Xmap: actual crystallographic map class.
Definition: xmap.h:356
NXmap_operator: non-crystal map operator referencing a particular NXmap.
Definition: nxmap_operator.h:127