Kstars
starblocklist.h
Stores and manages unnamed stars, most of which are dynamically loaded into memory.
Definition deepstarcomponent.h:32
Maintains a list of StarBlocks that contain the stars lying in a single trixel.
Definition starblocklist.h:23
std::shared_ptr< StarBlock > block(unsigned int i)
Returns the i-th block in this StarBlockList.
Definition starblocklist.h:64
int getBlockCount() const
Returns the total number of blocks in theis StarBlockList.
Definition starblocklist.h:81
StarBlockList(const Trixel &trixel, DeepStarComponent *parent=nullptr)
Constructor for deep star catalogs.
Definition starblocklist.cpp:21
void setStaticBlock(std::shared_ptr< StarBlock > &block)
Sets the first StarBlock in the list to point to the given StarBlock.
Definition starblocklist.cpp:157
bool fillToMag(float maglim)
Ensures that the list is loaded with stars to given magnitude limit.
Definition starblocklist.cpp:62
const QList< std::shared_ptr< StarBlock > > & contents() const
Definition starblocklist.h:69
int releaseBlock(StarBlock *block)
Drops the StarBlock with the given pointer from the list.
Definition starblocklist.cpp:28
float getFaintMag() const
Returns the magnitude of the faintest star currently stored.
Definition starblocklist.h:87
long getStarCount() const
Returns the total number of stars in this StarBlockList.
Definition starblocklist.h:75
Holds a block of stars and various peripheral variables to mark its place in data structures.
Definition starblock.h:43
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:51:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:51:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.