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