VR-Forces Developer's Guide
Home
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvCore
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
43
class
DT_DLL_VRVCORE
DtDecalProjectorComponentInterface
44
{
45
public
:
46
48
enum
RenderingType
49
{
50
RenderingTypeLine = 0,
51
RenderingTypeTriangle
,
52
};
53
55
DtDecalProjectorComponentInterface
();
56
58
virtual
~
DtDecalProjectorComponentInterface
();
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
}
makVrv::DtDecalProjectorComponentInterface::RenderingType
RenderingType
Enumeration for component renderer topology to use.
Definition:
DtDecalProjectorComponentInterface.h:48
origin
voidpf uLong int origin
Definition:
ioapi.h:42
size
voidpf void uLong size
Definition:
ioapi.h:39
makVrv::DtTextureInterface
Interface for a texture. Used to pass in a texture to vrvGraphics.
Definition:
DtTextureInterface.h:24
makVrv::DtDecalProjectorComponentInterface::RenderingTypeTriangle
Definition:
DtDecalProjectorComponentInterface.h:51
DtVector3.h
3 dimensional vector
makVrv::DtDecalProjectorComponentInterface
A class which represents a component for a decal projector.
Definition:
DtDecalProjectorComponentInterface.h:43
DT_DLL_VRVCORE
#define DT_DLL_VRVCORE
Definition:
vrvCore.h:20
makVrv::DtVector3< float >
vrvCore.h
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
)