HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Vt_WrapArray Namespace Reference

Functions

template<typename T >
object getitem_ellipsis (VtArray< T > const &self, object idx)
 
template<typename T >
object getitem_index (VtArray< T > const &self, int64_t idx)
 
template<typename T >
object getitem_slice (VtArray< T > const &self, slice idx)
 
template<typename T , typename S >
void setArraySlice (VtArray< T > &self, S value, slice::range< T * > &range, size_t setSize, bool tile=false)
 
template<typename T >
void setArraySlice (VtArray< T > &self, slice idx, object value, bool tile=false)
 
template<typename T >
void setitem_ellipsis (VtArray< T > &self, object idx, object value)
 
template<typename T >
void setitem_index (VtArray< T > &self, int64_t idx, object value)
 
template<typename T >
void setitem_slice (VtArray< T > &self, slice idx, object value)
 
template<class T >
VT_API string GetVtArrayName ()
 
 HBOOST_PP_SEQ_FOR_EACH (MAKE_STREAM_FUNC,~, VT_FLOATING_POINT_BUILTIN_VALUE_TYPES) static unsigned int Vt_ComputeEffectiveRankAndLastDimSize(Vt_ShapeData const *sd
 
 if (rank==1) return rank
 
 if (remainder) rank
 
template<typename T >
string __repr__ (VtArray< T > const &self)
 
template<typename T >
VtArray< T > * VtArray__init__ (object const &values)
 
template<typename T >
VtArray< T > * VtArray__init__2 (size_t size, object const &values)
 

Variables

size_t *lastDimSize unsigned int rank = sd->GetRank()
 
size_t divisor
 
size_t remainder = divisor ? sd->totalSize % divisor : 0
 
lastDimSize = divisor ? sd->totalSize / divisor : 0
 

Function Documentation

template<typename T >
string Vt_WrapArray::__repr__ ( VtArray< T > const self)

Definition at line 353 of file wrapArray.h.

template<typename T >
object Vt_WrapArray::getitem_ellipsis ( VtArray< T > const self,
object  idx 
)

Definition at line 90 of file wrapArray.h.

template<typename T >
object Vt_WrapArray::getitem_index ( VtArray< T > const self,
int64_t  idx 
)

Definition at line 102 of file wrapArray.h.

template<typename T >
object Vt_WrapArray::getitem_slice ( VtArray< T > const self,
slice  idx 
)

Definition at line 111 of file wrapArray.h.

template<class T >
VT_API string Vt_WrapArray::GetVtArrayName ( )
Vt_WrapArray::HBOOST_PP_SEQ_FOR_EACH ( MAKE_STREAM_FUNC  ,
,
VT_FLOATING_POINT_BUILTIN_VALUE_TYPES   
) const
Vt_WrapArray::if ( rank  = =1)
Vt_WrapArray::if ( remainder  )
template<typename T , typename S >
void Vt_WrapArray::setArraySlice ( VtArray< T > &  self,
value,
slice::range< T * > &  range,
size_t  setSize,
bool  tile = false 
)

Definition at line 132 of file wrapArray.h.

template<typename T >
void Vt_WrapArray::setArraySlice ( VtArray< T > &  self,
slice  idx,
object  value,
bool  tile = false 
)

Definition at line 175 of file wrapArray.h.

template<typename T >
void Vt_WrapArray::setitem_ellipsis ( VtArray< T > &  self,
object  idx,
object  value 
)

Definition at line 247 of file wrapArray.h.

template<typename T >
void Vt_WrapArray::setitem_index ( VtArray< T > &  self,
int64_t  idx,
object  value 
)

Definition at line 259 of file wrapArray.h.

template<typename T >
void Vt_WrapArray::setitem_slice ( VtArray< T > &  self,
slice  idx,
object  value 
)

Definition at line 267 of file wrapArray.h.

template<typename T >
VtArray<T>* Vt_WrapArray::VtArray__init__ ( object const values)

Definition at line 399 of file wrapArray.h.

template<typename T >
VtArray<T>* Vt_WrapArray::VtArray__init__2 ( size_t  size,
object const values 
)

Definition at line 411 of file wrapArray.h.

Variable Documentation

size_t Vt_WrapArray::divisor
Initial value:
sd->otherDims, sd->otherDims + rank-1,
1, [](size_t x, size_t y) { return x * y; })
GLint GLenum GLint x
Definition: glcorearb.h:409
PromoteType< ValueT >::Highest accumulate(const PointDataTreeT &points, const std::string &attribute, const FilterT &filter=NullFilter())
Evaluates the total value of a point attribute.
size_t *lastDimSize unsigned int rank
Definition: wrapArray.h:335
GLint y
Definition: glcorearb.h:103

Definition at line 339 of file wrapArray.h.

* Vt_WrapArray::lastDimSize = divisor ? sd->totalSize / divisor : 0

Definition at line 344 of file wrapArray.h.

return Vt_WrapArray::rank = sd->GetRank()

Definition at line 335 of file wrapArray.h.

size_t Vt_WrapArray::remainder = divisor ? sd->totalSize % divisor : 0

Definition at line 343 of file wrapArray.h.