diff options
Diffstat (limited to 'utils/sceneviewer/clipviewpanel.h')
| -rw-r--r-- | utils/sceneviewer/clipviewpanel.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/utils/sceneviewer/clipviewpanel.h b/utils/sceneviewer/clipviewpanel.h new file mode 100644 index 0000000..acef763 --- /dev/null +++ b/utils/sceneviewer/clipviewpanel.h @@ -0,0 +1,58 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//============================================================================= + +#ifndef CLIPVIEWPANEL_H +#define CLIPVIEWPANEL_H + +#ifdef _WIN32 +#pragma once +#endif + +#include "vgui_controls/Frame.h" + + +//----------------------------------------------------------------------------- +// Forward declarations +//----------------------------------------------------------------------------- +class CDmeDagEditPanel; +class CDmeDag; +class CDmeAnimationList; +class CDmeCombinationOperator; + + +//----------------------------------------------------------------------------- +// Material Viewer Panel +//----------------------------------------------------------------------------- +class CClipViewPanel : public vgui::Frame +{ + typedef vgui::Frame BaseClass; + +public: + // constructor, destructor + CClipViewPanel( vgui::Panel *pParent, const char *pName ); + virtual ~CClipViewPanel(); + + // Overriden methods of vgui::Panel + virtual void PerformLayout(); + virtual void ApplySchemeSettings( vgui::IScheme *pScheme ); + + // Sets the current scene + camera + void SetScene( CDmeDag *pScene ); + void SetAnimationList( CDmeAnimationList *pAnimationList ); + void SetVertexAnimationList( CDmeAnimationList *pAnimationList ); + void SetCombinationOperator( CDmeCombinationOperator *pComboOp ); + void RefreshCombinationOperator(); + + CDmeDag *GetScene( ); + +private: + CDmeDagEditPanel *m_pClipViewPreview; +}; + + + +#endif // CLIPVIEWPANEL_H
\ No newline at end of file |