summaryrefslogtreecommitdiffstats
path: root/ast/pg3d.h
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-10-17 15:22:52 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-10-17 15:22:52 (GMT)
commit7dd9b970cec6832b8f6118dc2dd91a08d2836648 (patch)
tree4b3c86596ab87f35a3c6213397da07afe1e24d3e /ast/pg3d.h
parentd7bf7c61e8507e3cf51f195392c0f41f27ae18d8 (diff)
parent7fde2daeed593684120d75de07598154f3ddaf2c (diff)
downloadblt-7dd9b970cec6832b8f6118dc2dd91a08d2836648.zip
blt-7dd9b970cec6832b8f6118dc2dd91a08d2836648.tar.gz
blt-7dd9b970cec6832b8f6118dc2dd91a08d2836648.tar.bz2
Merge commit '7fde2daeed593684120d75de07598154f3ddaf2c' as 'ast'
Diffstat (limited to 'ast/pg3d.h')
-rw-r--r--ast/pg3d.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/ast/pg3d.h b/ast/pg3d.h
new file mode 100644
index 0000000..e4dab63
--- /dev/null
+++ b/ast/pg3d.h
@@ -0,0 +1,68 @@
+#if !defined( PG3D_INCLUDED ) /* Include this file only once */
+#define PG3D_INCLUDED
+/*
+*+
+* Name:
+* pg3d.h
+
+* Type:
+* C include file.
+
+* Purpose:
+* Define the interface to the pg3d module
+
+* Invocation:
+* #include "pg3d.h"
+
+* Description:
+* This include file defines the interface to the pg3d module
+* (implemented in file grf3d_pgplot.c) and provides the type
+* definitions, function prototypes and macros, etc. needed to
+* use this module.
+*
+* The functions in the pg3d interface provide control of the view
+* of the 3D world coordinate system visible on the 2D PGPLOT
+* viewport. They are provided for users of the PGPLOT implementation
+* of the grf3D interface distributed with AST. No calls to these
+* functions are made from within AST itself.
+
+* Copyright:
+* Copyright (C) 2007 Science & Technology Facilities Council.
+* All Rights Reserved.
+
+* Licence:
+* This program is free software: you can redistribute it and/or
+* modify it under the terms of the GNU Lesser General Public
+* License as published by the Free Software Foundation, either
+* version 3 of the License, or (at your option) any later
+* version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General
+* License along with this program. If not, see
+* <http://www.gnu.org/licenses/>.
+
+* Authors:
+* DSB: David S. Berry (JACH - UCLan)
+
+* History:
+* 20-JUN-2007 (DSB):
+* Original version.
+*-
+*/
+
+int PG3DRotateEye( int, float );
+int PG3DSetCamera( float[3], float[3], float[3], float );
+int PG3DSetEye( float[3] );
+int PG3DSetTarget( float[3] );
+int PG3DSetUp( float[3] );
+int PG3DSetScreen( float );
+int PG3DForward( float );
+int PG3DAutoCamera( float[3], float[3] );
+int PG3DFindNearest( int, float *, float *, float *, int * );
+
+#endif