#include <IHeightManager.h>
This interface gives access to the HeightManager.
The HeightManager has a list of heights for Metric, Imperial and Custom Units. All methods work on the currently selected display unit type If Generic is selected, the System unit will be considered in regards to which height-list to use. All Heights are stored in the 3dsmax.ini/3dsviz.ini file.
Public Member Functions |
|
virtual void | CustomizeHeights ()=0 |
Brings up a dialog, letting the user
customize (add, delete, set current) the heights. |
|
virtual float | GetHeight (int index)=0 |
Gets the height for the given index.
|
|
virtual const MCHAR * | GetHeightString (int index)=0 |
Gets the height, respecting the current unit
setting in string form. |
|
virtual int | GetCurrentHeightIndex ()=0 |
Gets the index of the current height.
|
|
virtual void | SetCurrentHeightIndex (int index)=0 |
Sets the index of the current height.
|
|
virtual int | GetNumHeights ()=0 |
Gets the number of heights. |
virtual void CustomizeHeights | ( | ) | [pure virtual] |
Brings up a dialog, letting the user customize (add, delete, set current) the heights.
virtual float GetHeight | ( | int | index | ) | [pure virtual] |
Gets the height for the given index.
[in] | index | - Index to get the height for. |
virtual const MCHAR* GetHeightString | ( | int | index | ) | [pure virtual] |
Gets the height, respecting the current unit setting in string form.
[in] | index | - Index to get the height for. |
virtual int GetCurrentHeightIndex | ( | ) | [pure virtual] |
Gets the index of the current height.
virtual void SetCurrentHeightIndex | ( | int | index | ) | [pure virtual] |
Sets the index of the current height.
[in] | index | the current height should be set to. If no height should be active set parameter to -1 |
virtual int GetNumHeights | ( | ) | [pure virtual] |