57 virtual void TrackCamera() = 0;
66 virtual void LookAtStructureID(std::string strID);
67 virtual std::string LookAtStructureID();
69 virtual void LookAtBodyID(std::string strID);
70 virtual std::string LookAtBodyID();
72 virtual void UsingTrackCamera(
bool bVal);
73 virtual bool UsingTrackCamera();
75 virtual HWND WindowID();
76 virtual void WindowID(HWND win);
78 virtual bool StandAlone();
79 virtual void StandAlone(
bool bVal);
81 virtual CStdFPoint GetCameraPosition() = 0;
89 virtual void SetupTrackCamera(
bool bResetEyePos) = 0;
90 virtual void SetupTrackCamera(
bool bTrackCamera, std::string strLookAtStructureID, std::string strLookAtBodyID);
91 virtual void SetCameraLookAt(CStdFPoint oTarget,
bool bResetEyePos);
92 virtual void SetCameraPositionAndLookAt(CStdFPoint oCameraPos, CStdFPoint oTarget);
93 virtual void SetCameraPostion(CStdFPoint vCameraPos);
95 virtual void UpdateBackgroundColor();
97 #pragma region DataAccesMethods
99 virtual float *GetDataPointer(
const std::string &strDataType);
100 virtual bool SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError =
true);
101 virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
111 virtual void Update() = 0;
119 virtual void Close() = 0;
121 virtual void Load(CStdXml &oXml);
131 virtual void Load(std::string strXml);
139 virtual void OnGetFocus();
147 virtual void OnLoseFocus();
std::string m_strLookAtStructureID
Root namespace for the base simulation library for AnimatLab.
Base class for a simulation window.
bool m_bStandAlone
true if the window is seperate from all other windows.
CStdFPoint m_ptSize
Size of the window.
HWND m_HWND
Handle of the hwnd.
std::string m_strLookAtBodyID
CStdFPoint m_ptPosition
The position of the window.