\param isCircle - true if sensitive area of detection is round
\param isShift - true if selection exec with append option
*/
-GLboolean GLViewer_MarkerSet::select( GLfloat x, GLfloat y, GLfloat tol, GLViewer_Rect rect, GLboolean isFull,
+GLboolean GLViewer_MarkerSet::select( GLfloat x, GLfloat y, GLfloat tol, GLViewer_Rect /*rect*/, GLboolean /*isFull*/,
GLboolean isCircle, GLboolean isShift )
{
//GUI_UNUSED(isFull);
\param size - size of polyline
\param toolTip - tool tip of polyline
*/
-GLViewer_Polyline::GLViewer_Polyline( int number, float size, const QString& toolTip ):
+GLViewer_Polyline::GLViewer_Polyline( int number, float /*size*/, const QString& toolTip ):
GLViewer_Object(),
myNumber( 0 ),
myXCoord( 0 ),
\param isCircle - true if sensitive area of detection is round
\return true if highlight status is changed
*/
-GLboolean GLViewer_Polyline::highlight( GLfloat x, GLfloat y, GLfloat tol, GLboolean isCircle )
+GLboolean GLViewer_Polyline::highlight( GLfloat x, GLfloat y, GLfloat /*tol*/, GLboolean /*isCircle*/ )
{
//GUI_UNUSED(isCircle);
//GUI_UNUSED(tol);
\param isCircle - true if sensitive area of detection is round
\param isShift - true if selection exec with append option
*/
-GLboolean GLViewer_Polyline::select( GLfloat x, GLfloat y, GLfloat tol, GLViewer_Rect rect, GLboolean isFull,
- GLboolean isCircle, GLboolean isShift )
+GLboolean GLViewer_Polyline::select( GLfloat x, GLfloat y, GLfloat /*tol*/, GLViewer_Rect /*rect*/, GLboolean /*isFull*/,
+ GLboolean /*isCircle*/, GLboolean /*isShift*/ )
{
- //GUI_UNUSED(isCircle);
- //GUI_UNUSED(isFull);
- //GUI_UNUSED(isShift);
- //GUI_UNUSED(rect);
- //GUI_UNUSED(tol);
if( !myIsVisible )
return false;
GLfloat xa, xb, ya, yb, l;
\param isCircle - true if sensitive area of detection is round
\param isShift - true if selection exec with append option
*/
-GLboolean GLViewer_TextObject::select( GLfloat theX, GLfloat theY, GLfloat theTol, GLViewer_Rect rect,
- GLboolean isFull, GLboolean isCircle, GLboolean isShift )
+GLboolean GLViewer_TextObject::select( GLfloat theX, GLfloat theY, GLfloat theTol, GLViewer_Rect /*rect*/,
+ GLboolean /*isFull*/, GLboolean isCircle, GLboolean /*isShift*/ )
{
- //GUI_UNUSED(isFull);
- //GUI_UNUSED(isShift);
- //GUI_UNUSED(rect);
if( !myIsVisible )
return false;
\param xPan and \param yPan - offsets along x and y direction
\param xScale and \param yScal - scale factors along x and y direction
*/
-GLViewer_Grid::GLViewer_Grid( GLfloat width, GLfloat height,
- GLfloat winW, GLfloat winH,
- GLfloat xSize, GLfloat ySize,
- GLfloat xPan, GLfloat yPan,
- GLfloat xScale, GLfloat yScale ) :
+GLViewer_Grid::GLViewer_Grid( GLfloat /*width*/, GLfloat /*height*/,
+ GLfloat /*winW*/, GLfloat /*winH*/,
+ GLfloat /*xSize*/, GLfloat /*ySize*/,
+ GLfloat /*xPan*/, GLfloat /*yPan*/,
+ GLfloat /*xScale*/, GLfloat /*yScale*/ ) :
myGridList( 0 ), myGridHeight( (GLfloat)0.0 ), myGridWidth( (GLfloat)0.0 ),
myWinW( (GLfloat)0.0 ), myWinH( (GLfloat)0.0 ), myXSize( (GLfloat)0.0 ), myYSize( (GLfloat)0.0 ),
myXPan( (GLfloat)0.0 ), myYPan( (GLfloat)0.0 ), myXScale( (GLfloat)1.0 ), myYScale( (GLfloat)1.0 ),
myLineWidth( (GLfloat)0.05 ), myCenterWidth( (GLfloat)1.5 ), myCenterRadius( (GLfloat)5.0 ),
myScaleFactor( 10 ), myIsUpdate( GL_FALSE )
{
- //GUI_UNUSED(height);
- //GUI_UNUSED(width);
- //GUI_UNUSED(winH);
- //GUI_UNUSED(winW);
- //GUI_UNUSED(xPan);
- //GUI_UNUSED(xScale);
- //GUI_UNUSED(xSize);
- //GUI_UNUSED(yPan);
- //GUI_UNUSED(yScale);
- //GUI_UNUSED(ySize);
myGridColor[0] = 0.5;
myGridColor[1] = 0.5;
myGridColor[2] = 0.5;
virtual void move( double theDX, double theDY, bool theIsAtOnce = false );
virtual bool finishMove( bool theStatus );
virtual bool isMoving() const { return myIsMoving; }
- virtual bool isMovingByXAllowed( double theDX ) {/*GUI_UNUSED(theDX);*/ return true; }
- virtual bool isMovingByYAllowed( double theDY ) {/*GUI_UNUSED(theDY);*/ return true; }
+ virtual bool isMovingByXAllowed( double /*theDX*/ ) { return true; }
+ virtual bool isMovingByYAllowed( double /*theDY*/ ) { return true; }
- virtual bool updateScale( bool theIsScaleUp, bool theIsCtrl ) {/*GUI_UNUSED(theIsScaleUp);GUI_UNUSED(theIsCtrl);*/ return false; }
+ virtual bool updateScale( bool /*theIsScaleUp*/, bool /*theIsCtrl*/ ) { return false; }
virtual QRectF getPullingRect() const { return getRect(); }
virtual bool portContains( const QPointF& ) { return false; }
// Function : checkSelection
// Purpose :
//================================================================
-void GraphicsView_Selector::checkSelection( int selBefore, bool append, int theStatus )
+void GraphicsView_Selector::checkSelection( int selBefore, bool /*append*/, int theStatus )
{
- //GUI_UNUSED(append);
int selAfter = numSelected();
if ( selBefore > 0 && selAfter < 1 )
emit selSelectionCancel();
{
OCCVIEWER_EXPORT Quantity_Color color( const QColor& );
OCCVIEWER_EXPORT QColor color( const Quantity_Color& );
-};
+}
#endif //OCCVIEWER_H
gp_Pnt aBasePnt;
gp_Dir aNormal;
clipPlaneParams(aClipPlane, ic, aSize, aBasePnt, aNormal, myModel->trihedronSize());
- if(myPreviewPlaneVector.size() < clipPlanesCount()) {
+ if(myPreviewPlaneVector.size() < (size_t)clipPlanesCount()) { //TODO: mismatch signed/unsigned
myPreviewPlaneVector.resize(clipPlanesCount());
}
myPreviewPlane = myPreviewPlaneVector[aCurPlaneIndex];
myPreviewPlaneVector[aCurPlaneIndex].Nullify();
}
}
- for(int i = 0; i < myPreviewPlaneVector.size(); i++) {
+ for(int i = 0; i < (int)myPreviewPlaneVector.size(); i++) {//TODO: mismatch signed/unsigned
if( i == aCurPlaneIndex ) continue;
if(!myPreviewPlaneVector[i].IsNull())
ic->SetColor( myPreviewPlaneVector[i], Quantity_Color( 85 / 255., 85 / 255., 255 / 255., Quantity_TOC_RGB ), false );
Handle(AIS_InteractiveContext) ic = myModel->getAISContext();
- for ( int i=0; i < myPreviewPlaneVector.size(); i++ ) {
+ for ( int i=0; i < (int)myPreviewPlaneVector.size(); i++ ) {//TODO: mismatch signed/unsigned
Handle(AIS_Plane) myPreviewPlane = myPreviewPlaneVector[i];
if ( !myPreviewPlane.IsNull() && ic->IsDisplayed( myPreviewPlane ) ) {
ic->Erase( myPreviewPlane, false );
virtual void activateRotation() {}
virtual void activatePanning() {}
virtual void activateGlobalPanning() {}
- virtual void onSetRotationPoint( bool on ) {/*GUI_UNUSED(on);*/}
+ virtual void onSetRotationPoint( bool /*on*/ ) {}
virtual void onAxialScale() {}
virtual void onAmbientToogle() {}
virtual void onMemorizeView() {}
virtual void onRestoreView() {}
- virtual void onSwitchInteractionStyle( bool on ) {/*GUI_UNUSED(on);*/ }
+ virtual void onSwitchInteractionStyle( bool /*on*/ ) {}
virtual void activateSetRotationGravity() {}
- virtual void activateSetRotationSelected( double theX, double theY, double theZ ) {/*GUI_UNUSED(theX);GUI_UNUSED(theY);GUI_UNUSED(theZ);*/}
+ virtual void activateSetRotationSelected( double /*theX*/, double /*theY*/, double /*theZ*/ ) {}
virtual void activateStartPointSelection( TopAbs_ShapeEnum ) {}
virtual void updateGravityCoords() {}
Draws bar of histogram and on it bars of histograms with lower height.
*/
void Plot2d_HistogramItem::drawRectAndLowers( QPainter* thePainter,
- Qt::Orientation theOr,
+ Qt::Orientation /*theOr*/,
const QRect& theRect ) const
{
QRect aRect = theRect;
return aRes;
}
-QwtGraphic Plot2d_HistogramItem::legendIcon( int index, const QSizeF &size ) const
+QwtGraphic Plot2d_HistogramItem::legendIcon( int /*index*/, const QSizeF &size ) const
{
return defaultIcon( color(), size );
}
/*!
Sets curve type
*/
-void Plot2d_ViewFrame::setCurveType( QwtPlotCurve* curve, int curveType )
+void Plot2d_ViewFrame::setCurveType( QwtPlotCurve* curve, int /*curveType*/ )
{
if ( !curve )
return;
QwtPlotGrid* Plot2d_Plot2d::grid() const
{
return myGrid;
-};
+}
QwtPlotZoomer* Plot2d_Plot2d::zoomer() const
{
//! \retval Return false.
virtual bool isVisible( const Handle(SALOME_InteractiveObject)& ){ return false; }
virtual void Repaint() {} //!< Null body here.
- virtual void GetVisible( SALOME_ListIO& theList ) {/*GUI_UNUSED(theList);*/}
+ virtual void GetVisible( SALOME_ListIO& /*theList*/ ) {/*GUI_UNUSED(theList);*/}
};
/*!
}
return mySizeHint;
}
- void paintEvent( QPaintEvent* e )
+ void paintEvent( QPaintEvent* /*e*/ )
{
QStylePainter sp(this);
QStyleOptionButton option;
\brief Paint widget
\param e paint event
*/
-void QtxColorScale::paintEvent( QPaintEvent* e )
+void QtxColorScale::paintEvent( QPaintEvent* /*e*/ )
{
QPainter p( this );
drawFrame( &p );
myWidget( wid )
{
QApplication::instance()->installEventFilter( this );
-};
+}
/*!
\brief Destructor.
setPosition( p );
myRubber->hide();
-};
+}
/*!
\brief Destructor.
\param param resource file parameter associated with the preference item
*/
QtxPagePrefShortcutTreeItem::QtxPagePrefShortcutTreeItem( const QString& title, QtxPreferenceItem* parent, const QString& sect,
- const QString& param ): QtxPageNamedPrefItem( title, parent, sect, "" )
+ const QString& /*param*/ ): QtxPageNamedPrefItem( title, parent, sect, "" )
{
mySection = sect;
\param option style option
\param index data model index
*/
-QWidget* QtxPathListEdit::Delegate::createEditor( QWidget* parent, const QStyleOptionViewItem& option,
- const QModelIndex& index ) const
+QWidget* QtxPathListEdit::Delegate::createEditor( QWidget* parent, const QStyleOptionViewItem& /*option*/,
+ const QModelIndex& /*index*/ ) const
{
return myPathEdit->createEditor( parent );
}
\param model data model
\param index data model index
*/
-void QtxPathListEdit::Delegate::setModelData( QWidget* editor, QAbstractItemModel* model,
+void QtxPathListEdit::Delegate::setModelData( QWidget* editor, QAbstractItemModel* /*model*/,
const QModelIndex& index ) const
{
myPathEdit->setModelData( editor, index );
\param rect selection rectangle
*/
void QtxPathListEdit::Delegate::drawFocus( QPainter* painter, const QStyleOptionViewItem& option,
- const QRect& rect ) const
+ const QRect& /*rect*/ ) const
{
QItemDelegate::drawFocus( painter, option, option.rect );
}
\param event event
\return \c true if further event processing should be stopped
*/
-bool QtxShortcutTree::eventFilter(QObject* obj, QEvent* event)
+bool QtxShortcutTree::eventFilter(QObject* /*obj*/, QEvent* event)
{
if ( currentItem() && currentItem()->isSelected() ) {
\param cur the current item
\param prev the previous current item
*/
-void QtxShortcutTree::onCurrentItemChanged( QTreeWidgetItem* cur, QTreeWidgetItem* prev )
+void QtxShortcutTree::onCurrentItemChanged( QTreeWidgetItem* /*cur*/, QTreeWidgetItem* prev )
{
if ( prev && prev->text( 1 ).endsWith( "+" ) )
prev->setText( 1, myPrevBindings[ prev->parent()->text( 0 ) ][ prev->text( 0 ) ] );
\brief Called when child widget container is shown.
\param c child widget container being shown
*/
-void QtxWorkstackArea::onChildShown( QtxWorkstackChild* c )
+void QtxWorkstackArea::onChildShown( QtxWorkstackChild* /*c*/ )
{
updateState();
}
\brief Called when child widget container is hidden.
\param c child widget container being hidden
*/
-void QtxWorkstackArea::onChildHidden( QtxWorkstackChild* c )
+void QtxWorkstackArea::onChildHidden( QtxWorkstackChild* /*c*/ )
{
updateState();
}
\brief Called when child widget is destroyed.
\param obj child widget being destroyed
*/
-void QtxWorkstackChild::onDestroyed( QObject* obj )
+void QtxWorkstackChild::onDestroyed( QObject* /*obj*/ )
{
deleteLater();
}
\brief Process action activated by the user.
\param type action ID
*/
-void QtxWorkstackAction::perform( const int type )
+void QtxWorkstackAction::perform( const int /*type*/ )
{
/*
switch ( type )
/*!
Set background of the viewport
*/
-void QxScene_ViewWindow::setBackgroundColor( const QColor& color )
+void QxScene_ViewWindow::setBackgroundColor( const QColor& /*color*/ )
{
- //GUI_UNUSED(color);
DEBTRACE("QxScene_ViewWindow::setBackgroundColor");
}
/*!
Custom resize event handler
*/
-void QxScene_ViewWindow::resizeEvent( QResizeEvent* theEvent )
+void QxScene_ViewWindow::resizeEvent( QResizeEvent* /*theEvent*/ )
{
- //GUI_UNUSED(theEvent);
DEBTRACE("QxScene_ViewWindow::resizeEvent");
}
void onViewReset();
protected:
- void resizeEvent( QResizeEvent* theEvent );
+ void resizeEvent( QResizeEvent* /*theEvent*/ );
QGraphicsScene* _scene;
QGraphicsView* _sceneView;
return true;
}
-int STD_Application::closeChoice( const QString& docName )
+int STD_Application::closeChoice( const QString& /*docName*/ )
{
int answer = SUIT_MessageBox::question( desktop(), tr( "CLOSE_STUDY" ), tr( "CLOSE_QUESTION" ),
SUIT_MessageBox::Save | SUIT_MessageBox::Discard | SUIT_MessageBox::Cancel,
return res;
}
-bool STD_Application::closeAction( const int choice, bool& closePermanently )
+bool STD_Application::closeAction( const int choice, bool& /*closePermanently*/ )
{
bool res = true;
switch( choice )
\param obj starting object for updating
\param autoOpen if \c true automatically open branches
*/
-void SUIT_DataBrowser::updateTree( SUIT_DataObject* obj, const bool autoOpen )
+void SUIT_DataBrowser::updateTree( SUIT_DataObject* obj, const bool /*autoOpen*/ )
{
//GUI_UNUSED(autoOpen);
SUIT_ProxyModel* m = qobject_cast<SUIT_ProxyModel*>( model() );
\brief Called when item specified by index is expanded.
\internal
*/
-void SUIT_DataBrowser::onExpanded( const QModelIndex& index )
+void SUIT_DataBrowser::onExpanded( const QModelIndex& /*index*/ )
{
//GUI_UNUSED(index);
if (myResizeOnExpandItem) {
}
bool SUIT_TreeModel::dropMimeData( const QMimeData* data, Qt::DropAction action,
- int row, int column, const QModelIndex& parent )
+ int row, int /*column*/, const QModelIndex& parent )
{
//GUI_UNUSED(column);
if ( action == Qt::IgnoreAction )
/*!
"Synchronize View" action slot.
*/
-void SUIT_ViewWindow::onSynchronizeView( bool checked )
+void SUIT_ViewWindow::onSynchronizeView( bool /*checked*/ )
{
//GUI_UNUSED(checked);
QAction* a = qobject_cast<QAction*>( sender() );
int VTKViewer_LINE_WIDTH = 3;
-vtkStandardNewMacro(VTKViewer_Actor);
+vtkStandardNewMacro(VTKViewer_Actor)
/*!
Constructor
*/
void
VTKViewer_Actor
-::SetMaterial(std::vector<vtkProperty*> theProps)
+::SetMaterial(std::vector<vtkProperty*> /*theProps*/)
{
}
-vtkCxxSetObjectMacro(VTKViewer_Actor,PreviewProperty,vtkProperty);
+vtkCxxSetObjectMacro(VTKViewer_Actor,PreviewProperty,vtkProperty)
public:
static VTKViewer_Actor* New();
- vtkTypeMacro(VTKViewer_Actor,vtkLODActor);
+ vtkTypeMacro(VTKViewer_Actor,vtkLODActor)
//----------------------------------------------------------------------------
//! Get its name
//! Is notified on enabling/disabling selection
virtual
void
- EnableSelection( bool enable ) {}
+ EnableSelection( bool /*enable*/ ) {}
//! Ask, if the descendant of the VTKViewer_Actor will implement its own highlight or not
virtual
/*! \fn vtkTypeMacro(VTKViewer_AppendFilter, vtkAppendFilter)
* \brief VTK type revision macros.
*/
- vtkTypeMacro(VTKViewer_AppendFilter, vtkAppendFilter);
+ vtkTypeMacro(VTKViewer_AppendFilter, vtkAppendFilter)
void SetDoMappingFlag(const bool theFlag);
#include <vtkPolyData.h>
#include <vtkCellArray.h>
-vtkStandardNewMacro(VTKViewer_CellCenters);
+vtkStandardNewMacro(VTKViewer_CellCenters)
/*!
* Class : VTKViewer_CellCenters
class VTKVIEWER_EXPORT VTKViewer_CellCenters : public vtkCellCenters
{
public:
- vtkTypeMacro(VTKViewer_CellCenters,vtkCellCenters);
+ vtkTypeMacro(VTKViewer_CellCenters,vtkCellCenters)
static VTKViewer_CellCenters *New();
#include <vtkObjectFactory.h>
-vtkStandardNewMacro(VTKViewer_CellLocationsArray);
+vtkStandardNewMacro(VTKViewer_CellLocationsArray)
{
static VTKViewer_CellLocationsArray* New();
- vtkTypeMacro(VTKViewer_CellLocationsArray,TCellLocationsArray);
+ vtkTypeMacro(VTKViewer_CellLocationsArray,TCellLocationsArray)
};
#undef TCellLocationsArray
#include <vtkDataSetSurfaceFilter.h>
#include <vtkObjectFactory.h>
-vtkStandardNewMacro(VTKViewer_DataSetMapper);
+vtkStandardNewMacro(VTKViewer_DataSetMapper)
//----------------------------------------------------------------------------
VTKViewer_DataSetMapper::VTKViewer_DataSetMapper()
#define VTK_XVERSION (VTK_MAJOR_VERSION*10000+VTK_MINOR_VERSION*100+VTK_BUILD_VERSION)
-vtkStandardNewMacro(VTKViewer_ExtractUnstructuredGrid);
+vtkStandardNewMacro(VTKViewer_ExtractUnstructuredGrid)
VTKViewer_ExtractUnstructuredGrid::VTKViewer_ExtractUnstructuredGrid():
vtkIdTypeArray*& theFaces,
vtkIdTypeArray*& theFaceLocations,
vtkIdType theCellId,
- vtkIdList *theIdList,
+ vtkIdList* /*theIdList*/,
bool theStoreMapping,
- vtkIdType theOutId,
+ vtkIdType /*theOutId*/,
VTKViewer_ExtractUnstructuredGrid::TVectorId& theOut2InId/*,
VTKViewer_ExtractUnstructuredGrid::TMapId& theIn2OutId*/)
{
vtkIdType theCellId,
vtkIdList *theIdList,
bool theStoreMapping,
- vtkIdType theOutId,
+ vtkIdType /*theOutId*/,
VTKViewer_ExtractUnstructuredGrid::TVectorId& theOut2InId/*,
VTKViewer_ExtractUnstructuredGrid::TMapId& theIn2OutId*/)
{
{
public:
//! VTK type macros.
- vtkTypeMacro( VTKViewer_ExtractUnstructuredGrid, vtkUnstructuredGridAlgorithm );
+ vtkTypeMacro( VTKViewer_ExtractUnstructuredGrid, vtkUnstructuredGridAlgorithm )
//! \brief Construct with all types of clipping turned off.
static VTKViewer_ExtractUnstructuredGrid *New();
class VTKViewer_Actor;
-DEFINE_STANDARD_HANDLE(VTKViewer_Filter, Standard_Transient);
+DEFINE_STANDARD_HANDLE(VTKViewer_Filter, Standard_Transient)
/*
Class : VTKViewer_Filter
}
//==================================================================
-vtkStandardNewMacro(VTKViewer_FramedTextActor);
+vtkStandardNewMacro(VTKViewer_FramedTextActor)
//==================================================================
// function : VTKViewer_FramedTextActor
enum LayoutType { Vertical = 0, Horizontal };
public:
- vtkTypeMacro(VTKViewer_FramedTextActor,vtkActor2D);
+ vtkTypeMacro(VTKViewer_FramedTextActor,vtkActor2D)
static VTKViewer_FramedTextActor *New();
virtual int RenderOpaqueGeometry(vtkViewport*);
#endif
///////////////////////////////////////////////////////////////////////////////////////////////
-vtkStandardNewMacro(VTKViewer_GeometryFilter);
+vtkStandardNewMacro(VTKViewer_GeometryFilter)
VTKViewer_GeometryFilter
::VTKViewer_GeometryFilter():
VTKViewer_GeometryFilter
::InsertId( const vtkIdType theCellId,
const vtkIdType theCellType,
- TVectorId& theVTK2ObjIds,
+ TVectorId& /*theVTK2ObjIds*/,
TMapOfVectorId& theDimension2VTK2ObjIds )
{
//theVTK2ObjIds.push_back( theCellId );
/*! \fn vtkTypeMacro(VTKViewer_GeometryFilter, vtkGeometryFilter)
* \brief VTK type revision macros.
*/
- vtkTypeMacro(VTKViewer_GeometryFilter, vtkGeometryFilter);
+ vtkTypeMacro(VTKViewer_GeometryFilter, vtkGeometryFilter)
/*! \fn void SetInside(int theShowInside)
* \brief Sets \a myShowInside flag. \a myShowInside is changed, call this->Modified().
* \param theShowInside - used for changing value of \a myShowInside variable.
static void InsertId( const vtkIdType theCellId,
const vtkIdType theCellType,
- TVectorId& theVTK2ObjIds,
+ TVectorId& /*theVTK2ObjIds*/,
TMapOfVectorId& theDimension2VTK2ObjIds );
protected:
}
*/
-vtkStandardNewMacro(VTKViewer_InteractorStyle);
+vtkStandardNewMacro(VTKViewer_InteractorStyle)
/*!Constructor.*/
/*! called when user moves mouse inside viewer window and there is no active viewer operation \n
* (!put necessary processing here!)
*/
-void VTKViewer_InteractorStyle::onCursorMove(QPoint mousePos) {
+void VTKViewer_InteractorStyle::onCursorMove(QPoint /*mousePos*/) {
// processing highlighting
// SUIT_Study* anActiveStudy = SUIT_Application::getDesktop()->getActiveStudy();
// SALOME_Selection* Sel = SALOME_Selection::Selection( anActiveStudy->getSelection() );
{
public:
static VTKViewer_InteractorStyle *New();
- vtkTypeMacro(VTKViewer_InteractorStyle, vtkInteractorStyle);
+ vtkTypeMacro(VTKViewer_InteractorStyle, vtkInteractorStyle)
virtual void SetInteractor(vtkRenderWindowInteractor *theInteractor);
void setViewWnd(VTKViewer_ViewWindow* theViewWnd);
void startRotate();
void startFitArea();
void startSpin();
- void SetTDxStyle(vtkTDxInteractorStyle *tdxStyle) {}
+ void SetTDxStyle(vtkTDxInteractorStyle* /*tdxStyle*/) {}
bool needsRedrawing();
protected:
virtual void onStartOperation();
virtual void onFinishOperation();
virtual void onOperation(QPoint mousePos);
- virtual void onCursorMove(QPoint mousePos);
+ virtual void onCursorMove(QPoint /*mousePos*/);
virtual void setCursor(const int operation);
void drawRect();
public:
static VTKViewer_PolyDataMapper* New();
- vtkTypeMacro( VTKViewer_PolyDataMapper, MAPPER_SUPERCLASS );
+ vtkTypeMacro( VTKViewer_PolyDataMapper, MAPPER_SUPERCLASS )
//! Set point marker enabled
void SetMarkerEnabled( bool );
void setViewWindow( VTKViewer_ViewWindow* theViewWnd );
- void setCellData(const int& theIndex,
- VTKViewer_Actor* theMapActor,
- VTKViewer_Actor* theActor) {}
- void setEdgeData(const int& theCellIndex,
- VTKViewer_Actor* theMapActor,
- const int& theEdgeIndex,
- VTKViewer_Actor* theActor ) {} //NB
- void setPointData(const int& theIndex,
- VTKViewer_Actor* theMapActor,
- VTKViewer_Actor* theActor) {}
+ void setCellData(const int& /*theIndex*/,
+ VTKViewer_Actor* /*theMapActor*/,
+ VTKViewer_Actor* /*theActor*/) {}
+ void setEdgeData(const int& /*theCellIndex*/,
+ VTKViewer_Actor* /*theMapActor*/,
+ const int& /*theEdgeIndex*/,
+ VTKViewer_Actor* /*theActor*/ ) {} //NB
+ void setPointData(const int& /*theIndex*/,
+ VTKViewer_Actor* /*theMapActor*/,
+ VTKViewer_Actor* /*theActor*/) {}
typedef void (*TUpdateActor)(const TColStd_IndexedMapOfInteger& theMapIndex,
VTKViewer_Actor* theMapActor,
public:
/*!Create new instance of VTKViewer_Transform.*/
static VTKViewer_Transform *New();
- vtkTypeMacro( VTKViewer_Transform, vtkTransform );
+ vtkTypeMacro( VTKViewer_Transform, vtkTransform )
int IsIdentity();
//merge with V2_2_0_VISU_improvements:void SetScale( float theScaleX, float theScaleY, float theScaleZ );
public:
/*!Create new instance of VTKViewer_TransformFilter.*/
static VTKViewer_TransformFilter *New();
- vtkTypeMacro(VTKViewer_TransformFilter,vtkTransformFilter);
+ vtkTypeMacro(VTKViewer_TransformFilter,vtkTransformFilter)
protected:
/*!Constructor.*/
public:
- vtkTypeMacro(VTKViewer_UnScaledActor,vtkFollower);
+ vtkTypeMacro(VTKViewer_UnScaledActor,vtkFollower)
/*!Create new instance of VTKViewer_UnScaledActor.*/
static VTKViewer_UnScaledActor *New();
public:
/*!vtk type macros.*/
- vtkTypeMacro(VTKViewer_LineActor,vtkFollower);
+ vtkTypeMacro(VTKViewer_LineActor,vtkFollower)
/*!Create new instance of VTKViewer_LineActor.*/
static VTKViewer_LineActor *New();
public:
/*!vtk type macros.*/
- vtkTypeMacro(VTKViewer_Trihedron,vtkObject);
+ vtkTypeMacro(VTKViewer_Trihedron,vtkObject)
/*!Create new instance of VTKViewer_Trihedron.*/
static VTKViewer_Trihedron *New();
public:
/*!vtk type macros.*/
- vtkTypeMacro(VTKViewer_Axis,vtkObject);
+ vtkTypeMacro(VTKViewer_Axis,vtkObject)
/*! Add to \a theRenderer actors: myLineActor,myLabelActor,myArrowActor
*/
}
void ViewerTools_FontWidgetBase::SetData( const QColor& theColor,
- const int theFamily,
+ const int /*theFamily*/,
const bool theBold,
const bool theItalic,
const bool theShadow )
}
void ViewerTools_FontWidgetBase::GetData( QColor& theColor,
- int& theFamily,
+ int& /*theFamily*/,
bool& theBold,
bool& theItalic,
bool& theShadow ) const
throw CURVEPLOT::Exception(msg);
}
}
-};
+}
namespace CURVEPLOT
{