-
Notifications
You must be signed in to change notification settings - Fork 5
/
IRhRdkRegisteredPropertyManager.h
83 lines (62 loc) · 2.37 KB
/
IRhRdkRegisteredPropertyManager.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#pragma once
//#ifdef RHRDK_REGPROPS
#include "IRhRdkRegisteredProperty.h"
class RHRDK_SDK IRhRdkRegisteredPropertyManager
{
public:
virtual ~IRhRdkRegisteredPropertyManager() { }
public:
/** Add a registered property. When you add a property object, you are transferring
ownership to the property manager, so simply call with \code new CMyProperty \endcode
as a parameter. */
virtual bool Add(IRhRdkRegisteredProperty*) = 0;
public:
// Property Iteration and location.
class Iterator
{
public:
virtual ~Iterator() { }
public:
virtual void Reset(void) = 0;
virtual IRhRdkRegisteredProperty* GetNextProperty(void) = 0;
/** Emergency virtual function for future expansion. */
virtual void* EVF(const wchar_t*, void*) = 0;
};
/** Get an iterator for iterating over properties. The caller shall delete the iterator. */
virtual Iterator* NewRegisteredPropertyIterator(IRhRdkRegisteredProperty::prop_type t) const = 0;
/** Find a registered property by its UUID. */
virtual IRhRdkRegisteredProperty* FindProperty(UUID uuid) const = 0;
/** Emergency virtual function for future expansion. */
virtual void* EVF(const wchar_t*, void*) = 0;
};
namespace RhRcmInternalPropertyIds
{
RHRDK_SDK const UUID& ObjectColor(void);
RHRDK_SDK const UUID& ObjectName(void);
RHRDK_SDK const UUID& ObjectVisibility(void);
RHRDK_SDK const UUID& ObjectMaterialDiffuseColor(void);
RHRDK_SDK const UUID& ObjectMaterialGlossyColor(void);
RHRDK_SDK const UUID& ObjectMaterialTransparency(void);
RHRDK_SDK const UUID& ObjectMaterialGlossFinish(void);
//RDK sun properties
RHRDK_SDK const UUID& RdkSunEnableOn(void);
RHRDK_SDK const UUID& RdkSunLongitude(void);
RHRDK_SDK const UUID& RdkSunLatitude(void);
RHRDK_SDK const UUID& RdkSunTimezone(void);
RHRDK_SDK const UUID& RdkSunDaylightSavingOn(void);
RHRDK_SDK const UUID& RdkSunDaylightSavingMinutes(void);
RHRDK_SDK const UUID& RdkSunLocalDateTime(void);
//Layer properties
RHRDK_SDK const UUID& LayerVisible(void);
//Light properties
RHRDK_SDK const UUID& LightOn(void);
RHRDK_SDK const UUID& LightColor(void);
RHRDK_SDK const UUID& LightShadowIntensity(void);
RHRDK_SDK const UUID& LightIntensity(void);
RHRDK_SDK const UUID& LightSpotlightHardness(void);
//Content properties
RHRDK_SDK const UUID& RdkTextureRepeat(void);
RHRDK_SDK const UUID& RdkTextureOffset(void);
RHRDK_SDK const UUID& RdkTextureRotation(void);
}
//#endif