Changeset 155 for osgVisual/include
- Timestamp:
- Nov 12, 2010, 8:51:06 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/include/vista2D/visual_vista2D.h
r153 r155 16 16 */ 17 17 18 // Vista 2D 18 19 #include "VistaView.h" 19 20 21 // C++ libraries 20 22 #include <string> 21 23 24 // XML Parser 25 #include <stdio.h> 26 #include <libxml/parser.h> 27 #include <libxml/tree.h> 28 29 // OSG Includes 22 30 #include <osg/Drawable> 23 31 #include <osg/Geode> … … 28 36 #include <osgDB/FileUtils> 29 37 38 // osgVisual Includes 39 #include <visual_util.h> 30 40 31 41 namespace osgVisual … … 91 101 private: 92 102 93 bool processXMLConfiguration();103 static bool processXMLConfiguration(std::string& configFileName, std::string& vistaProjectfile, bool& paintBackground, int& position_x, int& position_y, float& zoom); 94 104 95 105 /** 96 106 * \brief This function initialized the visual_vista2D object after instantiation by createVistaOverlay() 97 107 */ 98 void startVista2D( );108 void startVista2D(std::string vistaProjectfile, bool paintBackground, int posX, int posY, float zoom); 99 109 100 110 /** … … 113 123 Vista2D::VistaView* view; 114 124 115 / **116 * XML config filename117 */118 std::string configFileName;125 ///** 126 // * XML config filename 127 // */ 128 //std::string configFileName; 119 129 120 / **121 * Filename of the Vista2D project file.122 */123 std::string filename;130 ///** 131 // * Filename of the Vista2D project file. 132 // */ 133 //std::string filename; 124 134 125 / **126 * Should the background of the Vista2D project be painted?127 */128 bool paintBackground;135 ///** 136 // * Should the background of the Vista2D project be painted? 137 // */ 138 //bool paintBackground; 129 139 130 / **131 * X-Position to draw.132 */133 int position_x;140 ///** 141 // * X-Position to draw. 142 // */ 143 //int position_x; 134 144 135 / **136 * Y-Position to draw.137 */138 int position_y;145 ///** 146 // * Y-Position to draw. 147 // */ 148 //int position_y; 139 149 140 / **141 * Zoom factor to draw the project.142 */143 double zoom;150 ///** 151 // * Zoom factor to draw the project. 152 // */ 153 //double zoom; 144 154 }; 145 155
Note: See TracChangeset
for help on using the changeset viewer.