TerrainComponent

Search for usage in LXR

TerrainComponent Class Reference

#include <terraincomponent.h>

Inheritance diagram for TerrainComponent:

Public Member Functions

 TerrainComponent (SkyComposite *)
 
void draw (SkyPainter *skyp) override
 
bool selected () override
 
- Public Member Functions inherited from SkyComponent
 SkyComponent (SkyComposite *parent=nullptr)
 
virtual void drawTrails (SkyPainter *skyp)
 
virtual void emitProgressText (const QString &message)
 
virtual SkyObjectfindByName (const QString &name, bool exact=true)
 
QHash< int, QVector< QPair< QString, const SkyObject * > > > & objectLists ()
 
QVector< QPair< QString, const SkyObject * > > & objectLists (int type)
 
QHash< int, QStringList > & objectNames ()
 
QStringListobjectNames (int type)
 
virtual SkyObjectobjectNearest (SkyPoint *p, double &maxrad)
 
virtual void objectsInArea (QList< SkyObject * > &list, const SkyRegion &region)
 
SkyCompositeparent ()
 
void removeFromLists (const SkyObject *obj)
 
void removeFromNames (const SkyObject *obj)
 
virtual void update (KSNumbers *)
 
virtual void updateMoons (KSNumbers *)
 
virtual void updateSolarSystemBodies (KSNumbers *)
 

Detailed Description

Represents the terrain overlay.

Author
Hy Murveit
Version
1.0

Definition at line 18 of file terraincomponent.h.

Constructor & Destructor Documentation

◆ TerrainComponent()

TerrainComponent::TerrainComponent ( SkyComposite * parent)
explicit

Constructor.

Definition at line 13 of file terraincomponent.cpp.

Member Function Documentation

◆ draw()

void TerrainComponent::draw ( SkyPainter * skyp)
overridevirtual

Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.

Implements SkyComponent.

Definition at line 22 of file terraincomponent.cpp.

◆ selected()

bool TerrainComponent::selected ( )
overridevirtual
Returns
true if component is to be drawn on the map.

Reimplemented from SkyComponent.

Definition at line 17 of file terraincomponent.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:53:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.