CuttingPlaneData.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: UnstructGrid
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2011, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 #pragma once
14 
15 #include "CeeUnstructGrid/Base.h"
16 
17 #include "CeeCore/RefCountedObject.h"
18 #include "CeeCore/Vec3d.h"
19 
20 #include <vector>
21 
22 namespace cee {
23 namespace ug {
24 
25 //==================================================================================================
26 //
27 //
28 //
29 //==================================================================================================
30 class CEE_UG_EXPORT CuttingPlaneData
31 {
32 public:
35 
36  void allTriangles(std::vector<unsigned int>* triangles) const;
37  void allVertices(std::vector<Vec3d>* vertices) const;
38  void allScalarResults(std::vector<double>* scalarResult) const;
39  void allVectorResults(std::vector<Vec3d>* vectorResult) const;
40 
41  void allTrianglesSourceElementIndices(std::vector<size_t>* elementIndices) const;
42  void allTrianglesSourcePartIndices(std::vector<size_t>* partIndices) const;
43 
44  void allLines(std::vector<unsigned int>* lines) const;
45  void allLinesSourceElementIndices(std::vector<size_t>* elementIndices) const;
46  void allLinesSourcePartIndices(std::vector<size_t>* partIndices) const;
47 
48  void allOriginalTriangles(std::vector<unsigned int>* triangles, std::vector<Vec3d>* vertices);
49 
50 private:
51  CEE_BASE_F(CuttingPlane);
52  CEE_PRIVATE_IMPL(CuttingPlaneData);
53 };
54 
55 } // namespace ug
56 } // namespace cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Configuration of a cutting plane.
Definition: CuttingPlane.h:33
Returns raw node coordinates and result values for a cutting plane.
Definition: CuttingPlaneData.h:30