2015-05-11 20:54:16 +00:00
|
|
|
//============================================================================
|
|
|
|
// Copyright (c) Kitware, Inc.
|
|
|
|
// All rights reserved.
|
|
|
|
// See LICENSE.txt for details.
|
|
|
|
// This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
// PURPOSE. See the above copyright notice for more information.
|
|
|
|
//
|
2017-09-20 21:33:44 +00:00
|
|
|
// Copyright 2015 National Technology & Engineering Solutions of Sandia, LLC (NTESS).
|
2015-05-11 20:54:16 +00:00
|
|
|
// Copyright 2015 UT-Battelle, LLC.
|
|
|
|
// Copyright 2015 Los Alamos National Security.
|
|
|
|
//
|
2017-09-20 21:33:44 +00:00
|
|
|
// Under the terms of Contract DE-NA0003525 with NTESS,
|
2015-05-11 20:54:16 +00:00
|
|
|
// the U.S. Government retains certain rights in this software.
|
|
|
|
//
|
|
|
|
// Under the terms of Contract DE-AC52-06NA25396 with Los Alamos National
|
|
|
|
// Laboratory (LANL), the U.S. Government retains certain rights in
|
|
|
|
// this software.
|
|
|
|
//============================================================================
|
2016-12-16 22:04:58 +00:00
|
|
|
|
|
|
|
#include <vtkm/cont/CoordinateSystem.h>
|
2015-05-11 20:54:16 +00:00
|
|
|
|
2017-05-18 14:29:41 +00:00
|
|
|
namespace vtkm
|
|
|
|
{
|
|
|
|
namespace cont
|
|
|
|
{
|
2015-05-11 20:54:16 +00:00
|
|
|
|
2017-02-24 21:39:37 +00:00
|
|
|
VTKM_CONT
|
2017-05-18 14:29:41 +00:00
|
|
|
void CoordinateSystem::PrintSummary(std::ostream& out) const
|
2015-05-11 20:54:16 +00:00
|
|
|
{
|
2016-12-16 22:04:58 +00:00
|
|
|
out << " Coordinate System ";
|
|
|
|
this->Superclass::PrintSummary(out);
|
|
|
|
}
|
2015-05-11 20:54:16 +00:00
|
|
|
|
2017-02-24 21:39:37 +00:00
|
|
|
VTKM_CONT
|
2017-05-18 14:29:41 +00:00
|
|
|
void CoordinateSystem::GetRange(vtkm::Range* range) const
|
2017-02-24 21:39:37 +00:00
|
|
|
{
|
2017-05-26 17:53:28 +00:00
|
|
|
this->Superclass::GetRange(range,
|
|
|
|
VTKM_DEFAULT_COORDINATE_SYSTEM_TYPE_LIST_TAG(),
|
2017-05-18 14:29:41 +00:00
|
|
|
VTKM_DEFAULT_COORDINATE_SYSTEM_STORAGE_LIST_TAG());
|
2017-02-24 21:39:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
VTKM_CONT
|
2017-05-18 14:29:41 +00:00
|
|
|
const vtkm::cont::ArrayHandle<vtkm::Range>& CoordinateSystem::GetRange() const
|
2017-02-24 21:39:37 +00:00
|
|
|
{
|
2017-05-18 14:29:41 +00:00
|
|
|
return this->Superclass::GetRange(VTKM_DEFAULT_COORDINATE_SYSTEM_TYPE_LIST_TAG(),
|
|
|
|
VTKM_DEFAULT_COORDINATE_SYSTEM_STORAGE_LIST_TAG());
|
2017-02-24 21:39:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
VTKM_CONT
|
|
|
|
vtkm::Bounds CoordinateSystem::GetBounds() const
|
|
|
|
{
|
|
|
|
return this->GetBounds(VTKM_DEFAULT_COORDINATE_SYSTEM_TYPE_LIST_TAG(),
|
|
|
|
VTKM_DEFAULT_COORDINATE_SYSTEM_STORAGE_LIST_TAG());
|
|
|
|
}
|
2016-12-16 22:04:58 +00:00
|
|
|
}
|
|
|
|
} // namespace vtkm::cont
|