Changeset 153 for osgVisual/include
- Timestamp:
- Nov 11, 2010, 9:03:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/include/vista2D/visual_vista2D.h
r32 r153 17 17 18 18 #include "VistaView.h" 19 20 #include <string> 19 21 20 22 #include <osg/Drawable> … … 70 72 * @return : True if successful. 71 73 */ 72 static bool createVistaOverlay( std::string vista2DFilename_, osg::CoordinateSystemNode *sceneGraphRoot_);74 static bool init( osg::CoordinateSystemNode *sceneGraphRoot_, std::string configFileName ); 73 75 74 76 /** … … 88 90 89 91 private: 92 93 bool processXMLConfiguration(); 94 90 95 /** 91 96 * \brief This function initialized the visual_vista2D object after instantiation by createVistaOverlay() 92 *93 * @param vista2DFilename_ : Vista2D project file to instantiate.94 97 */ 95 void init(std::string vista2DFilename_);98 void startVista2D(); 96 99 97 100 /** … … 109 112 */ 110 113 Vista2D::VistaView* view; 114 115 /** 116 * XML config filename 117 */ 118 std::string configFileName; 119 120 /** 121 * Filename of the Vista2D project file. 122 */ 123 std::string filename; 124 125 /** 126 * Should the background of the Vista2D project be painted? 127 */ 128 bool paintBackground; 129 130 /** 131 * X-Position to draw. 132 */ 133 int position_x; 134 135 /** 136 * Y-Position to draw. 137 */ 138 int position_y; 139 140 /** 141 * Zoom factor to draw the project. 142 */ 143 double zoom; 111 144 }; 112 145
Note: See TracChangeset
for help on using the changeset viewer.