VR-Forces 4.0.4 Class Documentation
include/vrvOsg/DtAttribute.h
Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Copyright (c) 2012 MAK Technologies, Inc.
00003  * All rights reserved.
00004  *****************************************************************************/
00005 
00009 
00010 #pragma once
00011 
00012 #include <vrvOsg/vrvOsg.h>
00013 #include <vrvCore/DtWidget.h>
00014 
00015 #include <boost/signals.hpp>
00016 
00017 namespace makVrv
00018 {
00019 
00022    class DT_DLL_VRVOSG DtAttribute
00023    {
00024    public:
00025 
00027       DtAttribute();
00028 
00030       virtual ~DtAttribute();
00031 
00034       virtual void setPosition( float x, float y, float z, float w ) = 0;
00035 
00037       virtual void setOffset( double x, double y );
00038 
00040       virtual void getMinSize( double& xOut, double& yOut ) = 0;
00041 
00043       virtual void setColor( float r, float g, float b, float a ) = 0;
00044 
00046       virtual void setSize( double x, double y ) = 0;
00047 
00049       virtual void setVisible( bool visible ) = 0;
00050 
00052       virtual bool visible() const = 0;
00053 
00056       virtual void setOverlay( unsigned int overlayId ) = 0;
00057 
00060       virtual void setGroup( unsigned int group ) = 0;
00061 
00066       boost::signal<void (DtAttribute*,double,double)> signal_sizeChanged;
00067 
00068    };
00069 
00070 }

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)