HCamera
-
class
HCamera The
HCameraclass is the data type of a HOOPS Camera Attribute.HCamerarepresents all the data needed to define a HOOPS Camera.
Methods
-
bool
HCamera::CameraDifferent(HCamera const &cam) This method compares the setting of a given camera with this camera’s settings.
Parameters
cam: The camera to compare with.Returns
True if this camera is different in anyway from the given camera or false if they are the same.
-
bool
HCamera::CameraDifferentByAngle(HCamera const &cam) This method compares the setting of a given camera with this camera’s settings based on the camera orientation only.
Parameters
cam: The camera to compare with.Returns
True if this camera is different in anyway from the given camera or false if they are the same.
-
void
HCamera::GetFromView(HBaseView const *view) This method initializes the camera with the same camera settings under the view’s scene key.
Parameters
view: A pointer to theHBaseViewobject from which to extract camera information.
-
void
HCamera::Show() The is method extracts the camera from the currently open segment and populates into this camera’s settings.
-
void
HCamera::Set() const const
This method sets the camera on the currently open segment based on this object’s member variables.
Variables