cgma
|
00001 //------------------------------------------------------------------------- 00002 // Copyright Notice 00003 // 00004 // Copyright (c) 1996 00005 // by Malcolm J. Panthaki, DBA, and the University of New Mexico. 00006 //------------------------------------------------------------------------- 00007 // 00008 //------------------------------------------------------------------------- 00009 // Filename : CoVertex.hpp 00010 // 00011 // Purpose : 00012 // 00013 // Special Notes : 00014 // 00015 // Creator : Xuechen Liu 00016 // 00017 // Creation Date : 08/02/96 00018 // 00019 // Owner : Malcolm J. Panthaki 00020 //------------------------------------------------------------------------- 00021 00022 #ifndef COVERTEX_HPP 00023 #define COVERTEX_HPP 00024 00025 // ********** BEGIN STANDARD INCLUDES ********** 00026 // ********** END STANDARD INCLUDES ********** 00027 00028 // ********** BEGIN MOTIF INCLUDES ********** 00029 // ********** END MOTIF INCLUDES ********** 00030 00031 // ********** BEGIN OPEN INVENTOR INCLUDES ********** 00032 // ********** END OPEN INVENTOR INCLUDES ********** 00033 00034 // ********** BEGIN CUBIT INCLUDES ********** 00035 00036 #include "CubitDefines.h" 00037 #include "SenseEntity.hpp" 00038 00039 // ********** END CUBIT INCLUDES ********** 00040 00041 // ********** BEGIN FORWARD DECLARATIONS ********** 00042 class RefVertex ; 00043 class RefEdge ; 00044 // ********** END FORWARD DECLARATIONS ********** 00045 00046 class CUBIT_GEOM_EXPORT CoVertex : public SenseEntity 00047 { 00048 public : 00049 00050 CoVertex() ; 00051 //- The default constructor 00052 00053 CoVertex(RefVertex* vertexPtr) ; 00054 //I vertexPtr 00055 //I- The pointer to a vertex. 00056 //- The constructor. 00057 00058 virtual ~CoVertex() ; 00059 //- The destructor 00060 00061 DagType dag_type() const { return DagType::co_vertex_type(); } 00062 00063 RefVertex* get_ref_vertex_ptr() ; 00064 //R RefVertex* 00065 //R- A pointer to the RefVertex which the current sense 00066 //R- entity is associated with. 00067 //- This function returns a pointer to the RefVertex which 00068 //- the current CoVertex is associated with. 00069 00070 protected: 00071 00072 private: 00073 CoVertex( const CoVertex& ); 00074 void operator=( const CoVertex&); 00075 } ; 00076 00077 00078 // ********** BEGIN INLINE FUNCTIONS ********** 00079 // ********** END INLINE FUNCTIONS ********** 00080 00081 // ********** BEGIN FRIEND FUNCTIONS ********** 00082 // ********** END FRIEND FUNCTIONS ********** 00083 00084 // ********** BEGIN EXTERN FUNCTIONS ********** 00085 // ********** END EXTERN FUNCTIONS ********** 00086 00087 #endif 00088