summaryrefslogtreecommitdiff
path: root/utils/sceneviewer/clipviewpanel.h
blob: acef763f5b410208fe42076201552ed761c9741f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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