Script TheSky  Version 1.32
Public Types | Public Slots | Public Member Functions | Properties | List of all members
sky6Web Class Reference

The sky6Web object. More...

Inheritance diagram for sky6Web:

Public Types

enum  enumTSWC {
  TSWC_NONE, TSWC_UNKNOWN, TSWC_NORTH, TSWC_SOUTH,
  TSWC_EAST, TSWC_WEST, TSWC_ZENITH, TSWC_LEFT,
  TSWC_RIGHT, TSWC_UP, TSWC_DOWN, TSWC_ZIN,
  TSWC_ZOUT, TSWC_OBJID, TSWC_PAINT, TSWC_ROTATECCW,
  TSWC_ROTATECW, TSWC_CENTERSCOPE, TSWC_LAST
}
 

Public Slots

void CreateStarChart (double dJD, enumTSWC Cmd, int lUserId, double dLat, double dLong, double dTimeZone, int nW, int nH, QString bstrLogicalPath)
 Create a star chart.
 
void MapCmdTextToTSWC (QString bstrText)
 Map the text to a corresponding TheSky web command enumTSWCC.
 
void SlewToObject (QString bstrObjectName)
 Slew the telescope to the corresponding object.
 
void Sleep (int lMilliSeconds)
 Sleeep the number of milliseconds.
 
void GetThisDayJDAt (double dHours, double dTimeZone)
 Returns a julian date at the given hour and timezone. More...
 
void AbortSlew ()
 Aborts any telescope slew in progress.
 

Public Member Functions

 Q_ENUMS (enumTSWC)
 

Properties

int IsSlewComplete
 Returns true (non-zero) if the slew is complete othewise false (zero).
 
int GetLastSlewError
 GetLastSlewError returns the last slew error.
 
QString Vital
 Returns a string representing the vital information of the chart.
 
double CurRa
 The current RA of the star chart.
 
double CurDec
 The current declination of the star chart.
 
double CurPA
 The current position angle of the imaging system's rotator.
 
double CurAz
 The current azimuth of the star chart.
 
double CurAlt
 The current altitude of the star chart.
 
double CurFOV
 The current field of view (FOV) of the star chart.
 
double CurRotation
 The current rotation of the star chart.
 
double JD
 The current julian date the star chart.
 
int GetOrientation
 The current orientation of the star chart.
 
QString DateString
 The date of the star chart as a string.
 
QString TimeString
 The time of the star chart as a string.
 
QString LocationString
 The lcation of the star chart as a string.
 
QString TimeZoneString
 The timezone of the star chart as a string.
 
double Test
 A Test method for debugging setting up Browser Astronomy.
 
QString ChartFileName
 The filename of the chart settings file that TheSky switches to before processing CreateStarChart() method.
 
QString outputChartFileName
 The filename of the chart settings file produced by calling the CreateStarChart() method.
 
enumTSWC mappedCmdOut
 The last web comand processed by this object.
 
double JDOut
 The julian date after processing the CreateStarChart() method.
 
int LASTCOMERROR
 Software Bisque only - the last COM error thrown.
 

Detailed Description

The sky6Web object.

The sky6Web object is primarily used by Browser Astronomony to easily allow observatory control over the internet including a real time star chart.

It is worth noting that this obect along with all other scriptable objects are for private, non-commmercial, non-military use.
Please see the end user's license agreement EULA.

Member Function Documentation

◆ GetThisDayJDAt

void sky6Web::GetThisDayJDAt ( double  dHours,
double  dTimeZone 
)
slot

Returns a julian date at the given hour and timezone.

This is used by the Seeing in the Dark web site so that users always see the chart for tonight at say 10 PM.

ScriptTheSkyX Examples
(C) Software Bisque, Inc. All rights reserved.