class SUIT_ResourceMgr;
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
/*!
\class LightApp_Dialog
Base class for all LightApp dialogs.
QPixmap myPixmap;
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif
#ifndef LIGHTAPP_MODULE_H
#define LIGHTAPP_MODULE_H
-#pragma warning( disable : 4251 )
-
#include "LightApp.h"
#include <CAM_Module.h>
class QString;
class QVariant;
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
/*!
\class LightApp_Module
Base class for all light modules
int myDisplay, myErase, myDisplayOnly, myEraseAll;
};
-#pragma warning( default : 4251 )
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
#endif
#include <qaction.h>
#include <qmap.h>
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
class QTX_EXPORT QtxAction : public QAction
{
Q_OBJECT
QMap<QWidget*,int> myMenuIds;
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif
class QString;
class QIconSet;
class QLabel;
+
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
/*! \class QObject
* \brief For more information see <a href="http://doc.trolltech.com">QT documentation</a>.
*/
#define APP_CREATE_NAME "createApplication"
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif
extern int SALOME_POINT_SIZE;
extern int SALOME_LINE_WIDTH;
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
//! The class is a basic one for all SALOME VTK presentation.
/*!
It provide highlight and prehighlight capabilites,
vtkSmartPointer<vtkOutlineSource> myOutline;
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif // SALOME_ACTOR_H
class SALOME_Actor;
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
//! This class used for internal SVTK package purpose (highlight and prehighlight)
class SVTK_EXPORT SVTK_Actor : public SVTK_DeviceActor
{
~SVTK_Actor();
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif
#include "SVTK.h"
#include "VTKViewer.h"
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
#ifndef WNT
class VTK_HYBRID_EXPORT SVTK_CubeAxesActor2D : public vtkCubeAxesActor2D
#else
void operator=(const SVTK_CubeAxesActor2D&); // Not implemented.
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif
}
}
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
class SVTK_EXPORT SVTK_DeviceActor: public vtkLODActor
{
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
#endif //SVTK_DEVICE_ACTOR_H
class SVTK_Selector;
class SVTK_Renderer;
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
/*!
\class QVTK_GenericRenderWindowInteractor
QWidget* myRenderWidget; //!< Keeps a pointer to QWidget, where vtkRenderWindow maps to.
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif
#include <map>
#include <vtkObject.h>
+
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
//
//! Control the value of increment in SALOME way.
/*!
vtkSmartPointer<vtkPicker> myPicker;
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif
class vtkRenderer;
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
/*! \class vtkAbstractPropPicker
* \brief For more information see <a href="http://www.vtk.org/">VTK documentation
*/
vtkRenderer*);
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif
class SVTK_Selector;
class SVTK_Renderer;
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
/*!
\class QVTK_RenderWindowInteractor
Implements Qt based vtkRenderWindowInteractor.
TInteractorStyles myInteractorStyles;
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
#endif
class VTKViewer_Actor;
class SVTK_Selector;
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
/*!
\class SVTK_Renderer
vtkFloatingPointType myBndBox[6];
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif
extern int VTKViewer_POINT_SIZE;
extern int VTKViewer_LINE_WIDTH;
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
/*! \class vtkLODActor
* \brief For more information see <a href="http://www.vtk.org/">VTK documentation</a>
*/
bool myIsHighlighted;
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif // VTKVIEVER_ACTOR_H
class vtkPoints;
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
/*! \brief This class used same as vtkAppendFilter. See documentation on VTK for more information.
*/
class VTKVIEWER_EXPORT VTKViewer_AppendFilter : public vtkAppendFilter
vtkSmartPointer<vtkPoints> myPoints;
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif
class vtkCell;
class vtkGenericCell;
class vtkQuad;
+
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
/*!Rectangular cell picker class.*/
class VTK_EXPORT VTKViewer_CellRectPicker : public VTKViewer_RectPicker
{
vtkQuad* Quad2;
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif
#include <set>
#include <map>
#include <vector>
+
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
/*! \class vtkUnstructuredGridToUnstructuredGridFilter
* \brief For more information see <a href="http://www.vtk.org/">VTK documentation</a>
*/
void operator=(const VTKViewer_ExtractUnstructuredGrid&);
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif
}
-vtkIdType VTKViewer_GeometryFilter::GetElemObjId(int theVtkID){
- if(myVTK2ObjIds.empty() || theVtkID > myVTK2ObjIds.size()) return -1;
+vtkIdType VTKViewer_GeometryFilter::GetElemObjId( int theVtkID )
+{
+ if( myVTK2ObjIds.empty() || theVtkID > (int)myVTK2ObjIds.size() )
+ return -1;
#if defined __GNUC_2__
return myVTK2ObjIds[theVtkID];
#else
#include <vtkGeometryFilter.h>
#include <vector>
+
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
/*! \brief This class used same as vtkGeometryFilter. See documentation on VTK for more information.
*/
class VTKVIEWER_EXPORT VTKViewer_GeometryFilter : public vtkGeometryFilter
int myIsWireframeMode;
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif
#define VTK_INTERACTOR_STYLE_CAMERA_SELECT 6
#define VTK_INTERACTOR_STYLE_CAMERA_GLOBAL_PAN 7
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
/*! Description:\n
* This class must be supplied with a vtkRenderWindowInteractor wrapper or\n
* parent. This class should not normally be instantiated by application\n
//@}
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif
#include <vector>
+#ifdef WIN32
+#pragma warning ( disable:4251 )
+#endif
+
/*!Shrink cells composing an arbitrary data set.
*\warning It is possible to turn cells inside out or cause self intersection in special cases.
*/
TVectorId myVTK2ObjIds;
};
+#ifdef WIN32
+#pragma warning ( default:4251 )
+#endif
+
#endif