update DNACalib

This commit is contained in:
Srdjan Milicev 2023-08-25 13:58:28 +02:00
parent 30aec072ff
commit 106a9f4942
21 changed files with 279 additions and 162 deletions

View File

@ -49,8 +49,8 @@ class CalculateMeshLowerLODsCommand::Impl : public CommandImplBase<Impl> {
const std::uint32_t uvIndex = vertexLayoutTextureCoordinateIndices[i];
const fvec2 uvs = {us[uvIndex], vs[uvIndex]};
const auto weightsIndicesPair = mapping.getBarycentric(uvs);
const fvec3& barycentric = weightsIndicesPair.first;
auto srcVtxIndices = weightsIndicesPair.second;
const fvec3& barycentric = std::get<0>(weightsIndicesPair);
auto srcVtxIndices = std::get<1>(weightsIndicesPair);
if (srcVtxIndices.size() == 0) {
// We'll need to handle this case in the future?

View File

@ -42,11 +42,17 @@ class BoundingBox {
BoundingBox(std::begin(container), std::end(container), alpha) {
}
bool contains(const fvec2& point) const {
bool contains(fvec2 point) const {
return point[0] >= min[0] && point[0] <= max[0] &&
point[1] >= min[1] && point[1] <= max[1];
}
float distance(fvec2 point) const {
const float dx = std::max({min[0] - point[0], 0.0f, point[0] - max[0]});
const float dy = std::max({min[1] - point[1], 0.0f, point[1] - max[1]});
return std::sqrt(dx * dx + dy * dy);
}
fvec2 getMin() const {
return min;
}

View File

@ -2,7 +2,6 @@
#pragma once
#include "dnacalib/types/Aliases.h"
#include "dnacalib/TypeDefs.h"
#include <array>
@ -15,12 +14,6 @@ class Triangle {
Triangle(const fvec2& a, const fvec2& b, const fvec2& c);
explicit Triangle(const std::array<fvec2, 3>& vertices);
Triangle(const Triangle& triangle) = default;
Triangle& operator=(const Triangle& triangle) = default;
Triangle(Triangle&&) = default;
Triangle& operator=(Triangle&& triangle) = default;
fvec3 getBarycentricCoords(const fvec2& point) const;
fvec2 A() const;

View File

@ -64,20 +64,22 @@ ConstArrayView<BoundingBox> UVBarycentricMapping::getBoundingBoxes() const {
return {bBoxes.data(), bBoxes.size()};
}
UVBarycentricMapping::BarycentricPositionIndicesPair UVBarycentricMapping::getBarycentric(const fvec2& uv) const {
UVBarycentricMapping::BarycentricPositionIndicesPair UVBarycentricMapping::getBarycentric(fvec2 uv) const {
BarycentricPositionIndicesPair barycentricPositionsPair;
for (std::uint32_t i = 0u; i < bBoxes.size(); i++) {
if (bBoxes[i].contains(uv)) {
const auto barycentricWeights = triangles[i].first.getBarycentricCoords(uv);
auto it = std::min_element(bBoxes.begin(), bBoxes.end(), [uv](const BoundingBox& a, const BoundingBox& b) {
return a.distance(uv) < b.distance(uv);
});
if (it != bBoxes.end()) {
const auto i = static_cast<std::size_t>(std::distance(bBoxes.begin(), it));
const auto barycentricWeights = std::get<0>(triangles[i]).getBarycentricCoords(uv);
// If we don't hit any triangle, we will use one whose bounding box we hit
barycentricPositionsPair = {barycentricWeights, ConstArrayView<std::uint32_t>{triangles[i].second}};
barycentricPositionsPair = BarycentricPositionIndicesPair(barycentricWeights, ConstArrayView<std::uint32_t>{std::get<1>(triangles[i])});
if ((barycentricWeights[0] >= 0.0f) && (barycentricWeights[0] <= 1.0f) &&
(barycentricWeights[1] >= 0.0f) && (barycentricWeights[1] <= 1.0f) &&
(barycentricWeights[2] >= 0.0f) && (barycentricWeights[2] <= 1.0f)) {
return barycentricPositionsPair;
}
}
}
return barycentricPositionsPair;
}

View File

@ -11,8 +11,8 @@ namespace dnac {
class UVBarycentricMapping {
public:
using TrianglePositionIndicesPair = std::pair<Triangle, std::array<std::uint32_t, 3u> >;
using BarycentricPositionIndicesPair = std::pair<fvec3, ConstArrayView<std::uint32_t> >;
using TrianglePositionIndicesPair = std::tuple<Triangle, std::array<std::uint32_t, 3u> >;
using BarycentricPositionIndicesPair = std::tuple<fvec3, ConstArrayView<std::uint32_t> >;
public:
UVBarycentricMapping(const std::function<ConstArrayView<std::uint32_t>(std::uint32_t)>& faceGetter,
@ -28,7 +28,7 @@ class UVBarycentricMapping {
ConstArrayView<TrianglePositionIndicesPair> getTriangles() const;
ConstArrayView<BoundingBox> getBoundingBoxes() const;
BarycentricPositionIndicesPair getBarycentric(const fvec2& uv) const;
BarycentricPositionIndicesPair getBarycentric(fvec2 uv) const;
private:
Vector<TrianglePositionIndicesPair> triangles;

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,15 +1,15 @@
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.1
# Version 4.0.0
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise RuntimeError("Python 2.7 or later required")
raise RuntimeError('Python 2.7 or later required')
# Import the low-level C/C++ module
if __package__ or "." in __name__:
if __package__ or '.' in __name__:
from . import _py3dna
else:
import _py3dna
@ -19,6 +19,35 @@ try:
except ImportError:
import __builtin__
def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
if name == "thisown":
return self.this.own(value)
if name == "this":
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name, None)
if method:
return method(self, value)
if not static:
object.__setattr__(self, name, value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self, class_type, name, value):
return _swig_setattr_nondynamic(self, class_type, name, value, 0)
def _swig_getattr(self, class_type, name):
if name == "thisown":
return self.this.own()
method = class_type.__swig_getmethods__.get(name, None)
if method:
return method(self)
raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
@ -78,7 +107,7 @@ def __managed_init(self, *args, **kwargs):
self._kwargs = kwargs
class MemoryResource(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -95,7 +124,7 @@ class MemoryResource(object):
_py3dna.MemoryResource_swigregister(MemoryResource)
class AlignedMemoryResource(MemoryResource):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def allocate(self, size, alignment):
@ -112,7 +141,7 @@ class AlignedMemoryResource(MemoryResource):
_py3dna.AlignedMemoryResource_swigregister(AlignedMemoryResource)
class ArenaMemoryResource(MemoryResource):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dna.delete_ArenaMemoryResource
@ -132,7 +161,7 @@ class ArenaMemoryResource(MemoryResource):
_py3dna.ArenaMemoryResource_swigregister(ArenaMemoryResource)
class DefaultMemoryResource(MemoryResource):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def allocate(self, size, alignment):
@ -149,7 +178,7 @@ class DefaultMemoryResource(MemoryResource):
_py3dna.DefaultMemoryResource_swigregister(DefaultMemoryResource)
class StatusCode(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
code = property(_py3dna.StatusCode_code_get, _py3dna.StatusCode_code_set)
message = property(_py3dna.StatusCode_message_get, _py3dna.StatusCode_message_set)
@ -162,7 +191,7 @@ class StatusCode(object):
_py3dna.StatusCode_swigregister(StatusCode)
class Status(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
@staticmethod
@ -187,7 +216,7 @@ def Status_get():
return _py3dna.Status_get()
class Readable(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -200,7 +229,7 @@ class Readable(object):
_py3dna.Readable_swigregister(Readable)
class Writable(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -213,7 +242,7 @@ class Writable(object):
_py3dna.Writable_swigregister(Writable)
class Seekable(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -229,7 +258,7 @@ class Seekable(object):
_py3dna.Seekable_swigregister(Seekable)
class Openable(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -242,7 +271,7 @@ class Openable(object):
_py3dna.Openable_swigregister(Openable)
class Closeable(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -255,7 +284,7 @@ class Closeable(object):
_py3dna.Closeable_swigregister(Closeable)
class Controllable(Openable, Closeable):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -265,7 +294,7 @@ class Controllable(Openable, Closeable):
_py3dna.Controllable_swigregister(Controllable)
class Bounded(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -278,7 +307,7 @@ class Bounded(object):
_py3dna.Bounded_swigregister(Bounded)
class Buffered(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -291,7 +320,7 @@ class Buffered(object):
_py3dna.Buffered_swigregister(Buffered)
class Resizable(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -304,7 +333,7 @@ class Resizable(object):
_py3dna.Resizable_swigregister(Resizable)
class BoundedIOStream(Controllable, Readable, Writable, Seekable, Bounded):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -326,7 +355,7 @@ AccessMode_ReadWrite = _py3dna.AccessMode_ReadWrite
OpenMode_Binary = _py3dna.OpenMode_Binary
OpenMode_Text = _py3dna.OpenMode_Text
class FileStream(BoundedIOStream):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -351,7 +380,7 @@ def FileStream_destroy(instance):
return _py3dna.FileStream_destroy(instance)
class MemoryMappedFileStream(BoundedIOStream, Buffered, Resizable):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -376,7 +405,7 @@ def MemoryMappedFileStream_destroy(instance):
return _py3dna.MemoryMappedFileStream_destroy(instance)
class MemoryStream(BoundedIOStream):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -434,7 +463,7 @@ MemoryMappedFileStream.AccessMode_Write = AccessMode_Write
MemoryMappedFileStream.AccessMode_ReadWrite = AccessMode_ReadWrite
class StringView(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def c_str(self):
@ -495,7 +524,7 @@ Direction_down = _py3dna.Direction_down
Direction_front = _py3dna.Direction_front
Direction_back = _py3dna.Direction_back
class CoordinateSystem(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
xAxis = property(_py3dna.CoordinateSystem_xAxis_get, _py3dna.CoordinateSystem_xAxis_set)
yAxis = property(_py3dna.CoordinateSystem_yAxis_get, _py3dna.CoordinateSystem_yAxis_set)
@ -509,7 +538,7 @@ class CoordinateSystem(object):
_py3dna.CoordinateSystem_swigregister(CoordinateSystem)
class DescriptorReader(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -561,7 +590,7 @@ class DescriptorReader(object):
_py3dna.DescriptorReader_swigregister(DescriptorReader)
class MeshBlendShapeChannelMapping(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
meshIndex = property(_py3dna.MeshBlendShapeChannelMapping_meshIndex_get, _py3dna.MeshBlendShapeChannelMapping_meshIndex_set)
blendShapeChannelIndex = property(_py3dna.MeshBlendShapeChannelMapping_blendShapeChannelIndex_get, _py3dna.MeshBlendShapeChannelMapping_blendShapeChannelIndex_set)
@ -574,7 +603,7 @@ class MeshBlendShapeChannelMapping(object):
_py3dna.MeshBlendShapeChannelMapping_swigregister(MeshBlendShapeChannelMapping)
class DefinitionReader(DescriptorReader):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -680,7 +709,7 @@ class DefinitionReader(DescriptorReader):
_py3dna.DefinitionReader_swigregister(DefinitionReader)
class BehaviorReader(DefinitionReader):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -777,7 +806,7 @@ class BehaviorReader(DefinitionReader):
_py3dna.BehaviorReader_swigregister(BehaviorReader)
class GeometryReader(DefinitionReader):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -886,7 +915,7 @@ class GeometryReader(DefinitionReader):
_py3dna.GeometryReader_swigregister(GeometryReader)
class Reader(BehaviorReader, GeometryReader):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -900,7 +929,7 @@ class Reader(BehaviorReader, GeometryReader):
_py3dna.Reader_swigregister(Reader)
class StreamReader(Reader):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -917,7 +946,7 @@ StreamReader.VersionMismatchError = _py3dna.cvar.StreamReader_VersionMismatchErr
StreamReader.InvalidDataError = _py3dna.cvar.StreamReader_InvalidDataError
class BinaryStreamReader(StreamReader):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -942,7 +971,7 @@ def BinaryStreamReader_destroy(instance):
return _py3dna.BinaryStreamReader_destroy(instance)
class JSONStreamReader(StreamReader):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -981,7 +1010,7 @@ del JSONStreamReader.create
del JSONStreamReader.destroy
class DescriptorWriter(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -1030,7 +1059,7 @@ class DescriptorWriter(object):
_py3dna.DescriptorWriter_swigregister(DescriptorWriter)
class DefinitionWriter(DescriptorWriter):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -1139,7 +1168,7 @@ class DefinitionWriter(DescriptorWriter):
_py3dna.DefinitionWriter_swigregister(DefinitionWriter)
class BehaviorWriter(DefinitionWriter):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -1236,7 +1265,7 @@ class BehaviorWriter(DefinitionWriter):
_py3dna.BehaviorWriter_swigregister(BehaviorWriter)
class GeometryWriter(DefinitionWriter):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -1294,7 +1323,7 @@ class GeometryWriter(DefinitionWriter):
_py3dna.GeometryWriter_swigregister(GeometryWriter)
class Writer(BehaviorWriter, GeometryWriter):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -1308,7 +1337,7 @@ class Writer(BehaviorWriter, GeometryWriter):
_py3dna.Writer_swigregister(Writer)
class StreamWriter(Writer):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -1322,7 +1351,7 @@ class StreamWriter(Writer):
_py3dna.StreamWriter_swigregister(StreamWriter)
class BinaryStreamWriter(StreamWriter):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -1347,7 +1376,7 @@ def BinaryStreamWriter_destroy(instance):
return _py3dna.BinaryStreamWriter_destroy(instance)
class JSONStreamWriter(StreamWriter):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")

Binary file not shown.

View File

@ -1,15 +1,15 @@
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.1
# Version 4.0.0
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise RuntimeError("Python 2.7 or later required")
raise RuntimeError('Python 2.7 or later required')
# Import the low-level C/C++ module
if __package__ or "." in __name__:
if __package__ or '.' in __name__:
from . import _py3dnacalib
else:
import _py3dnacalib
@ -19,6 +19,35 @@ try:
except ImportError:
import __builtin__
def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
if name == "thisown":
return self.this.own(value)
if name == "this":
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name, None)
if method:
return method(self, value)
if not static:
object.__setattr__(self, name, value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self, class_type, name, value):
return _swig_setattr_nondynamic(self, class_type, name, value, 0)
def _swig_getattr(self, class_type, name):
if name == "thisown":
return self.this.own()
method = class_type.__swig_getmethods__.get(name, None)
if method:
return method(self)
raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
@ -79,7 +108,7 @@ def __managed_init(self, *args, **kwargs):
import dna
class VersionInfo(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
@staticmethod
@ -118,7 +147,7 @@ def VersionInfo_getVersionString():
return _py3dnacalib.VersionInfo_getVersionString()
class DNACalibDNAReader(dna.Reader):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -149,7 +178,7 @@ del DNACalibDNAReader.create
del DNACalibDNAReader.destroy
class Command(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -167,7 +196,7 @@ VectorOperation_Add = _py3dnacalib.VectorOperation_Add
VectorOperation_Subtract = _py3dnacalib.VectorOperation_Subtract
VectorOperation_Multiply = _py3dnacalib.VectorOperation_Multiply
class CommandSequence(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_CommandSequence
@ -216,7 +245,7 @@ CommandSequence.add = command_sequence_add(CommandSequence.add)
CommandSequence.remove = command_sequence_remove(CommandSequence.remove)
class CalculateMeshLowerLODsCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_CalculateMeshLowerLODsCommand
@ -233,7 +262,7 @@ class CalculateMeshLowerLODsCommand(Command):
_py3dnacalib.CalculateMeshLowerLODsCommand_swigregister(CalculateMeshLowerLODsCommand)
class ClearBlendShapesCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_ClearBlendShapesCommand
@ -247,7 +276,7 @@ class ClearBlendShapesCommand(Command):
_py3dnacalib.ClearBlendShapesCommand_swigregister(ClearBlendShapesCommand)
class PruneBlendShapeTargetsCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_PruneBlendShapeTargetsCommand
@ -264,7 +293,7 @@ class PruneBlendShapeTargetsCommand(Command):
_py3dnacalib.PruneBlendShapeTargetsCommand_swigregister(PruneBlendShapeTargetsCommand)
class RemoveAnimatedMapCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RemoveAnimatedMapCommand
@ -284,7 +313,7 @@ class RemoveAnimatedMapCommand(Command):
_py3dnacalib.RemoveAnimatedMapCommand_swigregister(RemoveAnimatedMapCommand)
class RemoveBlendShapeCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RemoveBlendShapeCommand
@ -304,7 +333,7 @@ class RemoveBlendShapeCommand(Command):
_py3dnacalib.RemoveBlendShapeCommand_swigregister(RemoveBlendShapeCommand)
class RemoveJointAnimationCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RemoveJointAnimationCommand
@ -324,7 +353,7 @@ class RemoveJointAnimationCommand(Command):
_py3dnacalib.RemoveJointAnimationCommand_swigregister(RemoveJointAnimationCommand)
class RemoveJointCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RemoveJointCommand
@ -344,7 +373,7 @@ class RemoveJointCommand(Command):
_py3dnacalib.RemoveJointCommand_swigregister(RemoveJointCommand)
class RemoveMeshCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RemoveMeshCommand
@ -364,7 +393,7 @@ class RemoveMeshCommand(Command):
_py3dnacalib.RemoveMeshCommand_swigregister(RemoveMeshCommand)
class RenameAnimatedMapCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RenameAnimatedMapCommand
@ -381,7 +410,7 @@ class RenameAnimatedMapCommand(Command):
_py3dnacalib.RenameAnimatedMapCommand_swigregister(RenameAnimatedMapCommand)
class RenameBlendShapeCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RenameBlendShapeCommand
@ -398,7 +427,7 @@ class RenameBlendShapeCommand(Command):
_py3dnacalib.RenameBlendShapeCommand_swigregister(RenameBlendShapeCommand)
class RenameJointCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RenameJointCommand
@ -415,7 +444,7 @@ class RenameJointCommand(Command):
_py3dnacalib.RenameJointCommand_swigregister(RenameJointCommand)
class RenameMeshCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RenameMeshCommand
@ -432,7 +461,7 @@ class RenameMeshCommand(Command):
_py3dnacalib.RenameMeshCommand_swigregister(RenameMeshCommand)
class RotateCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RotateCommand
@ -452,7 +481,7 @@ class RotateCommand(Command):
_py3dnacalib.RotateCommand_swigregister(RotateCommand)
class ScaleCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_ScaleCommand
@ -472,7 +501,7 @@ class ScaleCommand(Command):
_py3dnacalib.ScaleCommand_swigregister(ScaleCommand)
class SetBlendShapeTargetDeltasCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_SetBlendShapeTargetDeltasCommand
@ -509,7 +538,7 @@ SetBlendShapeTargetDeltasCommand.DeltasVertexIndicesCountMismatch = _py3dnacalib
SetBlendShapeTargetDeltasCommand.DeltasMasksCountMismatch = _py3dnacalib.cvar.SetBlendShapeTargetDeltasCommand_DeltasMasksCountMismatch
class SetLODsCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_SetLODsCommand
@ -526,7 +555,7 @@ class SetLODsCommand(Command):
_py3dnacalib.SetLODsCommand_swigregister(SetLODsCommand)
class SetNeutralJointRotationsCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_SetNeutralJointRotationsCommand
@ -543,7 +572,7 @@ class SetNeutralJointRotationsCommand(Command):
_py3dnacalib.SetNeutralJointRotationsCommand_swigregister(SetNeutralJointRotationsCommand)
class SetNeutralJointTranslationsCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_SetNeutralJointTranslationsCommand
@ -560,7 +589,7 @@ class SetNeutralJointTranslationsCommand(Command):
_py3dnacalib.SetNeutralJointTranslationsCommand_swigregister(SetNeutralJointTranslationsCommand)
class SetSkinWeightsCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_SetSkinWeightsCommand
@ -586,7 +615,7 @@ class SetSkinWeightsCommand(Command):
_py3dnacalib.SetSkinWeightsCommand_swigregister(SetSkinWeightsCommand)
class SetVertexPositionsCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_SetVertexPositionsCommand
@ -613,7 +642,7 @@ _py3dnacalib.SetVertexPositionsCommand_swigregister(SetVertexPositionsCommand)
SetVertexPositionsCommand.PositionsMasksCountMismatch = _py3dnacalib.cvar.SetVertexPositionsCommand_PositionsMasksCountMismatch
class TranslateCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_TranslateCommand

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,15 +1,15 @@
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.1
# Version 4.0.0
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise RuntimeError("Python 2.7 or later required")
raise RuntimeError('Python 2.7 or later required')
# Import the low-level C/C++ module
if __package__ or "." in __name__:
if __package__ or '.' in __name__:
from . import _py3dna
else:
import _py3dna
@ -19,6 +19,35 @@ try:
except ImportError:
import __builtin__
def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
if name == "thisown":
return self.this.own(value)
if name == "this":
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name, None)
if method:
return method(self, value)
if not static:
object.__setattr__(self, name, value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self, class_type, name, value):
return _swig_setattr_nondynamic(self, class_type, name, value, 0)
def _swig_getattr(self, class_type, name):
if name == "thisown":
return self.this.own()
method = class_type.__swig_getmethods__.get(name, None)
if method:
return method(self)
raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
@ -78,7 +107,7 @@ def __managed_init(self, *args, **kwargs):
self._kwargs = kwargs
class MemoryResource(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -95,7 +124,7 @@ class MemoryResource(object):
_py3dna.MemoryResource_swigregister(MemoryResource)
class AlignedMemoryResource(MemoryResource):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def allocate(self, size, alignment):
@ -112,7 +141,7 @@ class AlignedMemoryResource(MemoryResource):
_py3dna.AlignedMemoryResource_swigregister(AlignedMemoryResource)
class ArenaMemoryResource(MemoryResource):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dna.delete_ArenaMemoryResource
@ -132,7 +161,7 @@ class ArenaMemoryResource(MemoryResource):
_py3dna.ArenaMemoryResource_swigregister(ArenaMemoryResource)
class DefaultMemoryResource(MemoryResource):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def allocate(self, size, alignment):
@ -149,7 +178,7 @@ class DefaultMemoryResource(MemoryResource):
_py3dna.DefaultMemoryResource_swigregister(DefaultMemoryResource)
class StatusCode(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
code = property(_py3dna.StatusCode_code_get, _py3dna.StatusCode_code_set)
message = property(_py3dna.StatusCode_message_get, _py3dna.StatusCode_message_set)
@ -162,7 +191,7 @@ class StatusCode(object):
_py3dna.StatusCode_swigregister(StatusCode)
class Status(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
@staticmethod
@ -187,7 +216,7 @@ def Status_get():
return _py3dna.Status_get()
class Readable(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -200,7 +229,7 @@ class Readable(object):
_py3dna.Readable_swigregister(Readable)
class Writable(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -213,7 +242,7 @@ class Writable(object):
_py3dna.Writable_swigregister(Writable)
class Seekable(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -229,7 +258,7 @@ class Seekable(object):
_py3dna.Seekable_swigregister(Seekable)
class Openable(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -242,7 +271,7 @@ class Openable(object):
_py3dna.Openable_swigregister(Openable)
class Closeable(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -255,7 +284,7 @@ class Closeable(object):
_py3dna.Closeable_swigregister(Closeable)
class Controllable(Openable, Closeable):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -265,7 +294,7 @@ class Controllable(Openable, Closeable):
_py3dna.Controllable_swigregister(Controllable)
class Bounded(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -278,7 +307,7 @@ class Bounded(object):
_py3dna.Bounded_swigregister(Bounded)
class Buffered(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -291,7 +320,7 @@ class Buffered(object):
_py3dna.Buffered_swigregister(Buffered)
class Resizable(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -304,7 +333,7 @@ class Resizable(object):
_py3dna.Resizable_swigregister(Resizable)
class BoundedIOStream(Controllable, Readable, Writable, Seekable, Bounded):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -326,7 +355,7 @@ AccessMode_ReadWrite = _py3dna.AccessMode_ReadWrite
OpenMode_Binary = _py3dna.OpenMode_Binary
OpenMode_Text = _py3dna.OpenMode_Text
class FileStream(BoundedIOStream):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -351,7 +380,7 @@ def FileStream_destroy(instance):
return _py3dna.FileStream_destroy(instance)
class MemoryMappedFileStream(BoundedIOStream, Buffered, Resizable):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -376,7 +405,7 @@ def MemoryMappedFileStream_destroy(instance):
return _py3dna.MemoryMappedFileStream_destroy(instance)
class MemoryStream(BoundedIOStream):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -434,7 +463,7 @@ MemoryMappedFileStream.AccessMode_Write = AccessMode_Write
MemoryMappedFileStream.AccessMode_ReadWrite = AccessMode_ReadWrite
class StringView(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def c_str(self):
@ -495,7 +524,7 @@ Direction_down = _py3dna.Direction_down
Direction_front = _py3dna.Direction_front
Direction_back = _py3dna.Direction_back
class CoordinateSystem(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
xAxis = property(_py3dna.CoordinateSystem_xAxis_get, _py3dna.CoordinateSystem_xAxis_set)
yAxis = property(_py3dna.CoordinateSystem_yAxis_get, _py3dna.CoordinateSystem_yAxis_set)
@ -509,7 +538,7 @@ class CoordinateSystem(object):
_py3dna.CoordinateSystem_swigregister(CoordinateSystem)
class DescriptorReader(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -561,7 +590,7 @@ class DescriptorReader(object):
_py3dna.DescriptorReader_swigregister(DescriptorReader)
class MeshBlendShapeChannelMapping(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
meshIndex = property(_py3dna.MeshBlendShapeChannelMapping_meshIndex_get, _py3dna.MeshBlendShapeChannelMapping_meshIndex_set)
blendShapeChannelIndex = property(_py3dna.MeshBlendShapeChannelMapping_blendShapeChannelIndex_get, _py3dna.MeshBlendShapeChannelMapping_blendShapeChannelIndex_set)
@ -574,7 +603,7 @@ class MeshBlendShapeChannelMapping(object):
_py3dna.MeshBlendShapeChannelMapping_swigregister(MeshBlendShapeChannelMapping)
class DefinitionReader(DescriptorReader):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -680,7 +709,7 @@ class DefinitionReader(DescriptorReader):
_py3dna.DefinitionReader_swigregister(DefinitionReader)
class BehaviorReader(DefinitionReader):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -777,7 +806,7 @@ class BehaviorReader(DefinitionReader):
_py3dna.BehaviorReader_swigregister(BehaviorReader)
class GeometryReader(DefinitionReader):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -886,7 +915,7 @@ class GeometryReader(DefinitionReader):
_py3dna.GeometryReader_swigregister(GeometryReader)
class Reader(BehaviorReader, GeometryReader):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -900,7 +929,7 @@ class Reader(BehaviorReader, GeometryReader):
_py3dna.Reader_swigregister(Reader)
class StreamReader(Reader):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -917,7 +946,7 @@ StreamReader.VersionMismatchError = _py3dna.cvar.StreamReader_VersionMismatchErr
StreamReader.InvalidDataError = _py3dna.cvar.StreamReader_InvalidDataError
class BinaryStreamReader(StreamReader):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -942,7 +971,7 @@ def BinaryStreamReader_destroy(instance):
return _py3dna.BinaryStreamReader_destroy(instance)
class JSONStreamReader(StreamReader):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -981,7 +1010,7 @@ del JSONStreamReader.create
del JSONStreamReader.destroy
class DescriptorWriter(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -1030,7 +1059,7 @@ class DescriptorWriter(object):
_py3dna.DescriptorWriter_swigregister(DescriptorWriter)
class DefinitionWriter(DescriptorWriter):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -1139,7 +1168,7 @@ class DefinitionWriter(DescriptorWriter):
_py3dna.DefinitionWriter_swigregister(DefinitionWriter)
class BehaviorWriter(DefinitionWriter):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -1236,7 +1265,7 @@ class BehaviorWriter(DefinitionWriter):
_py3dna.BehaviorWriter_swigregister(BehaviorWriter)
class GeometryWriter(DefinitionWriter):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -1294,7 +1323,7 @@ class GeometryWriter(DefinitionWriter):
_py3dna.GeometryWriter_swigregister(GeometryWriter)
class Writer(BehaviorWriter, GeometryWriter):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -1308,7 +1337,7 @@ class Writer(BehaviorWriter, GeometryWriter):
_py3dna.Writer_swigregister(Writer)
class StreamWriter(Writer):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -1322,7 +1351,7 @@ class StreamWriter(Writer):
_py3dna.StreamWriter_swigregister(StreamWriter)
class BinaryStreamWriter(StreamWriter):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -1347,7 +1376,7 @@ def BinaryStreamWriter_destroy(instance):
return _py3dna.BinaryStreamWriter_destroy(instance)
class JSONStreamWriter(StreamWriter):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")

Binary file not shown.

View File

@ -1,15 +1,15 @@
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.1
# Version 4.0.0
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise RuntimeError("Python 2.7 or later required")
raise RuntimeError('Python 2.7 or later required')
# Import the low-level C/C++ module
if __package__ or "." in __name__:
if __package__ or '.' in __name__:
from . import _py3dnacalib
else:
import _py3dnacalib
@ -19,6 +19,35 @@ try:
except ImportError:
import __builtin__
def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
if name == "thisown":
return self.this.own(value)
if name == "this":
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name, None)
if method:
return method(self, value)
if not static:
object.__setattr__(self, name, value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self, class_type, name, value):
return _swig_setattr_nondynamic(self, class_type, name, value, 0)
def _swig_getattr(self, class_type, name):
if name == "thisown":
return self.this.own()
method = class_type.__swig_getmethods__.get(name, None)
if method:
return method(self)
raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
@ -79,7 +108,7 @@ def __managed_init(self, *args, **kwargs):
import dna
class VersionInfo(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
@staticmethod
@ -118,7 +147,7 @@ def VersionInfo_getVersionString():
return _py3dnacalib.VersionInfo_getVersionString()
class DNACalibDNAReader(dna.Reader):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -149,7 +178,7 @@ del DNACalibDNAReader.create
del DNACalibDNAReader.destroy
class Command(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
@ -167,7 +196,7 @@ VectorOperation_Add = _py3dnacalib.VectorOperation_Add
VectorOperation_Subtract = _py3dnacalib.VectorOperation_Subtract
VectorOperation_Multiply = _py3dnacalib.VectorOperation_Multiply
class CommandSequence(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_CommandSequence
@ -216,7 +245,7 @@ CommandSequence.add = command_sequence_add(CommandSequence.add)
CommandSequence.remove = command_sequence_remove(CommandSequence.remove)
class CalculateMeshLowerLODsCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_CalculateMeshLowerLODsCommand
@ -233,7 +262,7 @@ class CalculateMeshLowerLODsCommand(Command):
_py3dnacalib.CalculateMeshLowerLODsCommand_swigregister(CalculateMeshLowerLODsCommand)
class ClearBlendShapesCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_ClearBlendShapesCommand
@ -247,7 +276,7 @@ class ClearBlendShapesCommand(Command):
_py3dnacalib.ClearBlendShapesCommand_swigregister(ClearBlendShapesCommand)
class PruneBlendShapeTargetsCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_PruneBlendShapeTargetsCommand
@ -264,7 +293,7 @@ class PruneBlendShapeTargetsCommand(Command):
_py3dnacalib.PruneBlendShapeTargetsCommand_swigregister(PruneBlendShapeTargetsCommand)
class RemoveAnimatedMapCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RemoveAnimatedMapCommand
@ -284,7 +313,7 @@ class RemoveAnimatedMapCommand(Command):
_py3dnacalib.RemoveAnimatedMapCommand_swigregister(RemoveAnimatedMapCommand)
class RemoveBlendShapeCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RemoveBlendShapeCommand
@ -304,7 +333,7 @@ class RemoveBlendShapeCommand(Command):
_py3dnacalib.RemoveBlendShapeCommand_swigregister(RemoveBlendShapeCommand)
class RemoveJointAnimationCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RemoveJointAnimationCommand
@ -324,7 +353,7 @@ class RemoveJointAnimationCommand(Command):
_py3dnacalib.RemoveJointAnimationCommand_swigregister(RemoveJointAnimationCommand)
class RemoveJointCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RemoveJointCommand
@ -344,7 +373,7 @@ class RemoveJointCommand(Command):
_py3dnacalib.RemoveJointCommand_swigregister(RemoveJointCommand)
class RemoveMeshCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RemoveMeshCommand
@ -364,7 +393,7 @@ class RemoveMeshCommand(Command):
_py3dnacalib.RemoveMeshCommand_swigregister(RemoveMeshCommand)
class RenameAnimatedMapCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RenameAnimatedMapCommand
@ -381,7 +410,7 @@ class RenameAnimatedMapCommand(Command):
_py3dnacalib.RenameAnimatedMapCommand_swigregister(RenameAnimatedMapCommand)
class RenameBlendShapeCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RenameBlendShapeCommand
@ -398,7 +427,7 @@ class RenameBlendShapeCommand(Command):
_py3dnacalib.RenameBlendShapeCommand_swigregister(RenameBlendShapeCommand)
class RenameJointCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RenameJointCommand
@ -415,7 +444,7 @@ class RenameJointCommand(Command):
_py3dnacalib.RenameJointCommand_swigregister(RenameJointCommand)
class RenameMeshCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RenameMeshCommand
@ -432,7 +461,7 @@ class RenameMeshCommand(Command):
_py3dnacalib.RenameMeshCommand_swigregister(RenameMeshCommand)
class RotateCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_RotateCommand
@ -452,7 +481,7 @@ class RotateCommand(Command):
_py3dnacalib.RotateCommand_swigregister(RotateCommand)
class ScaleCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_ScaleCommand
@ -472,7 +501,7 @@ class ScaleCommand(Command):
_py3dnacalib.ScaleCommand_swigregister(ScaleCommand)
class SetBlendShapeTargetDeltasCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_SetBlendShapeTargetDeltasCommand
@ -509,7 +538,7 @@ SetBlendShapeTargetDeltasCommand.DeltasVertexIndicesCountMismatch = _py3dnacalib
SetBlendShapeTargetDeltasCommand.DeltasMasksCountMismatch = _py3dnacalib.cvar.SetBlendShapeTargetDeltasCommand_DeltasMasksCountMismatch
class SetLODsCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_SetLODsCommand
@ -526,7 +555,7 @@ class SetLODsCommand(Command):
_py3dnacalib.SetLODsCommand_swigregister(SetLODsCommand)
class SetNeutralJointRotationsCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_SetNeutralJointRotationsCommand
@ -543,7 +572,7 @@ class SetNeutralJointRotationsCommand(Command):
_py3dnacalib.SetNeutralJointRotationsCommand_swigregister(SetNeutralJointRotationsCommand)
class SetNeutralJointTranslationsCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_SetNeutralJointTranslationsCommand
@ -560,7 +589,7 @@ class SetNeutralJointTranslationsCommand(Command):
_py3dnacalib.SetNeutralJointTranslationsCommand_swigregister(SetNeutralJointTranslationsCommand)
class SetSkinWeightsCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_SetSkinWeightsCommand
@ -586,7 +615,7 @@ class SetSkinWeightsCommand(Command):
_py3dnacalib.SetSkinWeightsCommand_swigregister(SetSkinWeightsCommand)
class SetVertexPositionsCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_SetVertexPositionsCommand
@ -613,7 +642,7 @@ _py3dnacalib.SetVertexPositionsCommand_swigregister(SetVertexPositionsCommand)
SetVertexPositionsCommand.PositionsMasksCountMismatch = _py3dnacalib.cvar.SetVertexPositionsCommand_PositionsMasksCountMismatch
class TranslateCommand(Command):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
__swig_destroy__ = _py3dnacalib.delete_TranslateCommand