VTK-m  1.4
Public Member Functions | Private Types | List of all members
vtkm::cont::CoordinateSystem Class Reference

#include <CoordinateSystem.h>

Inheritance diagram for vtkm::cont::CoordinateSystem:
Inheritance graph
[legend]
Collaboration diagram for vtkm::cont::CoordinateSystem:
Collaboration graph
[legend]

Public Member Functions

VTKM_CONT CoordinateSystem ()
 
VTKM_CONT CoordinateSystem (std::string name, const vtkm::cont::ArrayHandleVirtual< vtkm::Vec3f > &data)
 
template<typename TypeList >
VTKM_CONT CoordinateSystem (std::string name, const vtkm::cont::VariantArrayHandleBase< TypeList > &data)
 
template<typename T , typename Storage >
VTKM_CONT CoordinateSystem (std::string name, const ArrayHandle< T, Storage > &data)
 
VTKM_CONT CoordinateSystem (std::string name, vtkm::Id3 dimensions, vtkm::Vec3f origin=vtkm::Vec3f(0.0f, 0.0f, 0.0f), vtkm::Vec3f spacing=vtkm::Vec3f(1.0f, 1.0f, 1.0f))
 This constructor of coordinate system sets up a regular grid of points. More...
 
VTKM_CONT vtkm::Id GetNumberOfPoints () const
 
VTKM_CONT vtkm::cont::ArrayHandleVirtualCoordinates GetData () const
 
VTKM_CONT void SetData (const vtkm::cont::ArrayHandleVirtual< vtkm::Vec3f > &newdata)
 
template<typename T , typename Storage >
VTKM_CONT void SetData (const vtkm::cont::ArrayHandle< T, Storage > &newdata)
 
template<typename TypeList >
VTKM_CONT void SetData (const vtkm::cont::VariantArrayHandleBase< TypeList > &newdata)
 
VTKM_CONT void GetRange (vtkm::Range *range) const
 
VTKM_CONT vtkm::Vec< vtkm::Range, 3 > GetRange () const
 
VTKM_CONT vtkm::cont::ArrayHandle< vtkm::RangeGetRangeAsArrayHandle () const
 
VTKM_CONT vtkm::Bounds GetBounds () const
 
virtual void PrintSummary (std::ostream &out) const override
 
VTKM_CONT void ReleaseResourcesExecution () override
 Releases any resources being used in the execution environment (that are not being shared by the control environment). More...
 
- Public Member Functions inherited from vtkm::cont::Field
VTKM_CONT Field ()=default
 
VTKM_CONT Field (std::string name, Association association, const vtkm::cont::VariantArrayHandle &data)
 
template<typename T , typename Storage >
VTKM_CONT Field (std::string name, Association association, const vtkm::cont::ArrayHandle< T, Storage > &data)
 
 Field (const vtkm::cont::Field &src)
 
 Field (vtkm::cont::Field &&src) noexcept
 
virtual VTKM_CONT ~Field ()
 
VTKM_CONT Fieldoperator= (const vtkm::cont::Field &src)
 
VTKM_CONT Fieldoperator= (vtkm::cont::Field &&src) noexcept
 
VTKM_CONT const std::string & GetName () const
 
VTKM_CONT Association GetAssociation () const
 
const vtkm::cont::VariantArrayHandleGetData () const
 
vtkm::cont::VariantArrayHandleGetData ()
 
VTKM_CONT bool IsFieldCell () const
 
VTKM_CONT bool IsFieldPoint () const
 
VTKM_CONT vtkm::Id GetNumberOfValues () const
 
template<typename TypeList >
VTKM_CONT void GetRange (vtkm::Range *range, TypeList) const
 
template<typename TypeList >
VTKM_CONT const vtkm::cont::ArrayHandle< vtkm::Range > & GetRange (TypeList) const
 
VTKM_CONT const vtkm::cont::ArrayHandle< vtkm::Range > & GetRange () const
 
VTKM_CONT void GetRange (vtkm::Range *range) const
 
template<typename T , typename StorageTag >
VTKM_CONT void SetData (const vtkm::cont::ArrayHandle< T, StorageTag > &newdata)
 
VTKM_CONT void SetData (const vtkm::cont::VariantArrayHandle &newdata)
 

Private Types

using Superclass = vtkm::cont::Field
 
using CoordinatesTypeList = vtkm::ListTagBase< vtkm::cont::ArrayHandleVirtualCoordinates::ValueType >
 

Additional Inherited Members

- Public Types inherited from vtkm::cont::Field
enum  Association { Association::ANY, Association::WHOLE_MESH, Association::POINTS, Association::CELL_SET }
 

Member Typedef Documentation

using vtkm::cont::CoordinateSystem::CoordinatesTypeList = vtkm::ListTagBase<vtkm::cont::ArrayHandleVirtualCoordinates::ValueType>
private

Constructor & Destructor Documentation

VTKM_CONT vtkm::cont::CoordinateSystem::CoordinateSystem ( )
VTKM_CONT vtkm::cont::CoordinateSystem::CoordinateSystem ( std::string  name,
const vtkm::cont::ArrayHandleVirtual< vtkm::Vec3f > &  data 
)
template<typename TypeList >
VTKM_CONT vtkm::cont::CoordinateSystem::CoordinateSystem ( std::string  name,
const vtkm::cont::VariantArrayHandleBase< TypeList > &  data 
)
template<typename T , typename Storage >
VTKM_CONT vtkm::cont::CoordinateSystem::CoordinateSystem ( std::string  name,
const ArrayHandle< T, Storage > &  data 
)
VTKM_CONT vtkm::cont::CoordinateSystem::CoordinateSystem ( std::string  name,
vtkm::Id3  dimensions,
vtkm::Vec3f  origin = vtkm::Vec3f(0.0f, 0.0f, 0.0f),
vtkm::Vec3f  spacing = vtkm::Vec3f(1.0f, 1.0f, 1.0f) 
)

This constructor of coordinate system sets up a regular grid of points.

Member Function Documentation

VTKM_CONT vtkm::Bounds vtkm::cont::CoordinateSystem::GetBounds ( ) const
inline
VTKM_CONT vtkm::cont::ArrayHandleVirtualCoordinates vtkm::cont::CoordinateSystem::GetData ( ) const
VTKM_CONT vtkm::Id vtkm::cont::CoordinateSystem::GetNumberOfPoints ( ) const
inline
VTKM_CONT void vtkm::cont::CoordinateSystem::GetRange ( vtkm::Range range) const
inline
VTKM_CONT vtkm::Vec<vtkm::Range, 3> vtkm::cont::CoordinateSystem::GetRange ( ) const
inline
VTKM_CONT vtkm::cont::ArrayHandle<vtkm::Range> vtkm::cont::CoordinateSystem::GetRangeAsArrayHandle ( ) const
inline
virtual void vtkm::cont::CoordinateSystem::PrintSummary ( std::ostream &  out) const
overridevirtual

Reimplemented from vtkm::cont::Field.

VTKM_CONT void vtkm::cont::CoordinateSystem::ReleaseResourcesExecution ( )
inlineoverridevirtual

Releases any resources being used in the execution environment (that are not being shared by the control environment).

Reimplemented from vtkm::cont::Field.

VTKM_CONT void vtkm::cont::CoordinateSystem::SetData ( const vtkm::cont::ArrayHandleVirtual< vtkm::Vec3f > &  newdata)
template<typename T , typename Storage >
VTKM_CONT void vtkm::cont::CoordinateSystem::SetData ( const vtkm::cont::ArrayHandle< T, Storage > &  newdata)
template<typename TypeList >
VTKM_CONT void vtkm::cont::CoordinateSystem::SetData ( const vtkm::cont::VariantArrayHandleBase< TypeList > &  newdata)

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