VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtPointFeature.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile:  $ $Revision:  $ $State:  $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 #include <vrvCore/DtFeature.h>
00015 #include <boost/signal.hpp>
00016 #include <matrix/vlVector.h>
00017 
00018 namespace makVrv
00019 {
00023    class DT_DLL_VRVCORE DtPointFeature : public DtFeature
00024    {
00025    public:
00026       friend class DtFeatureSet;
00027 
00028       virtual std::string generateDisplayName() const;
00029 
00032       const DtVector& location() const;
00033 
00035       void setLocation(const DtVector& location);
00036 
00039       const DtVector& dimensions() const;
00040 
00043       void setDimensions(const DtVector& dimensions);
00044 
00046       double rotation() const;
00047 
00049       void setRotation(double angleRad);
00050 
00052       boost::signal<void (DtVector&)> signal_locationChanged;
00053 
00054    protected:
00055 
00058       DtPointFeature(DtElementID elementId,
00059          DFAD::FeatureID featureID, const DtFaccCode& feautureCode, 
00060          unsigned int sourceId = 0 );
00061 
00064       virtual ~DtPointFeature();
00065 
00066    protected:
00067 
00068       DtVector myLocation;
00069       DtVector myDimensions;
00070       double myRotation;
00071    };
00072 }
00073 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)