VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDecalProjectorLineInterface.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2023 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
14 
16 
17 #include <matrix/vlVector.h>
18 
19 #include <string>
20 #include <vector>
21 
22 namespace makVrv
23 {
24  class DtChannel;
25 
26 
30  {
31  public:
32 
34 
36 
37  public:
38 
41  virtual void setTexture(const std::string texture) = 0;
42 
45  virtual void setStipplePattern(unsigned int stipplePattern[32]) = 0;
46 
49  virtual void setColor(float r, float g, float b, float a) = 0;
50 
52  virtual void setLineWidth(float width) = 0;
53 
55  virtual void setPoints(const std::vector<DtVector>& points) = 0;
56 
58  virtual void setEventsEnabled(bool enabled, unsigned long long userData) = 0;
59  };
60 
61 
62 
64  {
65  public:
68  static DtDecalProjectorLineInterfaceCreator& instance(DtDe&);
69 
71  static void registerInstance(DtDe& de, DtDecalProjectorLineInterfaceCreator* anInstance);
72 
74  virtual DtDecalProjectorLineInterface* create(DtDe& de, DtChannel* channel, DtModelSetId modelSet) = 0;
75  };
76 }
77 
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Definition: DtDecalProjectorLineInterface.h:63
The abstract Channel Class.
Definition: DtChannel.h:35
Contains makVrv::DtVirtualBaseClass class.
#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:76
DtModelSetId
Definition: DtModelSetEnums.h:19
An interface for a decal projector line.
Definition: DtDecalProjectorLineInterface.h:29
Contains various enum classes relating to model sets.
Contains DLL export macros.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)