|
| CoordinateSystem () |
|
| CoordinateSystem (const vtkm::cont::Field &src) |
|
| CoordinateSystem (std::string name, const vtkm::cont::UnknownArrayHandle &data) |
|
template<typename T , typename Storage > |
| CoordinateSystem (std::string name, const ArrayHandle< T, Storage > &data) |
|
| 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::Id | GetNumberOfPoints () const |
|
vtkm::cont::UncertainArrayHandle< vtkm::TypeListFieldVec3, ::vtkm::cont::StorageListCommon > | GetData () const |
|
MultiplexerArrayType | GetDataAsMultiplexer () const |
| Returns the data for the coordinate system as an ArrayHandleMultiplexer . More...
|
|
void | GetRange (vtkm::Range *range) const |
|
vtkm::Vec< vtkm::Range, 3 > | GetRange () const |
|
vtkm::cont::ArrayHandle< vtkm::Range > | GetRangeAsArrayHandle () const |
|
vtkm::Bounds | GetBounds () const |
|
void | PrintSummary (std::ostream &out, bool full=false) const override |
| Print a summary of the data in the field. More...
|
|
void | ReleaseResourcesExecution () override |
| Remove the data from the device memory (but preserve the data on the host). More...
|
|
| Field ()=default |
|
| Field (std::string name, Association association, const vtkm::cont::UnknownArrayHandle &data) |
| Create a field with the given name, association, and data. More...
|
|
template<typename T , typename Storage > |
| Field (std::string name, Association association, const vtkm::cont::ArrayHandle< T, Storage > &data) |
| Create a field with the given name, association, and data. More...
|
|
| Field (const vtkm::cont::Field &src) |
|
| Field (vtkm::cont::Field &&src) noexcept |
|
virtual | ~Field () |
|
Field & | operator= (const vtkm::cont::Field &src) |
|
Field & | operator= (vtkm::cont::Field &&src) noexcept |
|
bool | IsCellField () const |
| Return true if this field is associated with cells. More...
|
|
bool | IsPointField () const |
| Return true if this field is associated with points. More...
|
|
bool | IsWholeDataSetField () const |
| Return true if this field is associated with the whole data set. More...
|
|
bool | IsPartitionsField () const |
| Return true if this field is associated with partitions in a partitioned data set. More...
|
|
bool | IsGlobalField () const |
| Return true if this field is global. More...
|
|
bool | IsSupportedType () const |
| Returns true if the array of the field has a value type that matches something in VTKM_FIELD_TYPE_LIST and a storage that matches something in VTKM_FIELD_STORAGE_LIST . More...
|
|
vtkm::Id | GetNumberOfValues () const |
| Return the number of values in the field array. More...
|
|
const std::string & | GetName () const |
| Return the name of the field. More...
|
|
Association | GetAssociation () const |
| Return the association of the field. More...
|
|
const vtkm::cont::UnknownArrayHandle & | GetData () const |
| Get the array of the data for the field. More...
|
|
vtkm::cont::UnknownArrayHandle & | GetData () |
| Get the array of the data for the field. More...
|
|
const vtkm::cont::ArrayHandle< vtkm::Range > & | GetRange () const |
| Returns the range of each component in the field array. More...
|
|
void | GetRange (vtkm::Range *range) const |
| Returns the range of each component in the field array. More...
|
|
vtkm::cont::UnknownArrayHandle | GetDataAsDefaultFloat () const |
| Get the data as an array with vtkm::FloatDefault components. More...
|
|
vtkm::cont::UnknownArrayHandle | GetDataWithExpectedTypes () const |
| Get the data as an array of an expected type. More...
|
|
void | ConvertToExpected () |
| Convert this field to use an array of an expected type. More...
|
|
void | SetData (const vtkm::cont::UnknownArrayHandle &newdata) |
|
template<typename T , typename StorageTag > |
void | SetData (const vtkm::cont::ArrayHandle< T, StorageTag > &newdata) |
|
Manages a coordinate system for a DataSet
.
A coordinate system is really a field with a special meaning, so CoordinateSystem
class inherits from the Field
class. CoordinateSystem
constrains the field to be associated with points and typically has 3D floating point vectors for values.