VR-Forces 4.0.4 Class Documentation
include/vrvDrawControl/DtEllipsoidCuboidBase.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2006 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtEllipsoidCuboidBase.h,v $ $Revision: 1.4 $ $State: Exp $
00007 ******************************************************************************/
00008 #pragma once
00009 
00016 
00017 #include <vlutil/vlString.h>
00018 #include <matrix/vlTaitBryan.h>
00019 
00020 #include <vrvDrawControl/vrvDrawControlDefines.h>
00021 
00022 #include <vrvDrawControl/Dt3DPositionedObject.h>
00023 #include <vrvDrawControl/DtVdc3DAttachPoint.h>
00024 
00025 #include <vrvDrawControl/DtVdcColor.h>
00026 
00027 #include <vrfExtObjects/3dGraphicalObjectStateRecord.h>
00028 
00029 namespace vrvControlToolkit
00030 {
00031 
00042    class DT_DLL_VRVDRAWCONTROL DtEllipsoidCuboidBase : public Dt3DPositionedObject
00043    {
00044    protected:
00067       DtEllipsoidCuboidBase(DtExerciseConn* exConn, unsigned id, const DtString& objName,
00068          const DtVdc3DAttachPoint& attachment,const DtVector& dimensions, 
00069          const DtVector& enuOffset = DtVector::zero(),
00070          const DtTaitBryan& rotation = zeros, 
00071          DtVdcColor color = DtVdcColor::DtVdcWhite, bool flashing = false);
00072 
00073       // \brief Virtual destructor
00074       virtual ~DtEllipsoidCuboidBase();
00075 
00076    private:
00081       DtEllipsoidCuboidBase();
00082 
00086       DtEllipsoidCuboidBase(const DtEllipsoidCuboidBase& orig);
00087 
00091       DtEllipsoidCuboidBase& operator=(const DtEllipsoidCuboidBase& rhs);
00092 
00093    public:
00094 
00101       virtual const DtVdc3DAttachPoint& attachment() const;   
00102 
00107       virtual void setAttachment(const DtVdc3DAttachPoint& attachment);
00108 
00115       virtual const DtVector& offset() const;
00116 
00121       virtual void setOffset(const DtVector& off);
00127       virtual const DtTaitBryan& rotation() const;
00128 
00134       virtual void setRotation(const DtTaitBryan& rotation);
00135 
00141       virtual const DtVdcColor& color() const;
00142 
00148       virtual void setColor (const DtVdcColor& color);
00149 
00155       virtual bool flashing() const;
00156 
00162       virtual void setFlashing(bool flashing);
00163 
00164       virtual void setRemoteGraphicSet(const std::string& setName);
00165 
00166 
00167    private:
00168       void initRecords();
00169       // Initializer for DtTaitBryan
00170       static DtTaitBryan zeros;
00171 
00172    protected:
00173       DtVdc3DAttachPoint             myAttachment;
00174       DtVector                       myDimensions;
00175       DtVector                       myOffset;
00176       DtVdcColor                     myColor;
00177       DtTaitBryan                    myRotation;
00178       bool                           myFlashing;
00179       Dt3DGraphicalObjectStateRecord myStateRecord;
00180    };
00181 
00182 }

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)