LineList

Search for usage in LXR

#include <linelist.h>

Public Member Functions

void append (std::shared_ptr< SkyPoint > p)
 
std::shared_ptr< SkyPointat (int i)
 
SkyListpoints ()
 

Public Attributes

DrawID drawID
 
UpdateID updateID
 
UpdateID updateNumID
 

Detailed Description

A simple data container used by LineListIndex.

It contains a list of SkyPoints and integer drawID, updateID and updateNumID.

Author
James B. Bowlin
Version
0.2

Definition at line 24 of file linelist.h.

Constructor & Destructor Documentation

◆ LineList()

LineList::LineList ( )
inline

Definition at line 27 of file linelist.h.

Member Function Documentation

◆ append()

void LineList::append ( std::shared_ptr< SkyPoint > p)
inline

Definition at line 35 of file linelist.h.

◆ at()

std::shared_ptr< SkyPoint > LineList::at ( int i)
inline

Definition at line 34 of file linelist.h.

◆ points()

SkyList * LineList::points ( )
inline

return the list of points for iterating or appending (or whatever).

Definition at line 33 of file linelist.h.

Member Data Documentation

◆ drawID

DrawID LineList::drawID

A global drawID (in SkyMesh) is updated at the start of each draw cycle.

Since an extended object is often covered by more than one trixel, the drawID is used to make sure each object gets drawn at most once per draw cycle. It is public because it is both set and read by the LineListIndex class.

Definition at line 44 of file linelist.h.

◆ updateID

UpdateID LineList::updateID

Definition at line 45 of file linelist.h.

◆ updateNumID

UpdateID LineList::updateNumID

Definition at line 46 of file linelist.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.