cgma
CoVolume.hpp
Go to the documentation of this file.
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      : CoVolume.hpp
00010 //
00011 // Purpose       : A spurious class that represents the sense of a volume.
00012 //                 We put this to keep a consistent hierarchy of classes.
00013 //
00014 // Special Notes :
00015 //
00016 // Creator       : Xuechen Liu
00017 //
00018 // Creation Date : 08/02/96
00019 //
00020 // Owner         : Malcolm J. Panthaki
00021 //-------------------------------------------------------------------------
00022 
00023 #ifndef COVOLUME_HPP
00024 #define COVOLUME_HPP
00025 
00026 // ********** BEGIN STANDARD INCLUDES      **********
00027 // ********** END STANDARD INCLUDES        **********
00028 
00029 // ********** BEGIN MOTIF INCLUDES         **********
00030 // ********** END MOTIF INCLUDES           **********
00031 
00032 // ********** BEGIN OPEN INVENTOR INCLUDES **********
00033 // ********** END OPEN INVENTOR INCLUDES   **********
00034 
00035 // ********** BEGIN CUBIT INCLUDES         **********
00036 
00037 #include "CubitDefines.h"
00038 #include "SenseEntity.hpp"
00039 
00040 // ********** END CUBIT INCLUDES           **********
00041 
00042 // ********** BEGIN FORWARD DECLARATIONS   **********
00043 
00044 class RefVolume ;
00045 class Body;
00046 
00047 // ********** END FORWARD DECLARATIONS     **********
00048 
00049 class CUBIT_GEOM_EXPORT CoVolume : public SenseEntity
00050 {
00051    public :
00052 
00053       CoVolume() ;
00054       //- The default constructor
00055 
00056       CoVolume(RefVolume* volumePtr) ;
00057       //I volumePtr
00058       //I- The pointer to a volume.
00059       //- The constructor.
00060 
00061       virtual ~CoVolume() ;
00062       //- The destructor
00063 
00064       DagType dag_type() const { return DagType::co_volume_type(); }
00065 
00066       RefVolume* get_ref_volume_ptr() ;
00067       //R RefVolume*
00068       //R- A pointer to the RefVolume which the current sense
00069       //R- entity is associated with.
00070       //- This function returns a pointer to the RefVolume which
00071       //- the current CoVolume is associated with.
00072       
00073    protected: 
00074 
00075    private:
00076     CoVolume( const CoVolume& );
00077     void operator=( const CoVolume&);
00078 } ;
00079 
00080 
00081 // ********** BEGIN INLINE FUNCTIONS       **********
00082 // ********** END INLINE FUNCTIONS         **********
00083 
00084 // ********** BEGIN FRIEND FUNCTIONS       **********
00085 // ********** END FRIEND FUNCTIONS         **********
00086 
00087 // ********** BEGIN EXTERN FUNCTIONS       **********
00088 // ********** END EXTERN FUNCTIONS         **********
00089 
00090 #endif
00091 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines