VTK  9.4.20241108
Classes | Namespaces | Macros | Functions
vtkAOSDataArrayTemplate.h File Reference
#include "vtkBuffer.h"
#include "vtkBuild.h"
#include "vtkCommonCoreModule.h"
#include "vtkCompiler.h"
#include "vtkDataArrayMeta.h"
#include "vtkGenericDataArray.h"
Include dependency graph for vtkAOSDataArrayTemplate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vtkAOSDataArrayTemplate< ValueTypeT >
 Array-Of-Structs implementation of vtkGenericDataArray. More...
 

Namespaces

namespace  vtk
 Specialization of tuple ranges and iterators for vtkAOSDataArrayTemplate.
 
namespace  vtk::detail
 

Macros

#define vtkCreateWrappedArrayInterface(T)
 
#define vtkCreateReadOnlyWrappedArrayInterface(T)
 
#define VTK_AOS_DATA_ARRAY_TEMPLATE_EXTERN
 

Functions

 vtkArrayDownCast_TemplateFastCastMacro (vtkAOSDataArrayTemplate)
 
 vtkExternTemplateMacro (extern template class VTKCOMMONCORE_EXPORT vtkAOSDataArrayTemplate)
 

Macro Definition Documentation

◆ vtkCreateWrappedArrayInterface

#define vtkCreateWrappedArrayInterface (   T)
Value:
vtkCreateReadOnlyWrappedArrayInterface(T) void SetTypedTuple(vtkIdType i, const T* tuple) \
VTK_EXPECTS(0 <= i && i < GetNumberOfTuples()); \
void InsertTypedTuple(vtkIdType i, const T* tuple) VTK_EXPECTS(0 <= i); \
vtkIdType InsertNextTypedTuple(const T* tuple); \
void SetValue(vtkIdType id, T value) VTK_EXPECTS(0 <= id && id < GetNumberOfValues()); \
bool SetNumberOfValues(vtkIdType number) override; \
void InsertValue(vtkIdType id, T f) VTK_EXPECTS(0 <= id); \
vtkIdType InsertNextValue(T f); \
T* WritePointer(vtkIdType id, vtkIdType number); \
T* GetPointer(vtkIdType id); \
void SetArray(VTK_ZEROCOPY T* array, vtkIdType size, int save); \
void SetArray(VTK_ZEROCOPY T* array, vtkIdType size, int save, int deleteMethod)
#define vtkCreateReadOnlyWrappedArrayInterface(T)
int vtkIdType
Definition vtkType.h:315
void save(Archiver &ar, const std::string &str, const unsigned int vtkNotUsed(version))
#define VTK_EXPECTS(x)
#define VTK_ZEROCOPY

Definition at line 363 of file vtkAOSDataArrayTemplate.h.

◆ vtkCreateReadOnlyWrappedArrayInterface

#define vtkCreateReadOnlyWrappedArrayInterface (   T)
Value:
int GetDataType() const override; \
void GetTypedTuple(vtkIdType i, T* tuple) VTK_EXPECTS(0 <= i && i < GetNumberOfTuples()); \
T GetValue(vtkIdType id) const VTK_EXPECTS(0 <= id && id < GetNumberOfValues()); \
T* GetValueRange(int comp) VTK_SIZEHINT(2); \
T* GetValueRange() VTK_SIZEHINT(2);
#define VTK_SIZEHINT(...)

Definition at line 377 of file vtkAOSDataArrayTemplate.h.

◆ VTK_AOS_DATA_ARRAY_TEMPLATE_EXTERN

#define VTK_AOS_DATA_ARRAY_TEMPLATE_EXTERN

Definition at line 404 of file vtkAOSDataArrayTemplate.h.

Function Documentation

◆ vtkArrayDownCast_TemplateFastCastMacro()

vtkArrayDownCast_TemplateFastCastMacro ( vtkAOSDataArrayTemplate  )

◆ vtkExternTemplateMacro()

vtkExternTemplateMacro ( extern template class VTKCOMMONCORE_EXPORT  vtkAOSDataArrayTemplate)