VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtRibbonModel.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>
13 #include <vrvCore/DtModel.h>
14 
15 #include <matrix/vlVector.h>
16 
17 namespace makVrv
18 {
19 
20  class DtRibbonModelInstance;
21 
25  {
26  public:
27 
29  DtRibbonModel( DtDe& de, DtUniqueID id );
30 
32  virtual ~DtRibbonModel();
33 
34  private:
36  DtRibbonModel();
40  DtRibbonModel &operator=(const DtRibbonModel&);
41 
42  public:
44  virtual void setModelDefinition( const std::string& str ) = 0;
45 
48  virtual const std::string& className() const = 0;
49 
51  virtual void setOcclusionEnabled( bool enabled ) = 0;
52 
54  virtual void setHeightLinesEnabled(bool enabled) = 0;
55 
57  virtual void setHeightLinesColor(float r, float g, float b, float a) = 0;
58 
60  virtual void setHeightLinesSpacing(float spacing) = 0;
61 
63  virtual void setRibbonSpacing( float sampleSpacing ) = 0;
64 
69  virtual void setRibbonLength( int maxSamples ) = 0;
70 
74  virtual void setRibbonTimeout(float duration) = 0;
75 
77  virtual void update() = 0;
78 
79  };
80 
81 }
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
A model of a ribbon effect.
Definition: DtRibbonModel.h:24
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Contains makVrv::DtModel class.
A model which owns a single model instance. A DtModel is a managing container for a single DtModelIns...
Definition: DtModel.h:56
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
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)