Ignore:
Timestamp:
Nov 12, 2010, 8:51:06 AM (13 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/include/vista2D/visual_vista2D.h

    r153 r155  
    1616*/
    1717
     18// Vista 2D
    1819#include "VistaView.h"
    1920
     21// C++ libraries
    2022#include <string>
    2123
     24// XML Parser
     25#include <stdio.h>
     26#include <libxml/parser.h>
     27#include <libxml/tree.h>
     28
     29// OSG Includes
    2230#include <osg/Drawable>
    2331#include <osg/Geode>
     
    2836#include <osgDB/FileUtils>
    2937
     38// osgVisual Includes
     39#include <visual_util.h>
    3040
    3141namespace osgVisual
     
    91101private:
    92102
    93         bool processXMLConfiguration();
     103        static bool processXMLConfiguration(std::string& configFileName, std::string& vistaProjectfile, bool& paintBackground, int& position_x, int& position_y, float& zoom);
    94104
    95105        /**
    96106         * \brief This function initialized the visual_vista2D object after instantiation by createVistaOverlay()
    97107         */
    98         void startVista2D();
     108        void startVista2D(std::string vistaProjectfile, bool paintBackground, int posX, int posY, float zoom);
    99109
    100110        /**
     
    113123        Vista2D::VistaView* view;
    114124
    115         /**
    116         * XML config filename
    117         */
    118         std::string configFileName;
     125        ///**
     126        // * XML config filename
     127        // */
     128        //std::string configFileName;
    119129
    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;
    124134
    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;
    129139
    130         /**
    131         * X-Position to draw.
    132         */
    133         int position_x;
     140        ///**
     141        // * X-Position to draw.
     142        // */
     143        //int position_x;
    134144
    135         /**
    136         * Y-Position to draw.
    137         */
    138         int position_y;
     145        ///**
     146        // * Y-Position to draw.
     147        // */
     148        //int position_y;
    139149
    140         /**
    141         * Zoom factor to draw the project.
    142         */
    143         double zoom;
     150        ///**
     151        // * Zoom factor to draw the project.
     152        // */
     153        //double zoom;
    144154};
    145155
Note: See TracChangeset for help on using the changeset viewer.