//=========================================================================
//  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.
//=========================================================================
#ifndef smtk_model_Volume_h
#define smtk_model_Volume_h

#include "smtk/model/CellEntity.h"
#include "smtk/model/VolumeUse.h"

#include <vector>

namespace smtk
{
namespace model
{

class Face;
class Shell;
typedef std::vector<Face> Faces;
typedef std::vector<Shell> Shells;

/**\brief A entityref subclass that provides methods specific to 3-d volume cells.
  *
  */
class SMTKCORE_EXPORT Volume : public CellEntity
{
public:
  SMTK_ENTITYREF_CLASS(Volume, CellEntity, isVolume);

  VolumeUse use() const;
  Shells shells() const;
  Faces faces() const;

  Volume& setVolumeUse(const VolumeUse& volUse);
};

typedef std::vector<Volume> Volumes;

} // namespace model
} // namespace smtk

#endif // smtk_model_Volume_h
