VTK-m  1.8
Public Member Functions | Private Attributes | List of all members
vtkm::cont::DataSetBuilderExplicitIterative Class Reference

#include <DataSetBuilderExplicit.h>

Public Member Functions

VTKM_CONT DataSetBuilderExplicitIterative ()
 
VTKM_CONT void Begin (const std::string &coordName="coords")
 
VTKM_CONT vtkm::cont::DataSet Create ()
 
VTKM_CONT vtkm::Id AddPoint (const vtkm::Vec3f &pt)
 
VTKM_CONT vtkm::Id AddPoint (const vtkm::FloatDefault &x, const vtkm::FloatDefault &y, const vtkm::FloatDefault &z=0)
 
template<typename T >
VTKM_CONT vtkm::Id AddPoint (const T &x, const T &y, const T &z=0)
 
template<typename T >
VTKM_CONT vtkm::Id AddPoint (const vtkm::Vec< T, 3 > &pt)
 
VTKM_CONT void AddCell (vtkm::UInt8 shape)
 
VTKM_CONT void AddCell (const vtkm::UInt8 &shape, const std::vector< vtkm::Id > &conn)
 
VTKM_CONT void AddCell (const vtkm::UInt8 &shape, const vtkm::Id *conn, const vtkm::IdComponent &n)
 
VTKM_CONT void AddCellPoint (vtkm::Id pointIndex)
 

Private Attributes

std::string coordNm
 
std::vector< vtkm::Vec3fpoints
 
std::vector< vtkm::UInt8shapes
 
std::vector< vtkm::IdComponentnumIdx
 
std::vector< vtkm::Idconnectivity
 

Constructor & Destructor Documentation

◆ DataSetBuilderExplicitIterative()

VTKM_CONT vtkm::cont::DataSetBuilderExplicitIterative::DataSetBuilderExplicitIterative ( )

Member Function Documentation

◆ AddCell() [1/3]

VTKM_CONT void vtkm::cont::DataSetBuilderExplicitIterative::AddCell ( const vtkm::UInt8 shape,
const std::vector< vtkm::Id > &  conn 
)

◆ AddCell() [2/3]

VTKM_CONT void vtkm::cont::DataSetBuilderExplicitIterative::AddCell ( const vtkm::UInt8 shape,
const vtkm::Id conn,
const vtkm::IdComponent n 
)

◆ AddCell() [3/3]

VTKM_CONT void vtkm::cont::DataSetBuilderExplicitIterative::AddCell ( vtkm::UInt8  shape)

◆ AddCellPoint()

VTKM_CONT void vtkm::cont::DataSetBuilderExplicitIterative::AddCellPoint ( vtkm::Id  pointIndex)

◆ AddPoint() [1/4]

template<typename T >
VTKM_CONT vtkm::Id vtkm::cont::DataSetBuilderExplicitIterative::AddPoint ( const T &  x,
const T &  y,
const T &  z = 0 
)
inline

◆ AddPoint() [2/4]

VTKM_CONT vtkm::Id vtkm::cont::DataSetBuilderExplicitIterative::AddPoint ( const vtkm::FloatDefault x,
const vtkm::FloatDefault y,
const vtkm::FloatDefault z = 0 
)

◆ AddPoint() [3/4]

VTKM_CONT vtkm::Id vtkm::cont::DataSetBuilderExplicitIterative::AddPoint ( const vtkm::Vec3f pt)

◆ AddPoint() [4/4]

template<typename T >
VTKM_CONT vtkm::Id vtkm::cont::DataSetBuilderExplicitIterative::AddPoint ( const vtkm::Vec< T, 3 > &  pt)
inline

◆ Begin()

VTKM_CONT void vtkm::cont::DataSetBuilderExplicitIterative::Begin ( const std::string &  coordName = "coords")

◆ Create()

VTKM_CONT vtkm::cont::DataSet vtkm::cont::DataSetBuilderExplicitIterative::Create ( )

Member Data Documentation

◆ connectivity

std::vector<vtkm::Id> vtkm::cont::DataSetBuilderExplicitIterative::connectivity
private

◆ coordNm

std::string vtkm::cont::DataSetBuilderExplicitIterative::coordNm
private

◆ numIdx

std::vector<vtkm::IdComponent> vtkm::cont::DataSetBuilderExplicitIterative::numIdx
private

◆ points

std::vector<vtkm::Vec3f> vtkm::cont::DataSetBuilderExplicitIterative::points
private

◆ shapes

std::vector<vtkm::UInt8> vtkm::cont::DataSetBuilderExplicitIterative::shapes
private

The documentation for this class was generated from the following file: