Add RawVolume wrapper
This commit is contained in:
parent
7fbe92e1e7
commit
a932d060f2
@ -39,6 +39,7 @@ const char* __str__() {
|
|||||||
%include "Region.i"
|
%include "Region.i"
|
||||||
%include "BaseVolume.i"
|
%include "BaseVolume.i"
|
||||||
%include "SimpleVolume.i"
|
%include "SimpleVolume.i"
|
||||||
|
%include "RawVolume.i"
|
||||||
//%include "TypeDef.i"
|
//%include "TypeDef.i"
|
||||||
//%include "SubArray.i"
|
//%include "SubArray.i"
|
||||||
//%include "Array.i"
|
//%include "Array.i"
|
||||||
|
20
library/bindings/RawVolume.i
Normal file
20
library/bindings/RawVolume.i
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
%module RawVolume
|
||||||
|
%{
|
||||||
|
#include "Material.h"
|
||||||
|
#include "Density.h"
|
||||||
|
#include "RawVolume.h"
|
||||||
|
%}
|
||||||
|
|
||||||
|
%include "Material.h"
|
||||||
|
%include "Density.h"
|
||||||
|
%include "RawVolume.h"
|
||||||
|
|
||||||
|
%template(RawVolumeDensity8) PolyVox::RawVolume<PolyVox::Density8>;
|
||||||
|
|
||||||
|
%template(RawVolumeMaterial8) PolyVox::RawVolume<PolyVox::Material8>;
|
||||||
|
|
||||||
|
%template(RawVolumeMaterial16) PolyVox::RawVolume<PolyVox::Material16>;
|
||||||
|
|
||||||
|
%template(RawVolumeMaterialDensityPair44) PolyVox::RawVolume<PolyVox::MaterialDensityPair44>;
|
||||||
|
|
||||||
|
%template(RawVolumeMaterialDensityPair88) PolyVox::RawVolume<PolyVox::MaterialDensityPair88>;
|
Loading…
x
Reference in New Issue
Block a user