MarkupModelHitItem.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: Visualization
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 "CeeVisualization/Base.h"
16 #include "CeeCore/Vec3d.h"
17 
18 namespace cee {
19 namespace vis {
20 
21 //==================================================================================================
22 //
23 //
24 //
25 //==================================================================================================
26 class CEE_VIS_EXPORT MarkupModelHitItem
27 {
28 public:
30 
31  size_t partIndex() const;
32  void setPartIndex(size_t index);
33 
34  Vec3d intersectionPoint() const;
35  void setIntersectionPoint(const Vec3d& intersectionPoint);
36 
37  size_t partSubIndex() const;
38  void setPartSubIndex(size_t subIndex);
39 
40  double distanceAlongRay() const;
41  void setDistanceAlongRay(double distance);
42 
43 private:
44  size_t m_partIndex;
45  Vec3d m_intersectionPoint;
46  size_t m_partSubIndex;
47  double m_distanceAlongRay;
48 };
49 
50 } // namespace vis
51 } // namespace cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Vector class for a 3D double vector.
Definition: Vec3d.h:26
Small class containing the data for a hit of an intersection between a ray and a part in an MarkupMod...
Definition: MarkupModelHitItem.h:26