VTK
Types.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <stdint.h>
4 #include <sys/types.h>
5 
6 typedef enum : uint32_t
7 {
14 } RTWError;
15 
16 typedef enum : uint32_t
17 {
21 
22 typedef enum : uint32_t
23 {
24  RTW_FB_COLOR = (1 << 0),
25  RTW_FB_DEPTH = (1 << 1),
26  RTW_FB_ACCUM = (1 << 2),
27  RTW_FB_VARIANCE = (1 << 3),
28  RTW_FB_NORMAL = (1 << 4),
29  RTW_FB_ALBEDO = (1 << 5),
31 
32 typedef enum : uint32_t
33 {
36 
37 typedef enum : uint32_t
38 {
52 
53 typedef enum : uint32_t
54 {
58 
59 typedef enum : uint32_t
60 {
61  RTW_OBJECT = 1000,
63  RTW_SHORT = 3000,
64  RTW_USHORT = 3500,
67  RTW_DOUBLE = 7000,
68  RTW_UNKNOWN = 22222,
69  RTW_RAW = 2500
70 } RTWDataType;
71 
72 typedef enum : uint32_t
73 {
77 
78 namespace rtw
79 {
80  struct vec2f { float x, y; };
81  struct vec2i { int x, y; };
82  struct vec3i { int x, y, z; };
83  struct vec3f { float x, y, z; };
84  struct vec4f { float x, y, z, w; };
85  struct box3i { vec3i lower, upper; };
86  struct linear3f { vec3f vx, vy, vz; };
87  struct affine3f { linear3f l; vec3f p; };
88 }
89 
90 typedef struct RTWHandle
93 *RTWCamera,
94 *RTWModel,
95 *RTWData,
98 *RTWLight,
99 *RTWVolume,
101 *RTWTexture,
102 *RTWObject;
103 
105 
106 
107 typedef enum : uint32_t
108 {
115  //RTW_MDL,
116 } RTWFeature;
RTWVolume
struct RTWHandle * RTWVolume
Definition: Types.h:90
RTW_TEXTURE_RGBA32F
Definition: Types.h:41
RTWLight
struct RTWHandle * RTWLight
Definition: Types.h:90
RTWDataCreationFlags
RTWDataCreationFlags
Definition: Types.h:32
rtw::affine3f::p
vec3f p
Definition: Types.h:87
RTWTexture2D
RTWTexture RTWTexture2D
Definition: Types.h:104
RTW_FB_ALBEDO
Definition: Types.h:29
RTW_NO_ERROR
Definition: Types.h:8
rtw::vec3i::z
int z
Definition: Types.h:82
RTW_INVALID_ARGUMENT
Definition: Types.h:10
rtw::vec2f::y
float y
Definition: Types.h:80
RTW_TEXTURE_FORMAT_INVALID
Definition: Types.h:50
RTWFrameBuffer
struct RTWHandle * RTWFrameBuffer
Definition: Types.h:90
RTWObject
struct RTWHandle * RTWObject
Definition: Types.h:90
RTW_TEXTURE_R8
Definition: Types.h:45
RTWFrameBufferChannel
RTWFrameBufferChannel
Definition: Types.h:22
RTW_BACKEND_OSPRAY
Definition: Types.h:74
RTW_INVALID_OPERATION
Definition: Types.h:11
rtw::vec3i::y
int y
Definition: Types.h:82
rtw::affine3f::l
linear3f l
Definition: Types.h:87
RTWModel
struct RTWHandle * RTWModel
Definition: Types.h:90
RTW_DEPTH_NORMALIZATION
Definition: Types.h:109
RTW_FLOAT3A
Definition: Types.h:66
rtw::linear3f
Definition: Types.h:86
RTWFeature
RTWFeature
Definition: Types.h:107
rtw::vec4f::w
float w
Definition: Types.h:84
rtw::vec3f::z
float z
Definition: Types.h:83
rtw::vec3i::x
int x
Definition: Types.h:82
rtw::vec4f
Definition: Types.h:84
RTW_FB_ACCUM
Definition: Types.h:26
RTW_SHORT
Definition: Types.h:63
rtw::vec2i
Definition: Types.h:81
RTW_FB_DEPTH
Definition: Types.h:25
RTW_INT3
Definition: Types.h:65
rtw
Definition: Types.h:78
rtw::linear3f::vy
vec3f vy
Definition: Types.h:86
rtw::vec2f
Definition: Types.h:80
rtw::vec3f::y
float y
Definition: Types.h:83
rtw::vec4f::z
float z
Definition: Types.h:84
RTW_UNSUPPORTED_DEVICE
Definition: Types.h:13
RTW_FB_RGBA8
Definition: Types.h:18
RTW_DATA_SHARED_BUFFER
Definition: Types.h:34
RTW_RAW
Definition: Types.h:69
rtw::box3i::lower
vec3i lower
Definition: Types.h:85
RTW_DOUBLE
Definition: Types.h:67
RTW_TEXTURE_L8
Definition: Types.h:47
RTWMaterial
struct RTWHandle * RTWMaterial
Definition: Types.h:90
RTW_TEXTURE_RGB32F
Definition: Types.h:44
RTW_TEXTURE_FILTER_NEAREST
Definition: Types.h:56
RTW_INT
Definition: Types.h:65
RTW_FLOAT4
Definition: Types.h:66
rtw::box3i::upper
vec3i upper
Definition: Types.h:85
RTWGeometry
struct RTWHandle * RTWGeometry
Definition: Types.h:90
rtw::vec2f::x
float x
Definition: Types.h:80
RTW_INSTANCING
Definition: Types.h:112
RTW_UNKNOWN_ERROR
Definition: Types.h:9
RTWBackendType
RTWBackendType
Definition: Types.h:72
RTW_TEXTURE_SRGBA
Definition: Types.h:40
RTW_BACKEND_VISRTX
Definition: Types.h:75
RTWFrameBufferFormat
RTWFrameBufferFormat
Definition: Types.h:16
RTWTransferFunction
struct RTWHandle * RTWTransferFunction
Definition: Types.h:90
RTWTextureCreationFlags
RTWTextureCreationFlags
Definition: Types.h:53
RTW_FB_VARIANCE
Definition: Types.h:27
RTW_OPENGL_INTEROP
Definition: Types.h:110
RTWTexture
struct RTWHandle * RTWTexture
Definition: Types.h:90
RTW_TEXTURE_SRGB
Definition: Types.h:43
RTW_TEXTURE_SHARED_BUFFER
Definition: Types.h:55
rtw::vec4f::y
float y
Definition: Types.h:84
rtw::vec2i::x
int x
Definition: Types.h:81
RTW_UNKNOWN
Definition: Types.h:68
RTW_FLOAT3
Definition: Types.h:66
RTW_DEPTH_COMPOSITING
Definition: Types.h:114
RTW_DENOISER
Definition: Types.h:113
rtw::vec2i::y
int y
Definition: Types.h:81
RTW_UCHAR2
Definition: Types.h:62
RTW_OUT_OF_MEMORY
Definition: Types.h:12
RTW_UCHAR4
Definition: Types.h:62
RTW_TEXTURE_RGB8
Definition: Types.h:42
rtw::affine3f
Definition: Types.h:87
RTW_TEXTURE_LA8
Definition: Types.h:49
RTW_FLOAT2
Definition: Types.h:66
RTW_USHORT
Definition: Types.h:64
RTW_UCHAR3
Definition: Types.h:62
rtw::vec3f::x
float x
Definition: Types.h:83
RTW_FB_COLOR
Definition: Types.h:24
rtw::vec3i
Definition: Types.h:82
RTW_TEXTURE_R32F
Definition: Types.h:46
RTWData
struct RTWHandle * RTWData
Definition: Types.h:90
RTWTextureFormat
RTWTextureFormat
Definition: Types.h:37
RTW_UCHAR
Definition: Types.h:62
RTW_TEXTURE_RGBA8
Definition: Types.h:39
RTW_TEXTURE_RA8
Definition: Types.h:48
RTW_INT4
Definition: Types.h:65
RTWRenderer
struct RTWHandle * RTWRenderer
Definition: Types.h:90
rtw::linear3f::vz
vec3f vz
Definition: Types.h:86
rtw::vec3f
Definition: Types.h:83
RTW_FB_NORMAL
Definition: Types.h:28
rtw::vec4f::x
float x
Definition: Types.h:84
RTWError
RTWError
Definition: Types.h:6
rtw::linear3f::vx
vec3f vx
Definition: Types.h:86
RTW_ANIMATED_PARAMETERIZATION
Definition: Types.h:111
RTW_OBJECT
Definition: Types.h:61
RTW_FLOAT
Definition: Types.h:66
rtw::box3i
Definition: Types.h:85
RTW_FB_RGBA32F
Definition: Types.h:19
RTWCamera
struct RTWHandle * RTWCamera
Definition: Types.h:90
RTWDataType
RTWDataType
Definition: Types.h:59
RTW_INT2
Definition: Types.h:65