catalogs: updated to new libastro API.
[nova.git] / src / objects / galaxy.h
blob77efcacb7ae6be8b1f14e2fee46142645d805ced
1 /*
2 * Copyright (C) 2008 Liam Girdwood
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330,
17 * Boston, MA 02111-1307, USA.
18 */
20 #ifndef __GALAXY_H
21 #define __GALAXY_H
23 #include "deep_object.h"
25 enum galaxy_type {
26 GC_SP0 = 0,
27 GC_IRR,
30 struct galaxy {
31 struct astrodb_object dobject;
32 enum galaxy_type type; /*!< Galaxy type */
33 gfloat maj_axis; /*!< Galaxy major axis (arcmins) */
34 gfloat min_axis; /*!< Galaxy minor axis (arcmins) */
35 gfloat pos_angle; /*!< Galaxy position position_angle */
36 gfloat radvel; /*!< Galaxy radial velocity (kms) */
39 void galaxy_get_info(struct galaxy *object, GList *ex_info);
41 void galaxy_render(struct render_object *r);
43 #endif