NX Open C++ Reference Guide
Classes | Public Member Functions
NXOpen::Display::CameraCollection Class Reference

Represents a collection cameras
To obtain an instance of this class, refer to BasePart

Created in NX5.0.0. More...

Inheritance diagram for NXOpen::Display::CameraCollection:
NXOpen::TaggedObjectCollection

List of all members.

Classes

class  iterator
 Iterator for accessing the contents of the collection. More...

Public Member Functions

iterator begin ()
 Returns an iterator addressing the first element.
NXOpen::Display::CameraBuilderCreateCameraBuilder (NXOpen::Display::Camera *camera)
 Creates a Display::CameraBuilder object if camera is NULL.
NXOpen::Display::CameraBuilderCreateCameraBuilder (NXOpen::View *view, NXOpen::Layout *layout, NXOpen::Display::Camera *camera)
 Creates a Display::CameraBuilder object if camera is NULL.
iterator end ()
 Returns an iterator addressing one past the last element.
NXOpen::Display::CameraFindObject (const NXString &journalIdentifier)
 Finds the Camera with the given identifier as recorded in a journal.
tag_t Tag () const
 Returns the tag of this object.

Detailed Description

Represents a collection cameras
To obtain an instance of this class, refer to BasePart

Created in NX5.0.0.



Member Function Documentation

Returns an iterator addressing the first element.

Creates a Display::CameraBuilder object if camera is NULL.

Otherwise, a Camera object will be edited

Returns:
return camera builder
Created in NX5.0.0.

License requirements : None
Parameters:
cameraIf camera is not NULL, then this object will be edited

Creates a Display::CameraBuilder object if camera is NULL.

Otherwise, a Camera object will be edited. Initializes the camera with data from the view in the layout

Returns:
return camera builder
Created in NX6.0.0.

License requirements : None
Parameters:
viewUse this view's data to initialize the camera
layoutLayout of the view
cameraIf camera is not NULL, then this object will be edited

Returns an iterator addressing one past the last element.

Finds the Camera with the given identifier as recorded in a journal.

An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.

An exception will be thrown if no object can be found with the given journal identifier.

Returns:
Camera found
Created in NX5.0.0.

License requirements : None
Parameters:
journalIdentifierIdentifier to be found

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.