This class encapsulates all the rename related states for a hit on a focused name cell.
Public Member Functions |
|
CachedNodeHitInfo () | |
Default constructor. |
|
CachedNodeHitInfo (CachedNodeHitInfo nodeHitInfo) | |
Initialize the
CachedNodeHitInfo with another given
CachedNodeHitInfo instance. |
|
CachedNodeHitInfo (TreeListNode treeListNode, TraversalNode traversalNode, Point mousePos) | |
Initialize the
CachedNodeHitInfo with the given treeListNode traversalNode and
mouse position. |
|
bool | IsMouseDraging (Point mousePosition) |
Should the mouse position be considered as
dragging with regard to the cached mouse position. |
|
bool | IsSameWithCachedNode (TreeListNode treeListNode, TraversalNode traversalNode) |
Is the given node the same with the cached
wait-for-rename node? |
MaxCustomControls::SceneExplorerControls::CachedNodeHitInfo::CachedNodeHitInfo | ( | ) | [inline] |
Default constructor.
MaxCustomControls::SceneExplorerControls::CachedNodeHitInfo::CachedNodeHitInfo | ( | CachedNodeHitInfo | nodeHitInfo | ) | [inline] |
Initialize the CachedNodeHitInfo with another given CachedNodeHitInfo instance.
nodeHitInfo | The given CachedNodeHitInfo instance. |
MaxCustomControls::SceneExplorerControls::CachedNodeHitInfo::CachedNodeHitInfo | ( | TreeListNode | treeListNode, |
TraversalNode | traversalNode, | ||
Point | mousePos | ||
) | [inline] |
Initialize the CachedNodeHitInfo with the given treeListNode traversalNode and mouse position.
treeListNode | The given treeListNode. |
traversalNode | The given traversal Node |
mousePos | The position where mouse clicks. |
bool MaxCustomControls::SceneExplorerControls::CachedNodeHitInfo::IsMouseDraging | ( | Point | mousePosition | ) | [inline] |
Should the mouse position be considered as dragging with regard to the cached mouse position.
mousePosition | The mouse position when mouse move event occurs. |
bool MaxCustomControls::SceneExplorerControls::CachedNodeHitInfo::IsSameWithCachedNode | ( | TreeListNode | treeListNode, |
TraversalNode | traversalNode | ||
) | [inline] |
Is the given node the same with the cached wait-for-rename node?
treeListNode | The given treelist node |
traversalNode | The given traversal node. |