cgma
TDVGFacetSplit.hpp
Go to the documentation of this file.
00001 #ifndef TD_VG_FACET_SPLIT_HPP
00002 #define TD_VG_FACET_SPLIT_HPP
00003 
00004 #include "ToolData.hpp"
00005 
00006 class CubitFacetData;
00007 class ToolDataUser;
00008 
00009 class TDVGFacetSplit : public ToolData
00010 {
00011   public:
00012   
00013     TDVGFacetSplit( CubitFacetData* split_from )
00014       : splitFrom( split_from ) {}
00015     
00016     static int is_vg_facet_split( const ToolData* td )
00017       { return !!dynamic_cast<const TDVGFacetSplit*>(td); }
00018     
00019     CubitFacetData* split_from( ) const
00020       { return splitFrom; }
00021 
00022     static void remove( ToolDataUser* user );
00023       
00024   private:
00025     
00026     CubitFacetData* const splitFrom;
00027 };
00028 
00029 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines