NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Display::CameraBuilder Class Reference

Represents a NXOpen::Display::CameraBuilder
Cameras are not supported in KF. More...

Inheritance diagram for NXOpen::Display::CameraBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  Aperture {
  ApertureF28, ApertureF56, ApertureF8, ApertureF11,
  ApertureF16, ApertureF22
}
 Predefined apertures: f2.8, f5.6, f8, f11, f16, f22. More...
 
enum  FovMeasured { FovMeasuredHorizontally, FovMeasuredVertically }
 either horizontal or vertical measure More...
 
enum  LensAngle { LensAngleStock, LensAngleFov, LensAngleMagnification }
 the way to define the field of view angle More...
 
enum  LensFlare {
  LensFlareStandard, LensFlareS35, LensFlareS50, LensFlareS105,
  LensFlarePolygonal, LensFlareP35, LensFlareP50, LensFlareP105,
  LensFlareSpark, LensFlareStar
}
 Predefined lens flare types: Standard, 35mm, 50mm, 105mm, polygonal, 35mm poly, 50mm poly, 105mm poly, spark, star. More...
 
enum  StockLens {
  StockLensS28, StockLensS35, StockLensS50, StockLensS70,
  StockLensS105, StockLensS135, StockLensS210, StockLensS300
}
 Predefined lenses: 28, 35, 50, 70, 105, 135, 210, 300mm. More...
 
enum  Types { TypesParallel, TypesPerspective }
 the camera types More...
 

Public Member Functions

NXOpen::Display::CameraBuilder::Aperture ApertureType ()
 Returns the aperture
Created in NX5.0.0. More...
 
double BackClippingDistance ()
 Returns the back clipping distance
Created in NX5.0.0. More...
 
NXOpen::Matrix3x3 CameraMatrix ()
 Returns the camera rotation matrix
Created in NX5.0.0. More...
 
NXString CameraName ()
 Returns the camera name as a TEXT string. More...
 
NXString CameraNameChar ()
 Returns the camera name as a char string
Created in NX5.0.1. More...
 
NXOpen::Point3d CameraPosition ()
 Returns the coordinates of the camera point
Created in NX5.0.0. More...
 
bool DepthOfFieldToggle ()
 Returns the depth of field toggle
Created in NX5.0.0. More...
 
double FieldOfViewAngle ()
 Returns the field of view angle
Created in NX5.0.0. More...
 
NXOpen::Display::CameraBuilder::FovMeasured FieldOfViewMeasured ()
 Returns the field of view measured
Created in NX5.0.0. More...
 
double FocalDistance ()
 Returns the focal distance
Created in NX5.0.0. More...
 
double FrontClippingDistance ()
 Returns the front clipping distance
Created in NX5.0.0. More...
 
bool HiddenLensFlareToggle ()
 Returns the hidden lens flare toggle
Created in NX5.0.0. More...
 
NXOpen::Display::CameraBuilder::LensAngle LensAngleType ()
 Returns the lens angle
Created in NX5.0.0. More...
 
double LensFlareIntensity ()
 Returns the lens flare intensity
Created in NX5.0.0. More...
 
bool LensFlareToggle ()
 Returns the lens flare toggle
Created in NX5.0.0. More...
 
NXOpen::Display::CameraBuilder::LensFlare LensFlareType ()
 Returns the lens flare type
Created in NX5.0.0. More...
 
double Magnification ()
 Returns the magnification
Created in NX5.0.0. More...
 
double PerspectiveDistance ()
 Returns the perspective distance
Created in NX5.0.0. More...
 
void SetApertureType (NXOpen::Display::CameraBuilder::Aperture apertureType)
 Sets the aperture
Created in NX5.0.0. More...
 
void SetBackClippingDistance (double backClippingDistance)
 Sets the back clipping distance
Created in NX5.0.0. More...
 
void SetCameraMatrix (const NXOpen::Matrix3x3 &cameraMatrix)
 Sets the camera rotation matrix
Created in NX5.0.0. More...
 
void SetCameraName (const NXString &cameraName)
 Sets the camera name as a TEXT string. More...
 
void SetCameraName (const char *cameraName)
 Sets the camera name as a TEXT string. More...
 
void SetCameraNameChar (const NXString &cameraName)
 Sets the camera name as a char string
Created in NX5.0.1. More...
 
void SetCameraNameChar (const char *cameraName)
 Sets the camera name as a char string
Created in NX5.0.1. More...
 
void SetCameraPosition (const NXOpen::Point3d &position)
 Sets the coordinates of the camera point
Created in NX5.0.0. More...
 
void SetDepthOfFieldToggle (bool depthOfFieldToggle)
 Sets the depth of field toggle
Created in NX5.0.0. More...
 
void SetFieldOfViewAngle (double fieldOfViewAngle)
 Sets the field of view angle
Created in NX5.0.0. More...
 
void SetFieldOfViewMeasured (NXOpen::Display::CameraBuilder::FovMeasured fovMeasuredType)
 Sets the field of view measured
Created in NX5.0.0. More...
 
void SetFocalDistance (double focalDistance)
 Sets the focal distance
Created in NX5.0.0. More...
 
void SetFrontClippingDistance (double frontClippingDistance)
 Sets the front clipping distance
Created in NX5.0.0. More...
 
void SetHiddenLensFlareToggle (bool hiddenLensFlareToggle)
 Sets the hidden lens flare toggle
Created in NX5.0.0. More...
 
void SetLensAngleType (NXOpen::Display::CameraBuilder::LensAngle lensAngleType)
 Sets the lens angle
Created in NX5.0.0. More...
 
void SetLensFlareIntensity (double lensFlareIntensity)
 Sets the lens flare intensity
Created in NX5.0.0. More...
 
void SetLensFlareToggle (bool lensFlareToggle)
 Sets the lens flare toggle
Created in NX5.0.0. More...
 
void SetLensFlareType (NXOpen::Display::CameraBuilder::LensFlare lensFlareType)
 Sets the lens flare type
Created in NX5.0.0. More...
 
void SetMagnification (double magnification)
 Sets the magnification
Created in NX5.0.0. More...
 
void SetPerspectiveDistance (double perspectiveDistance)
 Sets the perspective distance
Created in NX5.0.0. More...
 
void SetStockLensType (NXOpen::Display::CameraBuilder::StockLens stockLensType)
 Sets the stock lens type
Created in NX5.0.0. More...
 
void SetTargetMatrix (const NXOpen::Matrix3x3 &matrix)
 Sets the target point rotation matrix
Created in NX5.0.0. More...
 
void SetTargetPosition (const NXOpen::Point3d &position)
 Sets the coordinates of the target point
Created in NX5.0.0. More...
 
void SetType (NXOpen::Display::CameraBuilder::Types type)
 Sets the camera type
Created in NX5.0.0. More...
 
void SetUseTargetPoint (bool useTargetPoint)
 Sets whether to use the target point
Created in NX5.0.0. More...
 
NXOpen::Display::CameraBuilder::StockLens StockLensType ()
 Returns the stock lens type
Created in NX5.0.0. More...
 
NXOpen::Matrix3x3 TargetMatrix ()
 Returns the target point rotation matrix
Created in NX5.0.0. More...
 
NXOpen::Point3d TargetPosition ()
 Returns the coordinates of the target point
Created in NX5.0.0. More...
 
NXOpen::Display::CameraBuilder::Types Type ()
 Returns the camera type
Created in NX5.0.0. More...
 
bool UseTargetPoint ()
 Returns whether to use the target point
Created in NX5.0.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a NXOpen::Display::CameraBuilder
Cameras are not supported in KF.



Created in NX5.0.0.

Member Enumeration Documentation

Predefined apertures: f2.8, f5.6, f8, f11, f16, f22.

Enumerator
ApertureF28 

f2.8

ApertureF56 

f5.6

ApertureF8 

f8

ApertureF11 

f11

ApertureF16 

f16

ApertureF22 

f22

either horizontal or vertical measure

Enumerator
FovMeasuredHorizontally 

Horizontal.

FovMeasuredVertically 

Vertical.

the way to define the field of view angle

Enumerator
LensAngleStock 

Stock Lenses.

LensAngleFov 

Field of View.

LensAngleMagnification 

Magnification.

Predefined lens flare types: Standard, 35mm, 50mm, 105mm, polygonal, 35mm poly, 50mm poly, 105mm poly, spark, star.

Enumerator
LensFlareStandard 

Standard lens.

LensFlareS35 

35mm

LensFlareS50 

50mm

LensFlareS105 

105mm

LensFlarePolygonal 

polygonal

LensFlareP35 

35mm poly

LensFlareP50 

50mm poly

LensFlareP105 

105mm poly

LensFlareSpark 

spark lens

LensFlareStar 

star lens

Predefined lenses: 28, 35, 50, 70, 105, 135, 210, 300mm.

Enumerator
StockLensS28 

28mm

StockLensS35 

35mm

StockLensS50 

50mm

StockLensS70 

70mm

StockLensS105 

105mm

StockLensS135 

135mm

StockLensS210 

210mm

StockLensS300 

300mm

the camera types

Enumerator
TypesParallel 

Parallel Projection.

TypesPerspective 

Perspective Projection.

Member Function Documentation

NXOpen::Display::CameraBuilder::Aperture NXOpen::Display::CameraBuilder::ApertureType ( )

Returns the aperture
Created in NX5.0.0.



License requirements : None

double NXOpen::Display::CameraBuilder::BackClippingDistance ( )

Returns the back clipping distance
Created in NX5.0.0.



License requirements : None

NXOpen::Matrix3x3 NXOpen::Display::CameraBuilder::CameraMatrix ( )

Returns the camera rotation matrix
Created in NX5.0.0.



License requirements : None

NXString NXOpen::Display::CameraBuilder::CameraName ( )

Returns the camera name as a TEXT string.

Note that internally the camera name is stored as a char* string. Any characters which cannot be mapped to 8-bit characters will be replaced by # characters.
Created in NX5.0.0.

License requirements : None

NXString NXOpen::Display::CameraBuilder::CameraNameChar ( )

Returns the camera name as a char string
Created in NX5.0.1.



License requirements : None

NXOpen::Point3d NXOpen::Display::CameraBuilder::CameraPosition ( )

Returns the coordinates of the camera point
Created in NX5.0.0.



License requirements : None

bool NXOpen::Display::CameraBuilder::DepthOfFieldToggle ( )

Returns the depth of field toggle
Created in NX5.0.0.



License requirements : None

double NXOpen::Display::CameraBuilder::FieldOfViewAngle ( )

Returns the field of view angle
Created in NX5.0.0.



License requirements : None

NXOpen::Display::CameraBuilder::FovMeasured NXOpen::Display::CameraBuilder::FieldOfViewMeasured ( )

Returns the field of view measured
Created in NX5.0.0.



License requirements : None

double NXOpen::Display::CameraBuilder::FocalDistance ( )

Returns the focal distance
Created in NX5.0.0.



License requirements : None

double NXOpen::Display::CameraBuilder::FrontClippingDistance ( )

Returns the front clipping distance
Created in NX5.0.0.



License requirements : None

bool NXOpen::Display::CameraBuilder::HiddenLensFlareToggle ( )

Returns the hidden lens flare toggle
Created in NX5.0.0.



License requirements : None

NXOpen::Display::CameraBuilder::LensAngle NXOpen::Display::CameraBuilder::LensAngleType ( )

Returns the lens angle
Created in NX5.0.0.



License requirements : None

double NXOpen::Display::CameraBuilder::LensFlareIntensity ( )

Returns the lens flare intensity
Created in NX5.0.0.



License requirements : None

bool NXOpen::Display::CameraBuilder::LensFlareToggle ( )

Returns the lens flare toggle
Created in NX5.0.0.



License requirements : None

NXOpen::Display::CameraBuilder::LensFlare NXOpen::Display::CameraBuilder::LensFlareType ( )

Returns the lens flare type
Created in NX5.0.0.



License requirements : None

double NXOpen::Display::CameraBuilder::Magnification ( )

Returns the magnification
Created in NX5.0.0.



License requirements : None

double NXOpen::Display::CameraBuilder::PerspectiveDistance ( )

Returns the perspective distance
Created in NX5.0.0.



License requirements : None

void NXOpen::Display::CameraBuilder::SetApertureType ( NXOpen::Display::CameraBuilder::Aperture  apertureType)

Sets the aperture
Created in NX5.0.0.



License requirements : None

Parameters
apertureTypeaperturetype
void NXOpen::Display::CameraBuilder::SetBackClippingDistance ( double  backClippingDistance)

Sets the back clipping distance
Created in NX5.0.0.



License requirements : None

Parameters
backClippingDistancebackclippingdistance
void NXOpen::Display::CameraBuilder::SetCameraMatrix ( const NXOpen::Matrix3x3 cameraMatrix)

Sets the camera rotation matrix
Created in NX5.0.0.



License requirements : None

Parameters
cameraMatrixcamera matrix
void NXOpen::Display::CameraBuilder::SetCameraName ( const NXString cameraName)

Sets the camera name as a TEXT string.

Note that internally the camera name is stored as a char* string. Any characters which cannot be mapped to 8-bit characters will be replaced by # characters.
Created in NX5.0.0.

License requirements : None

Parameters
cameraNamecamera name
void NXOpen::Display::CameraBuilder::SetCameraName ( const char *  cameraName)

Sets the camera name as a TEXT string.

Note that internally the camera name is stored as a char* string. Any characters which cannot be mapped to 8-bit characters will be replaced by # characters.
Created in NX5.0.0.

License requirements : None

Parameters
cameraNamecamera name
void NXOpen::Display::CameraBuilder::SetCameraNameChar ( const NXString cameraName)

Sets the camera name as a char string
Created in NX5.0.1.



License requirements : None

Parameters
cameraNamecamera name
void NXOpen::Display::CameraBuilder::SetCameraNameChar ( const char *  cameraName)

Sets the camera name as a char string
Created in NX5.0.1.



License requirements : None

Parameters
cameraNamecamera name
void NXOpen::Display::CameraBuilder::SetCameraPosition ( const NXOpen::Point3d position)

Sets the coordinates of the camera point
Created in NX5.0.0.



License requirements : None

Parameters
positionposition
void NXOpen::Display::CameraBuilder::SetDepthOfFieldToggle ( bool  depthOfFieldToggle)

Sets the depth of field toggle
Created in NX5.0.0.



License requirements : None

Parameters
depthOfFieldToggledepthoffieldtoggle
void NXOpen::Display::CameraBuilder::SetFieldOfViewAngle ( double  fieldOfViewAngle)

Sets the field of view angle
Created in NX5.0.0.



License requirements : None

Parameters
fieldOfViewAnglefieldofviewangle
void NXOpen::Display::CameraBuilder::SetFieldOfViewMeasured ( NXOpen::Display::CameraBuilder::FovMeasured  fovMeasuredType)

Sets the field of view measured
Created in NX5.0.0.



License requirements : None

Parameters
fovMeasuredTypefovmeasuredtype
void NXOpen::Display::CameraBuilder::SetFocalDistance ( double  focalDistance)

Sets the focal distance
Created in NX5.0.0.



License requirements : None

Parameters
focalDistancefocaldistance
void NXOpen::Display::CameraBuilder::SetFrontClippingDistance ( double  frontClippingDistance)

Sets the front clipping distance
Created in NX5.0.0.



License requirements : None

Parameters
frontClippingDistancefrontclippingdistance
void NXOpen::Display::CameraBuilder::SetHiddenLensFlareToggle ( bool  hiddenLensFlareToggle)

Sets the hidden lens flare toggle
Created in NX5.0.0.



License requirements : None

Parameters
hiddenLensFlareTogglehiddenlensflaretoggle
void NXOpen::Display::CameraBuilder::SetLensAngleType ( NXOpen::Display::CameraBuilder::LensAngle  lensAngleType)

Sets the lens angle
Created in NX5.0.0.



License requirements : None

Parameters
lensAngleTypelensangletype
void NXOpen::Display::CameraBuilder::SetLensFlareIntensity ( double  lensFlareIntensity)

Sets the lens flare intensity
Created in NX5.0.0.



License requirements : None

Parameters
lensFlareIntensitylensflareintensity
void NXOpen::Display::CameraBuilder::SetLensFlareToggle ( bool  lensFlareToggle)

Sets the lens flare toggle
Created in NX5.0.0.



License requirements : None

Parameters
lensFlareTogglelensflaretoggle
void NXOpen::Display::CameraBuilder::SetLensFlareType ( NXOpen::Display::CameraBuilder::LensFlare  lensFlareType)

Sets the lens flare type
Created in NX5.0.0.



License requirements : None

Parameters
lensFlareTypelensflaretype
void NXOpen::Display::CameraBuilder::SetMagnification ( double  magnification)

Sets the magnification
Created in NX5.0.0.



License requirements : None

Parameters
magnificationmagnification
void NXOpen::Display::CameraBuilder::SetPerspectiveDistance ( double  perspectiveDistance)

Sets the perspective distance
Created in NX5.0.0.



License requirements : None

Parameters
perspectiveDistanceperspectivedistance
void NXOpen::Display::CameraBuilder::SetStockLensType ( NXOpen::Display::CameraBuilder::StockLens  stockLensType)

Sets the stock lens type
Created in NX5.0.0.



License requirements : None

Parameters
stockLensTypestocklenstype
void NXOpen::Display::CameraBuilder::SetTargetMatrix ( const NXOpen::Matrix3x3 matrix)

Sets the target point rotation matrix
Created in NX5.0.0.



License requirements : None

Parameters
matrixmatrix
void NXOpen::Display::CameraBuilder::SetTargetPosition ( const NXOpen::Point3d position)

Sets the coordinates of the target point
Created in NX5.0.0.



License requirements : None

Parameters
positionposition
void NXOpen::Display::CameraBuilder::SetType ( NXOpen::Display::CameraBuilder::Types  type)

Sets the camera type
Created in NX5.0.0.



License requirements : None

Parameters
typetype
void NXOpen::Display::CameraBuilder::SetUseTargetPoint ( bool  useTargetPoint)

Sets whether to use the target point
Created in NX5.0.0.



License requirements : None

Parameters
useTargetPointusetargetpoint
NXOpen::Display::CameraBuilder::StockLens NXOpen::Display::CameraBuilder::StockLensType ( )

Returns the stock lens type
Created in NX5.0.0.



License requirements : None

NXOpen::Matrix3x3 NXOpen::Display::CameraBuilder::TargetMatrix ( )

Returns the target point rotation matrix
Created in NX5.0.0.



License requirements : None

NXOpen::Point3d NXOpen::Display::CameraBuilder::TargetPosition ( )

Returns the coordinates of the target point
Created in NX5.0.0.



License requirements : None

NXOpen::Display::CameraBuilder::Types NXOpen::Display::CameraBuilder::Type ( )

Returns the camera type
Created in NX5.0.0.



License requirements : None

bool NXOpen::Display::CameraBuilder::UseTargetPoint ( )

Returns whether to use the target point
Created in NX5.0.0.



License requirements : None


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