|
VTK-m
2.3
|
Defines a 1-, 2-, or 3-dimensional structured grid of points. More...
#include <CastAndCall.h>
Public Types | |
| using | SchedulingRangeType = typename InternalsType::SchedulingRangeType |
| template<typename VisitTopology , typename IncidentTopology > | |
| using | ExecConnectivityType = vtkm::exec::ConnectivityStructured< VisitTopology, IncidentTopology, Dimension > |
Public Member Functions | |
| vtkm::Id | GetNumberOfCells () const override |
| Get the number of cells in the topology. More... | |
| vtkm::Id | GetNumberOfPoints () const override |
| Get the number of points in the topology. More... | |
| vtkm::Id | GetNumberOfFaces () const override |
| vtkm::Id | GetNumberOfEdges () const override |
| void | ReleaseResourcesExecution () override |
| void | SetPointDimensions (SchedulingRangeType dimensions) |
| Set the dimensions of the structured array of points. More... | |
| void | SetGlobalPointDimensions (SchedulingRangeType dimensions) |
| void | SetGlobalPointIndexStart (SchedulingRangeType start) |
| SchedulingRangeType | GetPointDimensions () const |
| Get the dimensions of the points. More... | |
| SchedulingRangeType | GetGlobalPointDimensions () const |
| SchedulingRangeType | GetCellDimensions () const |
| Get the dimensions of the cells. More... | |
| SchedulingRangeType | GetGlobalCellDimensions () const |
| SchedulingRangeType | GetGlobalPointIndexStart () const |
| vtkm::IdComponent | GetNumberOfPointsInCell (vtkm::Id=0) const override |
| vtkm::UInt8 | GetCellShape (vtkm::Id=0) const override |
| void | GetCellPointIds (vtkm::Id id, vtkm::Id *ptids) const override |
| std::shared_ptr< CellSet > | NewInstance () const override |
| void | DeepCopy (const CellSet *src) override |
| template<typename TopologyElement > | |
| SchedulingRangeType | GetSchedulingRange (TopologyElement) const |
| template<typename VisitTopology , typename IncidentTopology > | |
| ExecConnectivityType< VisitTopology, IncidentTopology > | PrepareForInput (vtkm::cont::DeviceAdapterId device, VisitTopology visitTopology, IncidentTopology incidentTopology, vtkm::cont::Token &token) const |
| Prepares the data for a particular device and returns the execution object for it. More... | |
| void | PrintSummary (std::ostream &out) const override |
| ~CellSetStructured () override | |
| CellSetStructured ()=default | |
| CellSetStructured (const CellSetStructured &src) | |
| CellSetStructured & | operator= (const CellSetStructured &src) |
| CellSetStructured (CellSetStructured &&src) noexcept | |
| CellSetStructured & | operator= (CellSetStructured &&src) noexcept |
Static Public Attributes | |
| static const vtkm::IdComponent | Dimension = DIMENSION |
Private Types | |
| using | Thisclass = vtkm::cont::CellSetStructured< DIMENSION > |
| using | InternalsType = vtkm::internal::ConnectivityStructuredInternals< DIMENSION > |
Private Attributes | |
| InternalsType | Structure |
Defines a 1-, 2-, or 3-dimensional structured grid of points.
The structured cells form lines, quadrilaterals, or hexahedra for 1-, 2-, or 3-dimensions, respectively, to connect th epoints. The topology is specified by simply providing the dimensions, which is the number of points in the i, j, and k directions of the grid of points.
| using vtkm::cont::CellSetStructured< DIMENSION >::ExecConnectivityType = vtkm::exec::ConnectivityStructured<VisitTopology, IncidentTopology, Dimension> |
|
private |
| using vtkm::cont::CellSetStructured< DIMENSION >::SchedulingRangeType = typename InternalsType::SchedulingRangeType |
|
private |
|
inlineoverride |
|
default |
|
inline |
|
inlinenoexcept |
|
inlineoverride |
|
inline |
Get the dimensions of the cells.
This is typically one less than the dimensions of the points.
|
inlineoverride |
|
inlineoverride |
|
inline |
|
inline |
|
inline |
|
inlineoverride |
Get the number of cells in the topology.
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
Get the number of points in the topology.
|
inlineoverride |
|
inline |
Get the dimensions of the points.
|
inline |
|
inlineoverride |
|
inlinenoexcept |
|
inline |
|
inline |
Prepares the data for a particular device and returns the execution object for it.
| device | Specifies the device on which the cell set will ve available. |
| visitTopology | Specifies the "visit" topology element. This is the element that will be indexed in the resulting connectivity object. This is typically vtkm::TopologyElementTagPoint or vtkm::TopologyElementTagCell. |
| incidentTopology | Specifies the "incident" topology element. This is the element that will incident to the elements that are visited. This is typically vtkm::TopologyElementTagPoint or vtkm::TopologyElementTagCell. |
| token | Provides a vtkm::cont::Token object that will define the span which the return execution object must be valid. |
|
inlineoverride |
|
inlineoverride |
|
inline |
|
inline |
|
inline |
Set the dimensions of the structured array of points.
|
static |
|
private |
1.8.17