Capture
- class HPS.Capture : public HPS.Component
The Capture class is a smart pointer. It represents a capture, i.e., a collection of visibility settings, material settings, transformation settings, and camera, for a CADModel.
Subclassed by HPS.DWG.Layout, HPS.Exchange.Capture
Public Functions
- HPS.View Activate ()
Creates a new View object corresponding to this Capture. The View object that is returned will have the corresponding visibility settings, material settings, transformation settings, and camera from this Capture set on it.
- Capture ()
The default constructor creates an uninitialized Capture object. The Type() function will return Type.None.
- Capture (HPS.Capture in_that)
The copy constructor creates a Capture object that shares the underlying smart-pointer of the source Capture.
- Param in_that
The source Capture to copy.
- Capture (HPS.Component in_that)
This constructor creates a Capture object that shares the underlying smart-pointer of the source Component. The copy will only be successful if the source component is really an upcast of a Capture object. Otherwise the copy will fail and the resulting Capture will be invalid.
- Param in_that
The source Component to copy.
- override void Dispose ()
- override HPS.Type ObjectType ()
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Return
The declared type of the object in question, which may differ from the true, underlying type.