VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDrawnIntersector.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2022 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCore/vrvCore.h>
12 #include <vrvCore/DtIntersector.h>
13 
15 
16 #include <vector>
17 
18 namespace makVrv
19 {
20  class DtDe;
21  class Dt3DSegmentedLineModelAgent;
22  class DtSceneObjectAgent;
23 
25  {
26  public:
27  DtDrawnIntersector(DtDe& de, int modelSet);
28  virtual ~DtDrawnIntersector();
29 
31  DtDrawnIntersector() = delete;
32  DtDrawnIntersector(const DtDrawnIntersector& rhs) = delete;
33  DtDrawnIntersector& operator=(const DtDrawnIntersector& rhs) = delete;
34 
35  public:
36  virtual void draw(const DtIntersector::DtIntersections& results);
37 
38  virtual void setColors(const DtColorValue& failedColor,
39  const DtColorValue& oddColor, const DtColorValue& evenColor);
40 
41  protected:
43 
44  std::vector<Dt3DSegmentedLineModelAgent*> myLineModels;
45  std::vector<DtSceneObjectAgent*> mySceneObjects;
46 
50  const int myModelSet;
51  };
52 }
DtColorValue class.
DtColorValue myEvenSegmentIntersectorColor
Definition: DtDrawnIntersector.h:49
std::vector< DtIntersectorResult > DtIntersections
A vector of DtIntersectionRecords.
Definition: DtIntersector.h:50
Definition: DtDrawnIntersector.h:24
const int myModelSet
Definition: DtDrawnIntersector.h:50
std::vector< Dt3DSegmentedLineModelAgent * > myLineModels
Definition: DtDrawnIntersector.h:44
DtColorValue myFailedIntersectorColor
Definition: DtDrawnIntersector.h:47
Contains makVrv:DtIntersector class.
DtDe & myDe
Definition: DtDrawnIntersector.h:42
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
DtColorValue myOddSegmentIntersectorColor
Definition: DtDrawnIntersector.h:48
Template for Color values in [0,1] range.
Definition: DtColorValue.h:20
std::vector< DtSceneObjectAgent * > mySceneObjects
Definition: DtDrawnIntersector.h:45
Contains DLL export macros.

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)