2015-04-27 03:25:04 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Copyright (C) 2015- Statoil ASA
|
|
|
|
// Copyright (C) 2015- Ceetron Solutions AS
|
|
|
|
//
|
|
|
|
// ResInsight 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.
|
|
|
|
//
|
|
|
|
// ResInsight 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 "RigFemPart.h"
|
|
|
|
#include "cvfCollection.h"
|
|
|
|
|
|
|
|
|
|
|
|
class RigFemPartCollection: public cvf::Object
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
RigFemPartCollection();
|
|
|
|
~RigFemPartCollection();
|
|
|
|
|
|
|
|
void addFemPart(RigFemPart* part);
|
|
|
|
RigFemPart* part(size_t index);
|
2015-04-27 06:51:22 -05:00
|
|
|
const RigFemPart* part(size_t index) const ;
|
|
|
|
|
|
|
|
int partCount() const;
|
2015-04-27 03:25:04 -05:00
|
|
|
|
2015-06-01 09:37:22 -05:00
|
|
|
size_t totalElementCount() const;
|
2017-06-19 13:49:06 -05:00
|
|
|
float characteristicElementSize() const;
|
2015-11-16 00:16:30 -06:00
|
|
|
cvf::BoundingBox boundingBox() const;
|
2015-06-01 09:37:22 -05:00
|
|
|
|
|
|
|
|
2015-04-27 03:25:04 -05:00
|
|
|
private:
|
|
|
|
cvf::Collection<RigFemPart> m_femParts;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|