ViewProviderTransform.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (c) 2004 Werner Mayer <wmayer[at]users.sourceforge.net>     *
00003  *                                                                         *
00004  *   This file is part of the FreeCAD CAx development system.              *
00005  *                                                                         *
00006  *   This library is free software; you can redistribute it and/or         *
00007  *   modify it under the terms of the GNU Library General Public           *
00008  *   License as published by the Free Software Foundation; either          *
00009  *   version 2 of the License, or (at your option) any later version.      *
00010  *                                                                         *
00011  *   This library  is distributed in the hope that it will be useful,      *
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00014  *   GNU Library General Public License for more details.                  *
00015  *                                                                         *
00016  *   You should have received a copy of the GNU Library General Public     *
00017  *   License along with this library; see the file COPYING.LIB. If not,    *
00018  *   write to the Free Software Foundation, Inc., 59 Temple Place,         *
00019  *   Suite 330, Boston, MA  02111-1307, USA                                *
00020  *                                                                         *
00021  ***************************************************************************/
00022 
00023 #ifndef MESHGUI_VIEWPROVIDERMESHTRANSFORM_H
00024 #define MESHGUI_VIEWPROVIDERMESHTRANSFORM_H
00025 
00026 class SoSeparator;
00027 class SbVec3f;
00028 class SoSwitch;
00029 class SoCoordinate3;
00030 class SoNormal;
00031 class SoIndexedFaceSet;
00032 class SoFaceSet;
00033 class SoPath;
00034 class SoLocateHighlight;
00035 class SoTransformerManip;
00036 
00037 namespace Gui {
00038   class View3DInventorViewer;
00039 }
00040 
00041 
00042 #include "ViewProvider.h"
00043 
00044 namespace MeshGui {
00045 
00048 class ViewProviderMeshTransform : public ViewProviderMesh
00049 {
00050   PROPERTY_HEADER(MeshGui::ViewProviderMeshTransform);
00051 
00052 public:
00053   ViewProviderMeshTransform();
00054   virtual ~ViewProviderMeshTransform();
00055 
00056 
00061   virtual void attach(App::DocumentObject *);
00062 
00064   virtual void setDisplayMode(const char* ModeName);
00066   virtual const char* getDefaultDisplayMode() const;
00068   virtual std::vector<std::string> getDisplayModes(void) const;
00070   virtual void updateData(const App::Property*);
00071 
00072 protected:
00073 
00074   SoTransformerManip *pcTransformerDragger;
00075 };
00076 
00077 } // namespace MeshGui
00078 
00079 
00080 #endif // MESHGUI_VIEWPROVIDERMESHTRANSFORM_H
00081 

Generated on Wed Nov 23 19:01:01 2011 for FreeCAD by  doxygen 1.6.1