[772] | 1 | /* ---------------- */ |
---|
| 2 | /* --- nrset3.h --- */ |
---|
| 3 | /* ---------------- */ |
---|
| 4 | |
---|
| 5 | /* |
---|
| 6 | * Copyright (c) 2000-2014, Lionel Lacassagne, All rights reserved |
---|
| 7 | * Univ Paris Sud XI, CNRS |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #ifndef _NR_SET3_H_ |
---|
| 11 | #define _NR_SET3_H_ |
---|
| 12 | |
---|
| 13 | // ----------------- |
---|
| 14 | // --- zero_cube --- |
---|
| 15 | // ----------------- |
---|
| 16 | |
---|
[826] | 17 | #define zero_type_cube(t) \ |
---|
| 18 | void short_name(t,zero_,cube)(t *** c, int32_t k0, int32_t k1, int32_t i0, int32_t i1, int32_t j0, int32_t j1); |
---|
[772] | 19 | |
---|
[826] | 20 | zero_type_cube(int8_t); |
---|
| 21 | zero_type_cube(uint8_t); |
---|
| 22 | zero_type_cube(int16_t); |
---|
| 23 | zero_type_cube(uint16_t); |
---|
| 24 | zero_type_cube(int32_t); |
---|
| 25 | zero_type_cube(uint32_t); |
---|
| 26 | zero_type_cube(int64_t); |
---|
| 27 | zero_type_cube(uint64_t); |
---|
| 28 | zero_type_cube(float); |
---|
| 29 | zero_type_cube(double); |
---|
| 30 | zero_type_cube(rgb8); |
---|
| 31 | zero_type_cube(rgbx8); |
---|
| 32 | |
---|
| 33 | |
---|
[772] | 34 | // ---------------------- |
---|
| 35 | // --- set_cube_param --- |
---|
| 36 | // ---------------------- |
---|
| 37 | |
---|
[826] | 38 | #define set_type_cube_param(t) \ |
---|
| 39 | void short_name(t,set_,cube_param)(t *** c, int32_t k0, int32_t k1, int32_t i0, int32_t i1, int32_t j0, int32_t j1, t x, t xstep, t ystep, t zstep); |
---|
[772] | 40 | |
---|
[826] | 41 | set_type_cube_param(int8_t); |
---|
| 42 | set_type_cube_param(uint8_t); |
---|
| 43 | set_type_cube_param(int16_t); |
---|
| 44 | set_type_cube_param(uint16_t); |
---|
| 45 | set_type_cube_param(int32_t); |
---|
| 46 | set_type_cube_param(uint32_t); |
---|
| 47 | set_type_cube_param(int64_t); |
---|
| 48 | set_type_cube_param(uint64_t); |
---|
| 49 | set_type_cube_param(float); |
---|
| 50 | set_type_cube_param(double); |
---|
| 51 | set_type_cube_param(rgb8); |
---|
| 52 | set_type_cube_param(rgbx8); |
---|
[772] | 53 | |
---|
[826] | 54 | |
---|
| 55 | |
---|
[772] | 56 | #endif // _NR_SET3_H_ |
---|
[826] | 57 | |
---|
| 58 | // Local Variables: |
---|
| 59 | // tab-width: 4 |
---|
| 60 | // c-basic-offset: 4 |
---|
| 61 | // c-file-offsets:((innamespace . 0)(inline-open . 0)) |
---|
| 62 | // indent-tabs-mode: nil |
---|
| 63 | // End: |
---|
| 64 | |
---|
| 65 | // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 |
---|
| 66 | |
---|