C++ SDK Reference  12.5
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
diguy_graphics_none.h
Go to the documentation of this file.
1 
2 /*
3  * Copyright (C) 1992-2013 Boston Dynamics
4  * ALL RIGHTS RESERVED.
5  *
6  * These coded instructions, statements, and computer programs
7  * contain unpublished proprietary information of Boston Dynamics
8  * and are protected by Copyright Laws of the United States.
9  * They may not be used, duplicated, or disclosed in any form, in
10  * whole or in part, without the prior written consent from Boston
11  * Dynamics.
12  *
13  * RESTRICTED RIGHTS LEGEND
14  * Use, duplication, or disclosure by the government is subject
15  * to restrictions as set forth in FAR 52.227.19(c)(2) or
16  * subparagraph (c)(1)(ii) of the Rights in Technical Data and
17  * Computer Software clause at DFARS 252.227-7013 and/or in
18  * similar or successor clauses in the FAR, or the DOD or NASA
19  * FAR Supplement, or to subparagraphs (c)(1) and (c)(2) of the
20  * Commercial Computer Software--Restricted Rights at 48 CFR
21  * 52.227-19, as applicable. Unpublished-rights reserved under
22  * the Copyright Laws of the United States.
23  * Contractor/Manufacturer is:
24  * Boston Dynamics/78 Fourth Avenue/Waltham MA 02451.
25  */
26 
27 /*********************************************************************
28  **
29  *t DI-Guy API, No Graphics Module
30  **
31  *b Link against: libdiguy_graphics_none
32  */
33 
34 #ifndef __diguy_graphics_none_H
35 #define __diguy_graphics_none_H
36 
37 #include <diguy_api.h>
38 #include <bdigraphics/graphics_init_none.h>
39 
41 
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45 
46 
47 /*****************************************************************************
48  **
49  *2 Functions
50  **
51  */
52 
53 /*l
54  *b Description:
55  **
56  ** This function initializes the DI-Guy Runtime API for use
57  ** without a rendering environment.
58  **
59  ** Use diguy_none_get_defaults() to fill out the init structure before
60  ** changing specific entries.
61  **
62  *b Arguments:
63  **
64  *a init - pointer to type bdiGraphicsInitNone; passing NULL will cause
65  *a defaults to be used for all values
66  **
67  *b Returns:
68  **
69  ** 0 on success, non-zero error code on failure
70  **
71  ** Refer to diguy_constants.h for error code values.
72  */
73 BDI_DECLSPEC_diguy_graphics int
74 diguy_none_initialize(bdiGraphicsInitNone* init);
75 
76 /*l
77  *b Description:
78  **
79  ** Fills out the init structure with default values. Selected entries can
80  ** then be changed before calling diguy_none_initialize().
81  **
82  *b Arguments:
83  **
84  *a init - pointer to type bdiGraphicsInitNone
85  **
86  *b Returns:
87  **
88  ** 0 on success, -1 on failure
89  */
90 BDI_DECLSPEC_diguy_graphics int
91 diguy_none_get_defaults(bdiGraphicsInitNone* init);
92 
93 
94 #ifdef __cplusplus
95 }
96 #endif
97 
98 
99 #endif /* __diguy_graphics_none_H */
100 
101 
102 /*
103  * Copyright (C) 1992-2013 Boston Dynamics
104  * ALL RIGHTS RESERVED.
105  *
106  * These coded instructions, statements, and computer programs
107  * contain unpublished proprietary information of Boston Dynamics
108  * and are protected by Copyright Laws of the United States.
109  * They may not be used, duplicated, or disclosed in any form, in
110  * whole or in part, without the prior written consent from Boston
111  * Dynamics.
112  *
113  * RESTRICTED RIGHTS LEGEND
114  * Use, duplication, or disclosure by the government is subject
115  * to restrictions as set forth in FAR 52.227.19(c)(2) or
116  * subparagraph (c)(1)(ii) of the Rights in Technical Data and
117  * Computer Software clause at DFARS 252.227-7013 and/or in
118  * similar or successor clauses in the FAR, or the DOD or NASA
119  * FAR Supplement, or to subparagraphs (c)(1) and (c)(2) of the
120  * Commercial Computer Software--Restricted Rights at 48 CFR
121  * 52.227-19, as applicable. Unpublished-rights reserved under
122  * the Copyright Laws of the United States.
123  * Contractor/Manufacturer is:
124  * Boston Dynamics/78 Fourth Avenue/Waltham MA 02451.
125  */
126