#1040 Established basis for fracture visualization

This commit is contained in:
Magne Sjaastad
2017-01-04 08:10:02 +01:00
parent f8ef9bddc7
commit d1bf189154
17 changed files with 491 additions and 12 deletions

View File

@@ -18,6 +18,7 @@
#pragma once
#include "cvfBase.h"
#include "cvfObject.h"
#include "cvfMath.h"
@@ -25,7 +26,6 @@
#include <vector>
//==================================================================================================
///
//==================================================================================================
@@ -34,6 +34,13 @@ class RigFracture : public cvf::Object
public:
RigFracture();
void setGeometry(const std::vector<cvf::uint>& polygonIndices, const std::vector<cvf::Vec3f>& nodeCoords);
const std::vector<cvf::uint>& polygonIndices() const;
const std::vector<cvf::Vec3f>& nodeCoords() const;
private:
std::vector<cvf::uint> m_polygonIndices;
std::vector<cvf::Vec3f> m_nodeCoords;
};