CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
AveDefs.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24
25
26#ifndef OD_AVEDEFS_H
27#define OD_AVEDEFS_H
28
29#include "Ve/AveExport.h"
30#include "OdString.h"
31#include "RxIterator.h"
32
37namespace OdAve
38{
40 {
44 kWood = 3
45 };
46
48 {
49 kAmbient = 0x1,
50 kDiffuse = 0x2,
51 kSpecular = 0x4,
53 kRoughness = 0x20,
54 kBumpMap = 0x40,
56 kRefraction = 0x200
57 };
58
60 {
63 kRndRaytrace = 60
64 };
65
67 {
70 kDestFile = 40
71 };
72
74 {
76 kPhong = 1
77 };
78
80 {
86 };
87
89 {
93 };
94
96 {
101 };
102
104 {
113 kRndOptAmount = 8
114 };
115
117 {
119 kBox = 2,
121 kSphere = 4
122 };
123
125 {
126 kTmDefault = 0, // Tiling as set for the material.
127 kTmTile = 1, // Tiled.
128 kTmCrop = 2, // Cropped.
129 kTmClamp = 3 // Clamped.
130 };
131
133 {
137 kSetuvSolid = 6
138 };
139}
140
148{
149public:
150 virtual ~OdAveBitmap() {}
151
161 virtual double blendFactor() = 0;
162
168 virtual void source(OdString& filename) = 0;
169
176 virtual double scaleU() = 0;
183 virtual double scaleV() = 0;
189 virtual double offsetU() = 0;
195 virtual double offsetV() = 0;
218 virtual bool useAutoAxis() = 0;
223 virtual bool fitToObject() = 0;
224
232 virtual void setBlendFactor(double blendFactor) = 0;
239 virtual void setSource(const OdString& filename) = 0;
246 virtual void setScaleU(double scaleU) = 0;
253 virtual void setScaleV(double scaleV) = 0;
258 virtual void setOffsetU(double offsetU) = 0;
263 virtual void setOffsetV(double offsetV) = 0;
280 virtual void setTileMethod(OdAve::TileMethod tileMethod) = 0;
290 virtual void setUseAutoAxis(bool useAutoAxis) = 0;
291
297 virtual void setFitToObject(bool fitToObject) = 0;
298};
299
300#endif // OD_AVEDEFS_H
#define AVE_EXPORT
Definition: AveExport.h:37
virtual void setOffsetU(double offsetU)=0
virtual double scaleV()=0
virtual void setScaleU(double scaleU)=0
virtual void source(OdString &filename)=0
virtual void setSource(const OdString &filename)=0
virtual double offsetU()=0
virtual double blendFactor()=0
virtual void setScaleV(double scaleV)=0
virtual void setOffsetV(double offsetV)=0
virtual double offsetV()=0
virtual double scaleU()=0
virtual OdAve::TileMethod tileMethod()=0
virtual ~OdAveBitmap()
Definition: AveDefs.h:150
virtual bool fitToObject()=0
virtual void setFitToObject(bool fitToObject)=0
virtual void setTileMethod(OdAve::TileMethod tileMethod)=0
virtual void setUseAutoAxis(bool useAutoAxis)=0
virtual bool useAutoAxis()=0
virtual void setBlendFactor(double blendFactor)=0
Definition: AveDefs.h:38
BackgroundType
Definition: AveDefs.h:96
@ kBackgroundImage
Definition: AveDefs.h:99
@ kBackgroundSolid
Definition: AveDefs.h:97
@ kBackgroundGradient
Definition: AveDefs.h:98
@ kBackgroundMerge
Definition: AveDefs.h:100
RenderDestination
Definition: AveDefs.h:67
@ kDestFile
Definition: AveDefs.h:70
@ kDestViewport
Definition: AveDefs.h:68
@ kDestWindow
Definition: AveDefs.h:69
TextureMapSampling
Definition: AveDefs.h:89
@ kTMapSampPoint
Definition: AveDefs.h:90
@ kTMapSampMipMap
Definition: AveDefs.h:92
@ kTMapSampLinear
Definition: AveDefs.h:91
TileMethod
Definition: AveDefs.h:125
@ kTmTile
Definition: AveDefs.h:127
@ kTmClamp
Definition: AveDefs.h:129
@ kTmDefault
Definition: AveDefs.h:126
@ kTmCrop
Definition: AveDefs.h:128
AntiAliasing
Definition: AveDefs.h:80
@ kAntiAliasMinimal
Definition: AveDefs.h:82
@ kAntiAliasLow
Definition: AveDefs.h:83
@ kAntiAliasNone
Definition: AveDefs.h:81
@ kAntiAliasHigh
Definition: AveDefs.h:85
@ kAntiAliasMedium
Definition: AveDefs.h:84
OptionType
Definition: AveDefs.h:104
@ kRndOptAmount
Definition: AveDefs.h:113
@ kRndRFileOpt
Definition: AveDefs.h:110
@ kRndRaytrOpt
Definition: AveDefs.h:109
@ kRndBGOpt
Definition: AveDefs.h:112
@ kRndPref
Definition: AveDefs.h:105
@ kRndFullOpt
Definition: AveDefs.h:106
@ kRndScanlOpt
Definition: AveDefs.h:108
@ kRndFogOpt
Definition: AveDefs.h:111
@ kRndQuickOpt
Definition: AveDefs.h:107
RenderType
Definition: AveDefs.h:60
@ kRndPhotoReal
Definition: AveDefs.h:62
@ kRndRaytrace
Definition: AveDefs.h:63
@ kRndSimple
Definition: AveDefs.h:61
ProjectionMethod
Definition: AveDefs.h:117
@ kBox
Definition: AveDefs.h:119
@ kCylinder
Definition: AveDefs.h:120
@ kPlanar
Definition: AveDefs.h:118
@ kSphere
Definition: AveDefs.h:121
MaterialType
Definition: AveDefs.h:40
@ kStandard
Definition: AveDefs.h:41
@ kWood
Definition: AveDefs.h:44
@ kGranite
Definition: AveDefs.h:42
@ kMarble
Definition: AveDefs.h:43
SetuvType
Definition: AveDefs.h:133
@ kSetuvSpherical
Definition: AveDefs.h:136
@ kSetuvSolid
Definition: AveDefs.h:137
@ kSetuvPlanar
Definition: AveDefs.h:134
@ kSetuvCylindrical
Definition: AveDefs.h:135
MaterialAttrib
Definition: AveDefs.h:48
@ kAmbient
Definition: AveDefs.h:49
@ kRoughness
Definition: AveDefs.h:53
@ kBumpMap
Definition: AveDefs.h:54
@ kDiffuse
Definition: AveDefs.h:50
@ kSpecular
Definition: AveDefs.h:51
@ kRefraction
Definition: AveDefs.h:56
@ kReflectionProp
Definition: AveDefs.h:55
@ kTransparency
Definition: AveDefs.h:52
RenderQuality
Definition: AveDefs.h:74
@ kPhong
Definition: AveDefs.h:76
@ kGouraud
Definition: AveDefs.h:75