SCM Repository
Diff of /trunk/src/lib/diderot.h
Parent Directory
|
Revision Log
|
Patch
revision 443, Thu Oct 21 00:05:15 2010 UTC | revision 444, Thu Oct 21 00:11:00 2010 UTC | |
---|---|---|
# | Line 49 | Line 49 |
49 | uint32_t dim; // dimension (== 1) | uint32_t dim; // dimension (== 1) |
50 | uint32_t size[1]; | uint32_t size[1]; |
51 | void *data; | void *data; |
52 | Diderot_Mat2x2_t m; // image to world-space transform | |
53 | Diderot_Mat2x2_t mInv; // world to image-space transform (m inverse) | |
54 | } Diderot_image1D_t; | } Diderot_image1D_t; |
55 | ||
56 | typedef struct { // wrapper for 2D image data | typedef struct { // wrapper for 2D image data |
57 | uint32_t dim; // dimension (== 2) | uint32_t dim; // dimension (== 2) |
58 | uint32_t size[2]; // sizes (fast to slow) | uint32_t size[2]; // sizes (fast to slow) |
59 | void *data; | void *data; |
60 | Diderot_Mat3x3_t m; // image to world-space transform | |
61 | Diderot_Mat3x3_t mInv; // world to image-space transform (m inverse) | |
62 | Diderot_Mat3x3_t mInvT; // image to world-space transform for gradients | |
63 | // (m inverse transpose) | |
64 | } Diderot_image2D_t; | } Diderot_image2D_t; |
65 | ||
66 | typedef struct { // wrapper for 3D image data | typedef struct { // wrapper for 3D image data |
67 | uint32_t dim; // dimension (== 3) | uint32_t dim; // dimension (== 3) |
68 | uint32_t size[3]; // sizes (fast to slow) | uint32_t size[3]; // sizes (fast to slow) |
69 | void *data; | void *data; |
70 | Diderot_Mat4x4_t m; // image to world-space transform | |
71 | Diderot_Mat4x4_t mInv; // world to image-space transform (m inverse) | |
72 | Diderot_Mat4x4_t mInvT; // image to world-space transform for gradients | |
73 | // (m inverse transpose) | |
74 | } Diderot_image3D_t; | } Diderot_image3D_t; |
75 | ||
76 | /* Diderot library functions */ | /* Diderot library functions */ |
|
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |