Changeset 156 for osgVisual/include
- Timestamp:
- Nov 12, 2010, 9:13:14 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/include/vista2D/visual_vista2D.h
r155 r156 82 82 * @return : True if successful. 83 83 */ 84 staticbool init( osg::CoordinateSystemNode *sceneGraphRoot_, std::string configFileName );84 bool init( osg::CoordinateSystemNode *sceneGraphRoot_, std::string configFileName ); 85 85 86 86 /** … … 101 101 private: 102 102 103 static bool processXMLConfiguration(std::string& configFileName, std::string& vistaProjectfile, bool& paintBackground, int& position_x, int& position_y, float& zoom);103 bool processXMLConfiguration(); 104 104 105 105 /** 106 106 * \brief This function initialized the visual_vista2D object after instantiation by createVistaOverlay() 107 107 */ 108 void startVista2D( std::string vistaProjectfile, bool paintBackground, int posX, int posY, float zoom);108 void startVista2D(); 109 109 110 110 /** 111 111 * \brief This function implements the pure OpenGL draw by calling Vista2D's draw funtion. 112 112 * 113 * Because Vis rta2D manipulates OpenGLs stateset, this function saves the113 * Because Vista2D manipulates OpenGLs stateset, this function saves the 114 114 * OSG statset at the beginning and restores it after the drawing of Vista2D 115 115 * … … 123 123 Vista2D::VistaView* view; 124 124 125 / //**126 //* XML config filename127 //*/128 //std::string configFileName;125 /** 126 * XML config filename 127 */ 128 std::string configFileName; 129 129 130 / //**131 //* Filename of the Vista2D project file.132 //*/133 //std::string filename;130 /** 131 * Filename of the Vista2D project file. 132 */ 133 std::string vistaProjectfile; 134 134 135 / //**136 //* Should the background of the Vista2D project be painted?137 //*/138 //bool paintBackground;135 /** 136 * Should the background of the Vista2D project be painted? 137 */ 138 bool paintBackground; 139 139 140 / //**141 //* X-Position to draw.142 //*/143 //int position_x;140 /** 141 * X-Position to draw. 142 */ 143 int position_x; 144 144 145 / //**146 //* Y-Position to draw.147 //*/148 //int position_y;145 /** 146 * Y-Position to draw. 147 */ 148 int position_y; 149 149 150 ///** 151 // * Zoom factor to draw the project. 152 // */ 153 //double zoom; 150 /** 151 * Zoom factor to draw the project. 152 */ 153 double zoom; 154 155 /** 156 * Flag if Vista2D should animate the project according to it's data sources. 157 */ 158 bool playanimation; 154 159 }; 155 160
Note: See TracChangeset
for help on using the changeset viewer.