VR-Forces 4.0.4 Class Documentation
include/vrvDrawControl/DtTriangle3DObject.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2006 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtTriangle3DObject.h,v $ $Revision: 1.2 $ $State: Exp $
00007 ******************************************************************************/
00008 #pragma once
00009 
00014 
00015 #include <vector>
00016 
00017 #include <vl/envPoint.h>
00018 #include <vlutil/vlString.h>
00019 
00020 #include <vrvDrawControl/vrvDrawControlDefines.h>
00021 #include <vrvDrawControl/DtArea3DObject.h>
00022 
00023 #include <vrvDrawControl/DtVdcColor.h>
00024 
00025 #include <vrfExtObjects/3dGraphicalObjectStateRecord.h>
00026 
00027 namespace vrvControlToolkit
00028 {
00034    class DT_DLL_VRVDRAWCONTROL DtTriangle3DObject : public DtArea3DObject
00035    {
00036    public:
00052       DtTriangle3DObject(DtExerciseConn* exConn, unsigned id, const DtVector& vertex1, 
00053          const DtVector& vertex2, const DtVector& vertex3, 
00054          DtVector offset = DtVector::zero(),
00055          DtVdcColor color = DtVdcColor::DtVdcWhite, 
00056          const DtString& textureDirectory = "", 
00057          const DtString& textureFilename = DtString::nullString(),
00058          int numTextureTiles = 0, bool flashing = false);
00059 
00060 
00061       // \brief Virtual destructor
00062       virtual ~DtTriangle3DObject();
00063 
00064    private:
00069       DtTriangle3DObject();
00070 
00074       DtTriangle3DObject(const DtTriangle3DObject& orig);
00075 
00079       DtTriangle3DObject& operator=(const DtTriangle3DObject& rhs);
00080 
00081    public:
00087       virtual const DtVector& vertex1() const;
00088 
00094       virtual void setVertex1(const DtVector& vertex1);
00095 
00101       virtual const DtVector& vertex2() const;
00102 
00108       virtual void setVertex2(const DtVector& vertex2);
00109 
00115       virtual const DtVector& vertex3() const;
00116 
00122       virtual void setVertex3(const DtVector& vertex3);
00123    };
00124 }

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)