MOAB: Mesh Oriented datABase  (version 5.4.1)
PolyElementSeq.hpp
Go to the documentation of this file.
00001 #ifndef POLY_ELEMENT_SEQ_HPP
00002 #define POLY_ELEMENT_SEQ_HPP
00003 
00004 #include "UnstructuredElemSeq.hpp"
00005 
00006 namespace moab
00007 {
00008 
00009 class PolyElementSeq : public UnstructuredElemSeq
00010 {
00011   public:
00012     PolyElementSeq( EntityHandle shandle, EntityID entity_count, unsigned nodes_per_entity, SequenceData* dat )
00013         : UnstructuredElemSeq( shandle, entity_count, nodes_per_entity, dat )
00014     {
00015     }
00016 
00017     PolyElementSeq( EntityHandle shandle,
00018                     EntityID entity_count,
00019                     unsigned nodes_per_entity,
00020                     EntityID sequence_data_size )
00021         : UnstructuredElemSeq( shandle, entity_count, nodes_per_entity, sequence_data_size )
00022     {
00023     }
00024 
00025     virtual ~PolyElementSeq();
00026 
00027     virtual EntitySequence* split( EntityHandle here );
00028 
00029     virtual ErrorCode get_connectivity( EntityHandle handle,
00030                                         std::vector< EntityHandle >& connect,
00031                                         bool topological = false ) const;
00032 
00033     virtual ErrorCode get_connectivity( EntityHandle handle,
00034                                         EntityHandle const*& connect,
00035                                         int& connect_length,
00036                                         bool topological                     = false,
00037                                         std::vector< EntityHandle >* storage = 0 ) const;
00038 
00039   protected:
00040     PolyElementSeq( PolyElementSeq& split_from, EntityHandle here ) : UnstructuredElemSeq( split_from, here ) {}
00041 };
00042 
00043 }  // namespace moab
00044 
00045 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines