📄 conformalmapping.h
字号:
#ifndef CONFORMALMAPPING_H
#define CONFORMALMAPPING_H
#include "WmlApplication.h"
using namespace Wml;
class ConformalMapping : public Application
{
public:
ConformalMapping ();
virtual bool OnInitialize ();
virtual void OnTerminate ();
virtual void OnIdle ();
virtual void OnKeyDown (unsigned char ucKey, int iX, int iY);
protected:
void ScaleToCube (float fExtreme);
void PseudocolorVertices ();
void DoMapping ();
NodePtr m_spkScene;
WireframeStatePtr m_spkWireframe;
NodePtr m_spkMeshTree, m_spkSphereTree;
TriMeshPtr m_spkMesh;
TriMeshPtr m_spkSphere;
float m_fExtreme;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -