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 )
Xmap<T>: actual crystallographic map class.
Definition: xmap.h:357
static RTop_orth null()
return null (uninitialised) operator
Definition: coords.cpp:267
void init(const Spacegroup &spacegroup, const Cell &cell, const Grid_sampling &grid_sam)
initialiser: from spacegroup, cell, and grid
Definition: xmap.h:364
String name() const
get the name of this tree object
Definition: container.cpp:127
bool is_null() const
test if object has been initialised
Definition: nxmap_operator.cpp:139
Orthogonal operator class.
Definition: coords.h:113
const NXmap< T > & nxmap() const
get the target NXmap of this operator
Definition: nxmap_operator.h:146
bool is_null() const
test if object has been initialised
Definition: spacegroup.cpp:885
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
Spacegroup object.
Definition: spacegroup.h:173
Cell object.
Definition: cell.h:122
virtual void update()
update: hierarchical content update function
Definition: container.cpp:65
Definition for a generic container Object.
Definition: container.h:69
Non-Crystallographic map operator container.
Definition: container_map.h:92
void update()
hierarchical update
Definition: container_map.h:208
Non-Crystallographic map container.
Definition: container_map.h:77
bool is_null() const
test if object has been initialised
Definition: cell.cpp:151
Grid sampling of a unit cell.
Definition: coords.h:516
Crystallographic map container.
Definition: container_map.h:59
NXmap_operator: non-crystal map operator referencing a particular NXmap.
Definition: nxmap_operator.h:128
void update()
hierarchical update
Definition: container_map.h:153
bool is_null() const
test if object has been initialised
Definition: xmap.cpp:200
String extension with simple parsing methods.
Definition: clipper_types.h:65
CNXmap()
null constructor
Definition: container_map.h:80
bool is_null() const
test if object has been initialised
Definition: coords.cpp:532
NXmap<T>: actual non-crystallographic map class.
Definition: nxmap.h:261
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 for null operator
Definition: clipper_types.h:348
void init(const Xmap_base &xmap, const NXmap< T > &nxmap, const RTop_orth &rtop)
initialiser:: from Xmap, NXmap, and operator
Definition: nxmap_operator.h:137
bool is_null() const
test if object has been initialised
Definition: nxmap.cpp:94
Rotation-translation operator.
Definition: clipper_types.h:323
const Container & parent() const
get the parent of this object
Definition: container.cpp:142
CNXmap(Container &parent, const String name="")
constructor:
Definition: container_map.h:82
CNXmap_operator()
null constructor
Definition: container_map.h:95
CXmap()
null constructor
Definition: container_map.h:62