• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • edu API Reference
  • KDE Home
  • Contact Us
 

kstars

Public Member Functions | Public Attributes | List of all members
TrixelNode Class Reference

#include <trixelnode.h>

Inheritance diagram for TrixelNode:
Inheritance graph
[legend]

Public Member Functions

 TrixelNode (const Trixel &trixel)
 
virtual void deleteAllChildNodes ()
 
virtual void hide () override
 
int hideCount ()
 
void resetHideCount ()
 
virtual void show () override
 
Trixel trixelID ()
 
- Public Member Functions inherited from SkyOpacityNode
 SkyOpacityNode ()
 
bool visible ()
 

Public Attributes

QLinkedList< QPair< SkyObject
*, SkyNode * > > 
m_nodes
 

Detailed Description

Convenience class that represents trixel in SkyMapLite.

It should be used as a parent for nodes that represent SkyObjects indexed by HTMesh

Definition at line 31 of file trixelnode.h.

Constructor & Destructor Documentation

TrixelNode::TrixelNode ( const Trixel &  trixel)
explicit

Constructor.


trixelnode.cpp - K Desktop Planetarium

begin : 01/07/2016 copyright : (C) 2016 by Artem Fedoskin email : afedo[email protected]skin[email protected][email protected][email protected]il.c[email protected]om


  • This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *

Definition at line 23 of file trixelnode.cpp.

Member Function Documentation

void TrixelNode::deleteAllChildNodes ( )
virtual

Delete all childNodes and remove nodes from pairs in m_nodes.

Reimplemented in DSOTrixelNode.

Definition at line 27 of file trixelnode.cpp.

void TrixelNode::hide ( )
overridevirtual

hides this node

Reimplemented from SkyOpacityNode.

Definition at line 45 of file trixelnode.cpp.

int TrixelNode::hideCount ( )
inline

m_hideCount is a counter of how much updates of SkyMapLite this trixel remained hidden.

Used to reduce memory consumption

Definition at line 41 of file trixelnode.h.

void TrixelNode::resetHideCount ( )
inline

Whenever the corresponding trixel is visible, m_hideCount is reset.

Definition at line 44 of file trixelnode.h.

void TrixelNode::show ( )
overridevirtual

makes this node visible

Reimplemented from SkyOpacityNode.

Definition at line 51 of file trixelnode.cpp.

Trixel TrixelNode::trixelID ( )
inline

Definition at line 49 of file trixelnode.h.

Member Data Documentation

QLinkedList<QPair<SkyObject *, SkyNode *> > TrixelNode::m_nodes

m_nodes - holds SkyNodes with corresponding SkyObjects

Definition at line 52 of file trixelnode.h.


The documentation for this class was generated from the following files:
  • trixelnode.h
  • trixelnode.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Sun Dec 15 2019 03:10:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

edu API Reference

Skip menu "edu API Reference"
  •     core
  • kstars

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal