VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtWindowPolygon.h
Go to the documentation of this file.
00001 /****************************************************************************** 
00002 ** Copyright (c) 2010 MAK Technologies, Inc. 
00003 ** All rights reserved. 
00004 ******************************************************************************/ 
00005 /****************************************************************************** 
00006 ** $RCSfile: DtWindowPolygon.h,v $ $Revision: 1.0 $ $State: Exp $ 
00007 ******************************************************************************/ 
00008  
00012  
00013 #ifndef DtWindowPolygon_H_ 
00014 #define DtWindowPolygon_H_ 
00015  
00016 #include <vrvCore/vrvCore.h>
00017 #include <vrvCore/DtUniqueID.h>
00018 #include <vrvCore/DtWindowObject.h>
00019 
00020 #include <vector>
00021  
00022 namespace makVrv 
00023 {
00024    class DtDe;
00025    class DtWindowPolygonInstance;
00026 
00030    class DT_DLL_VRVCORE DtWindowPolygon : public DtWindowObject
00031    {
00032    public:
00033 
00035       DtWindowPolygon(DtDe& de, DtUniqueID id);
00036 
00038       virtual ~DtWindowPolygon();
00039 
00041       virtual void setVertex(int i, double x, double y);
00042 
00044       virtual void setNumVertices(int numVertices);
00045 
00047       virtual void setScale(double scale);
00048 
00050       virtual void setRotation(double rotation);
00051 
00053       virtual void setVisible(bool isVisible);
00054 
00056       virtual void setStipplePattern(unsigned int stipplePattern);
00057 
00059       virtual void setColor(float r,float g,float b,float a);
00060 
00063       virtual void setInstance(DtWindowPolygonInstance* instance);
00064 
00066       virtual void setFill(bool fill);
00067 
00069       virtual DtWindowPolygonInstance* instance();
00070 
00071    protected:
00072       DtWindowPolygonInstance* myInstance;
00073    }; 
00074 } 
00075  
00076 #endif 

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)