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

kstars

FOV Class Reference

#include <fov.h>

List of all members.


Detailed Description

class encapulating a Field-of-View symbol

Author:
Jason Harris
Version:
1.0

Definition at line 30 of file fov.h.


Public Member Functions

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

Constructor & Destructor Documentation

FOV::FOV (  ) 

Default constructor.

Definition at line 31 of file fov.cpp.

FOV::FOV ( const QString &  name  ) 

Definition at line 34 of file fov.cpp.

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

Definition at line 28 of file fov.cpp.

FOV::~FOV (  )  [inline]

Definition at line 36 of file fov.h.


Member Function Documentation

QString FOV::name (  )  const [inline]

Definition at line 40 of file fov.h.

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

Definition at line 41 of file fov.h.

int FOV::shape (  )  const [inline]

Definition at line 42 of file fov.h.

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

Definition at line 43 of file fov.h.

float FOV::size (  )  const [inline]

Definition at line 44 of file fov.h.

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

Definition at line 45 of file fov.h.

QString FOV::color (  )  const [inline]

Definition at line 46 of file fov.h.

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

Definition at line 47 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 75 of file fov.cpp.


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

kstars

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

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
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