Created FemPartCollection

Used that instead against reader to make a "results free" interface
regarding reading the element models.
This commit is contained in:
Jacob Støren
2015-04-27 10:25:04 +02:00
parent b94ba6ca0b
commit 2b967d9ca1
10 changed files with 133 additions and 43 deletions

View File

@@ -19,8 +19,8 @@
#pragma once
#include "RigFemPart.h"
#include "cvfCollection.h"
#include "RigFemPartCollection.h"
class RigGeoMechCaseData: public cvf::Object
{
@@ -28,11 +28,11 @@ public:
RigGeoMechCaseData();
~RigGeoMechCaseData();
void addFemPart(RigFemPart* part);
RigFemPart* part(size_t index);
size_t partCount();
RigFemPartCollection* femParts();
private:
cvf::Collection<RigFemPart> m_femParts;
cvf::ref<RigFemPartCollection> m_femParts;
};