13#include "skypainter.h"
14#include "skyobjects/skyobject.h"
15#include "projections/projector.h"
22 explicit SkyGLPainter(QGLWidget *widget);
24 bool drawPointSource(
const SkyPoint *loc,
float mag,
char sp =
'A')
override;
25 void drawSkyPolygon(
LineList *list,
bool forceClip =
true)
override;
26 void drawSkyPolyline(
LineList *list, SkipHashList *skipList =
nullptr,
27 LineListLabel *label =
nullptr)
override;
29 void drawSkyBackground()
override;
31 void drawFlags()
override;
33 void begin()
override;
34 void setBrush(
const QBrush &brush)
override;
35 void setPen(
const QPen &pen)
override;
36 void drawHorizon(
bool filled,
SkyPoint *labelPoint =
nullptr,
37 bool *drawLabel =
nullptr)
override;
38 bool drawSatellite(
Satellite *sat)
override;
39 bool drawSupernova(
Supernova *sup)
override;
42 bool drawHips(
bool useCache =
false)
override;
45 bool addItem(
SkyPoint *p,
int type,
float width,
char sp =
'a');
46 void drawBuffer(
int type);
48 bool flush_buffers =
true);
52 void drawTexturedRectangle(
const QImage &img,
const Eigen::Vector2f &pos,
const float angle,
53 const float sizeX,
const float sizeY);
57 Eigen::Vector4f m_pen;
58 static const int BUFSIZE = 512;
60 static const int NUMTYPES = (int)SkyObject::TYPE_UNKNOWN + 1;
61 static Eigen::Vector2f m_vertex[NUMTYPES][6 * BUFSIZE];
62 static Eigen::Vector2f m_texcoord[NUMTYPES][6 * BUFSIZE];
63 static Eigen::Vector3f m_color[NUMTYPES][6 * BUFSIZE];
64 static int m_idx[NUMTYPES];
Information about a ConstellationsArt object.
A subclass of TrailObject that provides additional information needed for most solar system objects.
A simple data container used by LineListIndex.
The Projector class is the primary class that serves as an interface to handle projections.
Represents an artificial satellites.
Draws things on the sky, without regard to backend.
The sky coordinates of a point in the sky.
Represents the supernova object.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:44 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.