VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDecalProjectorComponentInterface.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2024 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 
14 #include <vrvMath/DtVector3.h>
15 
16 #include <matrix/vlVector.h>
17 
18 
19 namespace makVrv
20 {
21 
22  class DtTextureInterface;
23 
24 
44  {
45  public:
46 
49  {
50  RenderingTypeLine = 0,
52  };
53 
56 
59 
67  virtual void setProjectionRange(float projNear, float projFar) = 0;
68 
71  virtual void projectionRange(float& projNear, float& projFar) const = 0;
72 
74  virtual void resizeStagingVertexCount(size_t size) = 0;
75 
77  virtual void setStagingVertexPosition(unsigned int index, double x, double y, double z) = 0;
78 
81  virtual void expandStagingPointsToLines() = 0;
82 
87  virtual void expandStagingPointsToLineQuads(float lineWidth) = 0;
88 
92  virtual void stagingGeometryUpdated() = 0;
93 
95  virtual void setColor(float r, float g, float b, float a) = 0;
96 
98  virtual void getColor(float& r, float& g, float& b, float& a) const = 0;
99 
105  virtual void projectUVCoordinates(const DtVector& origin,
106  const DtVector& axisU, const DtVector& axisV) = 0;
107 
108  virtual void getUVCoordinateProjection(DtVector3<float>& origin,
109  DtVector3<float>& axisU, DtVector3<float>& axisV) const = 0;
110 
112  virtual void setStipplePattern(unsigned int stipplePattern[32] = 0) = 0;
113 
115  virtual const unsigned int* getStipplePattern() const = 0;
116 
122  virtual void setFillPatternFrequency(float frequency) = 0;
123 
125  virtual float fillPatternFrequency() const = 0;
126 
130  virtual void setAllowAltitudeTileMultiplier(bool allow) = 0;
131 
135  virtual bool allowAltitudeTileMultiplier() const = 0;
136 
139  virtual void setTileRate(float tileRate) = 0;
140 
144  virtual void setTexture(DtTextureInterface* texture) = 0;
145 
147  virtual DtTextureInterface* texture() const = 0;
148 
151  virtual bool pick(double x, double y, double z) const = 0;
152  };
153 
154 }
RenderingType
Enumeration for component renderer topology to use.
Definition: DtDecalProjectorComponentInterface.h:48
voidpf uLong int origin
Definition: ioapi.h:42
voidpf void uLong size
Definition: ioapi.h:39
Interface for a texture. Used to pass in a texture to vrvGraphics.
Definition: DtTextureInterface.h:24
Definition: DtDecalProjectorComponentInterface.h:51
3 dimensional vector
A class which represents a component for a decal projector.
Definition: DtDecalProjectorComponentInterface.h:43
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains DLL export macros.

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)