2015-08-06 09:01:56 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Copyright (C) 2014 Ceetron Solutions AS, USFOS AS, AMOS - NTNU
|
|
|
|
//
|
|
|
|
// RPM is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
//
|
|
|
|
// RPM is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
//
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
|
|
|
// for more details.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "cafCmdExecuteCommand.h"
|
|
|
|
#include "cafPdmPointer.h"
|
|
|
|
|
|
|
|
class RimCellRangeFilterCollection;
|
|
|
|
|
|
|
|
//==================================================================================================
|
|
|
|
///
|
|
|
|
//==================================================================================================
|
|
|
|
class RicRangeFilterNewExec : public caf::CmdExecuteCommand
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
RicRangeFilterNewExec(caf::NotificationCenter* notificationCenter);
|
|
|
|
|
|
|
|
virtual QString name();
|
|
|
|
virtual void redo();
|
|
|
|
virtual void undo();
|
|
|
|
|
|
|
|
public:
|
|
|
|
caf::PdmPointer<RimCellRangeFilterCollection> cellRangeFilterCollection;
|
|
|
|
|
2015-08-06 09:17:23 -05:00
|
|
|
bool m_iSlice;
|
|
|
|
bool m_jSlice;
|
|
|
|
bool m_kSlice;
|
|
|
|
|
|
|
|
int m_iSliceStart;
|
|
|
|
int m_jSliceStart;
|
|
|
|
int m_kSliceStart;
|
2015-08-06 09:01:56 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|