|
Katana Plug-in APIs 0.1
|
Struct describing a Viewer Location Event. More...
#include <FnViewerLocationEvent.h>
Public Member Functions | |
| ViewerLocationEvent () | |
| ViewerLocationEvent (const FnViewerLocationEventStruct &cStruct) | |
| FnViewerLocationEventStruct | getCStruct () const |
Public Attributes | |
| std::string | locationPath |
| Scene graph location path (always provided). | |
| FnAttribute::GroupAttribute | attributes |
| Location attributes (always provided). | |
| FnAttribute::DoubleAttribute | localXformMatrix |
| bool | localXformIsAbsolute |
| bool | excluded |
| bool | descendantsHidden |
| bool | isVirtualLocation |
| ViewerLocationStateChanges | stateChanges |
| Location state changes signalled by this event. | |
Struct describing a Viewer Location Event.
| Foundry::Katana::ViewerAPI::ViewerLocationEvent::ViewerLocationEvent | ( | ) | [inline] |
Default constructor.
| Foundry::Katana::ViewerAPI::ViewerLocationEvent::ViewerLocationEvent | ( | const FnViewerLocationEventStruct & | cStruct | ) | [inline, explicit] |
Constructor for creating a ViewerLocationEvent based on a given viewer location event data structure.
| cStruct | The viewer location event data structure to copy. |
| FnViewerLocationEventStruct Foundry::Katana::ViewerAPI::ViewerLocationEvent::getCStruct | ( | ) | const [inline] |
References attributes, localXformMatrix, and locationPath.
This property determines whether or not Viewer proxies are displayed, and is provided for use by custom proxy implementations. It is true if all of the location's potential [non-virtual] descendants are explicitly hidden, or it has none to hide. This property is determined when the location is produced, and cannot rely on the final number of existing children once they are also cooked: i.e. this property be false for leaf locations that have *potential* children are deleted when cooked.
A location can be 'excluded' if it is not explicitly made visible, but a descendant location is. A location is also excluded if it is explicitly hidden or has a hidden ancestor. In these cases, any representation of the non-leaf location should not be drawn.
Virtual locations are not part of the scene graph, but are generated as additional children based on location attributes, such as Viewer proxy locations. Note that location paths of virtual locations should always be distinguishable from real scene graph location paths.
True if the local transform is reset to identity using the 'origin' attribute convention. If true, the location's ancestors' transforms do not contribute to the global transform of this location and its descendants.
Location local transform as a 4x4 matrix (16 value DoubleAttribute) if one exists (always provided), otherwise an invalid attribute (which should be interpreted as an identity matrix, or otherwise ignored).
Referenced by getCStruct().
1.7.3