cgma
TDSourceFeature.hpp
Go to the documentation of this file.
00001 //-Class: TDSourceFeature.hpp
00002 #ifndef TD_SOURCE_FEATURE_HPP
00003 #define TD_SOURCE_FEATURE_HPP
00004 
00005 #include "ToolData.hpp"
00006 #include "CastTo.hpp"
00007 #include "CGMGeomConfigure.h"
00008 #include "GeometryFeatureEngine.hpp"
00009 
00011 class CUBIT_GEOM_EXPORT TDSourceFeature : public ToolData
00012 {
00013 public:
00014 
00015     TDSourceFeature(GeometryFeatureEngine::FeatureType type_in);
00016 
00018     ~TDSourceFeature();
00019 
00021     GeometryFeatureEngine::FeatureType source_feature()
00022     {return sourceFeature;}
00023 
00025     void source_feature(GeometryFeatureEngine::FeatureType type_in)
00026     {sourceFeature = type_in;}
00027 
00028     static int is_source_feature(const ToolData* td)
00029     {return (CAST_TO(td, const TDSourceFeature) != NULL);}
00030 private:
00031 
00032     GeometryFeatureEngine::FeatureType sourceFeature;
00033 };
00034 
00035 #endif // TD_SOURCE_FEATURE_HPP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines