ResInsight/ApplicationCode/Commands/RicRangeFilterNewExec.h
2015-08-07 09:13:22 +02:00

54 lines
1.6 KiB
C++

/////////////////////////////////////////////////////////////////////////////////
//
// 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(RimCellRangeFilterCollection* rangeFilterCollection);
virtual ~RicRangeFilterNewExec();
virtual QString name();
virtual void redo();
virtual void undo();
public:
bool m_iSlice;
bool m_jSlice;
bool m_kSlice;
int m_iSliceStart;
int m_jSliceStart;
int m_kSliceStart;
private:
caf::PdmPointer<RimCellRangeFilterCollection> cellRangeFilterCollection;
};