MCPcopy Create free account
hub / github.com/Kitware/VTK / GetDataDescriptionFromExtent

Method GetDataDescriptionFromExtent

Common/DataModel/vtkStructuredData.cxx:84–89  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Given the extent, returns the data description given the dimensions (eg. VTK_STRUCTURED_SINGLE_POINT,VTK_STRUCTURED_X_LINE, VTK_STRUCTURED_XY_PLANE etc.)

Source from the content-addressed store, hash-verified

82// Given the extent, returns the data description given the dimensions
83// (eg. VTK_STRUCTURED_SINGLE_POINT,VTK_STRUCTURED_X_LINE, VTK_STRUCTURED_XY_PLANE etc.)
84int vtkStructuredData::GetDataDescriptionFromExtent(int ext[6])
85{
86 int dims[3];
87 vtkStructuredExtent::GetDimensions(ext, dims);
88 return (vtkStructuredData::GetDataDescription(dims));
89}
90
91//------------------------------------------------------------------------------
92// Specify the dimensions of a regular, rectangular dataset. The input is

Callers

nothing calls this directly

Calls 1

GetDimensionsFunction · 0.50

Tested by

no test coverage detected