• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

FOV Class Reference

class encapulating a Field-of-View symbol More...

#include <fov.h>

List of all members.


Public Member Functions

QString color () const
void draw (QPainter &p, float size)
 FOV (QString name, float size, int shape=0, QString color="#FFFFFF")
 FOV (QString name)
 FOV ()
QString name () const
void setColor (const QString &c)
void setName (const QString &n)
void setShape (int s)
void setSize (float s)
int shape () const
float size () const
 ~FOV ()

Detailed Description

class encapulating a Field-of-View symbol

Author:
Jason Harris
Version:
1.0

Definition at line 31 of file fov.h.


Constructor & Destructor Documentation

FOV::FOV (  ) 

Definition at line 30 of file fov.cpp.

FOV::FOV ( QString  name  ) 

Definition at line 33 of file fov.cpp.

FOV::FOV ( QString  name,
float  size,
int  shape = 0,
QString  color = "#FFFFFF" 
)

Definition at line 27 of file fov.cpp.

FOV::~FOV (  )  [inline]

Definition at line 36 of file fov.h.


Member Function Documentation

QString FOV::color (  )  const [inline]

Definition at line 46 of file fov.h.

void FOV::draw ( QPainter &  p,
float  size 
)

draw the FOV symbol on a QPainter

Parameters:
p reference to the target QPainter. The painter should already be started.
size the size of the target symbol, in pixels.

Definition at line 74 of file fov.cpp.

QString FOV::name (  )  const [inline]

Definition at line 40 of file fov.h.

void FOV::setColor ( const QString &  c  )  [inline]

Definition at line 47 of file fov.h.

void FOV::setName ( const QString &  n  )  [inline]

Definition at line 41 of file fov.h.

void FOV::setShape ( int  s  )  [inline]

Definition at line 43 of file fov.h.

void FOV::setSize ( float  s  )  [inline]

Definition at line 45 of file fov.h.

int FOV::shape (  )  const [inline]

Definition at line 42 of file fov.h.

float FOV::size (  )  const [inline]

Definition at line 44 of file fov.h.


The documentation for this class was generated from the following files:
  • fov.h
  • fov.cpp

kstars

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

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal