HDK
|
#include "pxr/pxr.h"
#include "pxr/base/vt/api.h"
#include "pxr/base/vt/array.h"
#include "pxr/base/vt/types.h"
#include "pxr/base/vt/value.h"
#include "pxr/base/vt/pyOperators.h"
#include "pxr/base/arch/math.h"
#include "pxr/base/arch/inttypes.h"
#include "pxr/base/arch/pragmas.h"
#include "pxr/base/gf/half.h"
#include "pxr/base/gf/traits.h"
#include "pxr/base/tf/pyContainerConversions.h"
#include "pxr/base/tf/pyFunction.h"
#include "pxr/base/tf/pyLock.h"
#include "pxr/base/tf/pyObjWrapper.h"
#include "pxr/base/tf/pyResultConversions.h"
#include "pxr/base/tf/pyUtils.h"
#include "pxr/base/tf/iterator.h"
#include "pxr/base/tf/meta.h"
#include "pxr/base/tf/span.h"
#include "pxr/base/tf/stringUtils.h"
#include "pxr/base/tf/tf.h"
#include "pxr/base/tf/wrapTypeHelpers.h"
#include "pxr/external/boost/python/class.hpp"
#include "pxr/external/boost/python/copy_const_reference.hpp"
#include "pxr/external/boost/python/def.hpp"
#include "pxr/external/boost/python/detail/api_placeholder.hpp"
#include "pxr/external/boost/python/extract.hpp"
#include "pxr/external/boost/python/implicit.hpp"
#include "pxr/external/boost/python/iterator.hpp"
#include "pxr/external/boost/python/make_constructor.hpp"
#include "pxr/external/boost/python/object.hpp"
#include "pxr/external/boost/python/operators.hpp"
#include "pxr/external/boost/python/return_arg.hpp"
#include "pxr/external/boost/python/slice.hpp"
#include "pxr/external/boost/python/type_id.hpp"
#include "pxr/external/boost/python/overloads.hpp"
#include <algorithm>
#include <numeric>
#include <ostream>
#include <string>
#include <memory>
#include <vector>
Go to the source code of this file.
Namespaces | |
Vt_WrapArray | |
Macros | |
#define | VT_WRAP_ARRAY(unused, elem) VtWrapArray< VtArray< VT_TYPE(elem) > >(); |
Typedefs | |
using | Vt_WrapArray::Vt_OptimizedStreamIntegralTypes = TfMetaList< short, unsigned short, int, unsigned int, long, unsigned long, long long, unsigned long long > |
Functions | |
template<typename T > | |
object | Vt_WrapArray::getitem_ellipsis (VtArray< T > const &self, object idx) |
template<typename T > | |
object | Vt_WrapArray::getitem_index (VtArray< T > const &self, int64_t idx) |
template<typename T > | |
object | Vt_WrapArray::getitem_slice (VtArray< T > const &self, slice idx) |
template<typename T , typename S > | |
void | Vt_WrapArray::setArraySlice (VtArray< T > &self, S value, slice::range< T * > &range, size_t setSize, bool tile=false) |
template<typename T > | |
void | Vt_WrapArray::setArraySlice (VtArray< T > &self, slice idx, object value, bool tile=false) |
template<typename T > | |
void | Vt_WrapArray::setitem_ellipsis (VtArray< T > &self, object idx, object value) |
template<typename T > | |
void | Vt_WrapArray::setitem_index (VtArray< T > &self, int64_t idx, object value) |
template<typename T > | |
void | Vt_WrapArray::setitem_slice (VtArray< T > &self, slice idx, object value) |
template<class T > | |
VT_API string | Vt_WrapArray::GetVtArrayName () |
template<class T , class... Ts> | |
constexpr bool | Vt_WrapArray::Vt_IsAnySameImpl (TfMetaList< Ts...>) |
template<class T , class TypeList > | |
constexpr bool | Vt_WrapArray::Vt_IsAnySame () |
template<typename T > | |
bool | Vt_WrapArray::_IsFinite (T const &value) |
bool | Vt_WrapArray::_IsFinite (GfHalf const &value) |
VT_API unsigned int | Vt_WrapArray::Vt_ComputeEffectiveRankAndLastDimSize (Vt_ShapeData const *sd, size_t *lastDimSize) |
template<typename T > | |
string | Vt_WrapArray::__repr__ (VtArray< T > const &self) |
template<typename T > | |
VtArray< T > * | Vt_WrapArray::VtArray__init__ (object const &values) |
template<typename T > | |
VtArray< T > * | Vt_WrapArray::VtArray__init__2 (size_t size, object const &values) |
template<typename T > | |
void | VtWrapArray () |
template<class Array > | |
VtValue | Vt_ConvertFromPySequenceOrIter (TfPyObjWrapper const &obj) |
template<class Array , class Iter > | |
VtValue | Vt_ConvertFromRange (Iter begin, Iter end) |
template<class T > | |
VtValue | Vt_CastToArray (VtValue const &v) |
template<class Elem > | |
void | VtRegisterValueCastsFromPythonSequencesToArray () |
Register casts with VtValue from python sequences to VtArray types. More... | |
#define VT_WRAP_ARRAY | ( | unused, | |
elem | |||
) | VtWrapArray< VtArray< VT_TYPE(elem) > >(); |
Definition at line 574 of file wrapArray.h.
Definition at line 552 of file wrapArray.h.
VtValue Vt_ConvertFromPySequenceOrIter | ( | TfPyObjWrapper const & | obj | ) |
Definition at line 495 of file wrapArray.h.
VtValue Vt_ConvertFromRange | ( | Iter | begin, |
Iter | end | ||
) |
Definition at line 537 of file wrapArray.h.
void VtRegisterValueCastsFromPythonSequencesToArray | ( | ) |
Register casts with VtValue from python sequences to VtArray types.
Definition at line 567 of file wrapArray.h.
void VtWrapArray | ( | ) |
Definition at line 405 of file wrapArray.h.