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

Represents a NXOpen::Display::ImageBaseBuilder . More...

Inheritance diagram for NXOpen::Display::ImageBaseBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder NXOpen::Display::RasterImageBuilder

Public Types

enum  BasePointChoices {
  BasePointChoicesBottomLeft, BasePointChoicesBottomCenter, BasePointChoicesBottomRight, BasePointChoicesMiddleLeft,
  BasePointChoicesMiddleCenter, BasePointChoicesMiddleRight, BasePointChoicesTopLeft, BasePointChoicesTopCenter,
  BasePointChoicesTopRight, BasePointChoicesUserDefined
}
 Specifies image reference base point choice. More...
 
enum  ImageColorModes { ImageColorModesRgb, ImageColorModesGreyscale, ImageColorModesMonochrome }
 Describes image color modes. More...
 
enum  InsertionPoint { InsertionPointDefault, InsertionPointUserDefined }
 Describes insertion point type. More...
 
enum  ReferenceDirection { ReferenceDirectionHorizontal, ReferenceDirectionVertical }
 Specifies image alignment reference direction type. More...
 
enum  SizeOptions { SizeOptionsUserDefined, SizeOptionsImageSize, SizeOptionsReferenceScaling }
 Describes size options. More...
 
enum  TransparencyColorFrom { TransparencyColorFromNone, TransparencyColorFromFromImage, TransparencyColorFromPixelColor }
 Transparency Color From. More...
 

Public Member Functions

void AlignImageToReferenceDirection ()
 Align Image to Reference Direction
Created in NX9.0.0. More...
 
NXOpen::Display::ImageBaseBuilder::BasePointChoices BasePointChoice ()
 Returns the image reference base point choice. More...
 
NXOpen::Display::ImageBaseBuilder::ImageColorModes ColorMode ()
 Returns the color mode to display the image. More...
 
void FlipHorizontal ()
 Flips the image horizontally. More...
 
void FlipVertical ()
 Flips the image vertically. More...
 
std::vector< double > GetBackgroundColor ()
 Gets the background color (RGB value) of the image. More...
 
void GetCornerPoints (NXOpen::Point3d *point1, NXOpen::Point3d *point2, NXOpen::Point3d *point3, NXOpen::Point3d *point4)
 Get the image corner points. More...
 
std::vector< double > GetForegroundColor ()
 Gets the foreground color (RGB value) of the image. More...
 
std::vector< NXStringGetImagesInPart ()
 Provide a list of names of the NXOpen::Display::ImageData objects saved in current part file. More...
 
std::vector< double > GetTransparentPixelColor ()
 Gets the transparency color (RGB value) of the image. More...
 
NXOpen::ExpressionHeight ()
 Returns. More...
 
NXString ImageFile ()
 Returns the image file
Created in NX9.0.0. More...
 
NXOpen::PointImageReferencePoint1 ()
 Returns. More...
 
NXOpen::PointImageReferencePoint2 ()
 Returns. More...
 
NXOpen::PointImageReferencePoint3 ()
 Returns. More...
 
NXOpen::Display::ImageBaseBuilder::InsertionPoint InsertionPointOption ()
 Returns the image insertion point type
Created in NX9.0.0. More...
 
bool LockAspectRatio ()
 Returns the lock aspect ratio
Created in NX9.0.0. More...
 
NXOpen::PointModelReferencePoint1 ()
 Returns. More...
 
NXOpen::PointModelReferencePoint2 ()
 Returns. More...
 
NXOpen::PointModelReferencePoint3 ()
 Returns. More...
 
void OrientViewToImage ()
 Orients and fits the work view's view direction along the reverse normal direction of the image
Created in NX9.0.0. More...
 
int OverallTranslucency ()
 Returns the overall translucency. More...
 
int PixelColorTolerance ()
 Returns the transparency pixel color tolerance. More...
 
NXOpen::Display::ImageBaseBuilder::ReferenceDirection ReferenceDirectionOption ()
 Returns the image alignment reference direction type. More...
 
void ResetImageSize ()
 Resets the image to its original size. More...
 
NXOpen::ExpressionRotateAngleOfReferenceVector ()
 Returns the current rotation angle of image from aligned reference direction
Created in NX9.0.0. More...
 
void RotateLeft ()
 Rotates the image 90 degrees counter-clockwise. More...
 
void RotateRight ()
 Rotates the image 90 degrees clockwise. More...
 
void SetBackgroundColor (const std::vector< double > &backgroundColor)
 Sets the background color (RGB value) of the image. More...
 
void SetBasePointChoice (NXOpen::Display::ImageBaseBuilder::BasePointChoices basePoint)
 Sets the image reference base point choice. More...
 
void SetColorMode (NXOpen::Display::ImageBaseBuilder::ImageColorModes colorMode)
 Sets the color mode to display the image. More...
 
void SetCornerPoints (const NXOpen::Point3d &point1, const NXOpen::Point3d &point2, const NXOpen::Point3d &point3, const NXOpen::Point3d &point4)
 Set the image corner points. More...
 
void SetForegroundColor (const std::vector< double > &foregroundColor)
 Sets the foreground color (RGB value) of the image. More...
 
void SetImageFile (const NXString &filename)
 Sets the image file
Created in NX9.0.0. More...
 
void SetImageFile (const char *filename)
 Sets the image file
Created in NX9.0.0. More...
 
void SetImageFromPart (const NXString &imageName)
 Set a NXOpen::Display::ImageData object currently stored in the part as the image used by the builder. More...
 
void SetImageFromPart (const char *imageName)
 Set a NXOpen::Display::ImageData object currently stored in the part as the image used by the builder. More...
 
void SetImageReferencePoint1 (NXOpen::Point *imageReferencePoint1)
 Sets. More...
 
void SetImageReferencePoint2 (NXOpen::Point *imageReferencePoint2)
 Sets. More...
 
void SetImageReferencePoint3 (NXOpen::Point *imageReferencePoint3)
 Sets. More...
 
void SetInsertionPointOption (NXOpen::Display::ImageBaseBuilder::InsertionPoint insertPoint)
 Sets the image insertion point type
Created in NX9.0.0. More...
 
void SetLockAspectRatio (bool lockAspectRatio)
 Sets the lock aspect ratio
Created in NX9.0.0. More...
 
void SetModelReferencePoint1 (NXOpen::Point *modelReferencePoint1)
 Sets. More...
 
void SetModelReferencePoint2 (NXOpen::Point *modelReferencePoint2)
 Sets. More...
 
void SetModelReferencePoint3 (NXOpen::Point *modelReferencePoint3)
 Sets. More...
 
void SetOverallTranslucency (int overallTranslucency)
 Sets the overall translucency. More...
 
void SetPixelColorTolerance (int colorTolerence)
 Sets the transparency pixel color tolerance. More...
 
void SetReferenceDirectionOption (NXOpen::Display::ImageBaseBuilder::ReferenceDirection referenceDirection)
 Sets the image alignment reference direction type. More...
 
void SetSizeOption (NXOpen::Display::ImageBaseBuilder::SizeOptions sizeOption)
 Sets the size option
Created in NX9.0.0. More...
 
void SetTransparencyColorOption (NXOpen::Display::ImageBaseBuilder::TransparencyColorFrom transparencyColorOption)
 Sets the transparency color option
Created in NX9.0.0. More...
 
void SetTransparentPixelColor (const std::vector< double > &transparencyColor)
 Sets the transparency color (RGB value) of the image. More...
 
void SetUserBasePoint (NXOpen::Point *basePoint)
 Sets. More...
 
void SetUserInsertionPoint (NXOpen::Point *insertPoint)
 Sets the user defined insertion point
Created in NX9.0.0. More...
 
void SetUserReferenceDirection (NXOpen::Direction *userDirection)
 Sets the user defined reference direction vector. More...
 
NXOpen::Display::ImageBaseBuilder::SizeOptions SizeOption ()
 Returns the size option
Created in NX9.0.0. More...
 
NXOpen::Display::ImageBaseBuilder::TransparencyColorFrom TransparencyColorOption ()
 Returns the transparency color option
Created in NX9.0.0. More...
 
NXOpen::PointUserBasePoint ()
 Returns. More...
 
NXOpen::PointUserInsertionPoint ()
 Returns the user defined insertion point
Created in NX9.0.0. More...
 
NXOpen::DirectionUserReferenceDirection ()
 Returns the user defined reference direction vector. More...
 
NXOpen::ExpressionWidth ()
 Returns. 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::ImageBaseBuilder .

Serves as the base class for all NXOpen::Display::ImageBase builders. NXOpen::Display::ImageBase base class provides definition, orientation, sizing, and display setting controls for image based objects.
This is an abstract class, and cannot be instantiated.

Created in NX9.0.0.

Member Enumeration Documentation

Specifies image reference base point choice.

Enumerator
BasePointChoicesBottomLeft 

bottom left

BasePointChoicesBottomCenter 

bottom center

BasePointChoicesBottomRight 

bottom left

BasePointChoicesMiddleLeft 

middle left

BasePointChoicesMiddleCenter 

middle center

BasePointChoicesMiddleRight 

middle right

BasePointChoicesTopLeft 

top left

BasePointChoicesTopCenter 

top center

BasePointChoicesTopRight 

top right

BasePointChoicesUserDefined 

user defined

Describes image color modes.

Enumerator
ImageColorModesRgb 

rgb color mode

ImageColorModesGreyscale 

grey scale color mode

ImageColorModesMonochrome 

monochrome color mode

Describes insertion point type.

Enumerator
InsertionPointDefault 

default insertion point type

InsertionPointUserDefined 

user defined insertion point type

Specifies image alignment reference direction type.

Enumerator
ReferenceDirectionHorizontal 

horizontal reference direction

ReferenceDirectionVertical 

vertical reference direction

Describes size options.

Enumerator
SizeOptionsUserDefined 

user defined option

SizeOptionsImageSize 

image size option

SizeOptionsReferenceScaling 

reference scaling option

Transparency Color From.

Enumerator
TransparencyColorFromNone 

No Transparency Color.

TransparencyColorFromFromImage 

Transparency Color from image.

TransparencyColorFromPixelColor 

pixel color

Member Function Documentation

void NXOpen::Display::ImageBaseBuilder::AlignImageToReferenceDirection ( )

Align Image to Reference Direction
Created in NX9.0.0.



License requirements : None

NXOpen::Display::ImageBaseBuilder::BasePointChoices NXOpen::Display::ImageBaseBuilder::BasePointChoice ( )

Returns the image reference base point choice.

If you choose NXOpen::Display::ImageBaseBuilder::BasePointChoicesUserDefined , use NXOpen::Display::ImageBaseBuilder::SetUserBasePoint to set a point as the User-Defined point.


Created in NX9.0.0.

License requirements : None

NXOpen::Display::ImageBaseBuilder::ImageColorModes NXOpen::Display::ImageBaseBuilder::ColorMode ( )

Returns the color mode to display the image.


Created in NX9.0.0.

License requirements : None

void NXOpen::Display::ImageBaseBuilder::FlipHorizontal ( )

Flips the image horizontally.


Created in NX9.0.0.

License requirements : None

void NXOpen::Display::ImageBaseBuilder::FlipVertical ( )

Flips the image vertically.


Created in NX9.0.0.

License requirements : None

std::vector<double> NXOpen::Display::ImageBaseBuilder::GetBackgroundColor ( )

Gets the background color (RGB value) of the image.

Only valid when NXOpen::Display::ImageBaseBuilder::ColorMode is set to NXOpen::Display::ImageBaseBuilder::ImageColorModesGreyscale .

The length of the output array will always be 3. Each color value of the double array is in the range 0.0 to 1.0.

Returns
RGB color array
Created in NX9.0.0.

License requirements : None
void NXOpen::Display::ImageBaseBuilder::GetCornerPoints ( NXOpen::Point3d point1,
NXOpen::Point3d point2,
NXOpen::Point3d point3,
NXOpen::Point3d point4 
)

Get the image corner points.

The points define a rectangular region and are ordered counter-clockwise.


Created in NX9.0.0.

License requirements : None

Parameters
point1first corner point of image
point2second corner point of image
point3third corner point of image
point4fourth corner point of image
std::vector<double> NXOpen::Display::ImageBaseBuilder::GetForegroundColor ( )

Gets the foreground color (RGB value) of the image.

Only valid when NXOpen::Display::ImageBaseBuilder::ColorMode is set to NXOpen::Display::ImageBaseBuilder::ImageColorModesGreyscale .

The length of the output array will always be 3. Each color value of the double array is in the range 0.0 to 1.0.

Returns
RGB color array
Created in NX9.0.0.

License requirements : None
std::vector<NXString> NXOpen::Display::ImageBaseBuilder::GetImagesInPart ( )

Provide a list of names of the NXOpen::Display::ImageData objects saved in current part file.

Returns
Array of NXOpen::Display::ImageData names
Created in NX9.0.0.

License requirements : None
std::vector<double> NXOpen::Display::ImageBaseBuilder::GetTransparentPixelColor ( )

Gets the transparency color (RGB value) of the image.

Only valid when NXOpen::Display::ImageBaseBuilder::TransparencyColorOption is set to NXOpen::Display::ImageBaseBuilder::TransparencyColorFromPixelColor .

The length of the output array will always be 3. Each color value of the double array is in the range 0.0 to 1.0.

Returns
RGB color array
Created in NX9.0.0.

License requirements : None
NXOpen::Expression* NXOpen::Display::ImageBaseBuilder::Height ( )

Returns.

the height of the image as an NXOpen::Expression . The returned NXOpen::Expression is not associative to this object.

When NXOpen::Display::ImageBaseBuilder::SizeOption is set to NXOpen::Display::ImageBaseBuilder::SizeOptionsUserDefined , set the size of the image using NXOpen::Display::ImageBaseBuilder::SetCornerPoints .


Created in NX9.0.0.

License requirements : None

NXString NXOpen::Display::ImageBaseBuilder::ImageFile ( )

Returns the image file
Created in NX9.0.0.



License requirements : None

NXOpen::Point* NXOpen::Display::ImageBaseBuilder::ImageReferencePoint1 ( )

Returns.

the image reference point1. Only valid when NXOpen::Display::ImageBaseBuilder::SizeOption is set to NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling .

Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.


Created in NX9.0.0.

License requirements : None

NXOpen::Point* NXOpen::Display::ImageBaseBuilder::ImageReferencePoint2 ( )

Returns.

the image reference point2. Only valid when NXOpen::Display::ImageBaseBuilder::SizeOption is set to NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling .

Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.


Created in NX9.0.0.

License requirements : None

NXOpen::Point* NXOpen::Display::ImageBaseBuilder::ImageReferencePoint3 ( )

Returns.

the image reference point3. Only valid when NXOpen::Display::ImageBaseBuilder::SizeOption is set to NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling and NXOpen::Display::ImageBaseBuilder::LockAspectRatio is False.

Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.


Created in NX9.0.0.

License requirements : None

NXOpen::Display::ImageBaseBuilder::InsertionPoint NXOpen::Display::ImageBaseBuilder::InsertionPointOption ( )

Returns the image insertion point type
Created in NX9.0.0.



License requirements : None

bool NXOpen::Display::ImageBaseBuilder::LockAspectRatio ( )

Returns the lock aspect ratio
Created in NX9.0.0.



License requirements : None

NXOpen::Point* NXOpen::Display::ImageBaseBuilder::ModelReferencePoint1 ( )

Returns.

the model reference point1. Only valid when NXOpen::Display::ImageBaseBuilder::SizeOption is set to NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling .

Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.


Created in NX9.0.0.

License requirements : None

NXOpen::Point* NXOpen::Display::ImageBaseBuilder::ModelReferencePoint2 ( )

Returns.

the model reference point2. Only valid when NXOpen::Display::ImageBaseBuilder::SizeOption is set to NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling .

Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.


Created in NX9.0.0.

License requirements : None

NXOpen::Point* NXOpen::Display::ImageBaseBuilder::ModelReferencePoint3 ( )

Returns.

the model reference point3. Only valid when NXOpen::Display::ImageBaseBuilder::SizeOption is set to NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling and NXOpen::Display::ImageBaseBuilder::LockAspectRatio is False.

Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.


Created in NX9.0.0.

License requirements : None

void NXOpen::Display::ImageBaseBuilder::OrientViewToImage ( )

Orients and fits the work view's view direction along the reverse normal direction of the image
Created in NX9.0.0.



License requirements : None

int NXOpen::Display::ImageBaseBuilder::OverallTranslucency ( )

Returns the overall translucency.

The range of this value is 0 to 100.
Created in NX9.0.0.

License requirements : None

int NXOpen::Display::ImageBaseBuilder::PixelColorTolerance ( )

Returns the transparency pixel color tolerance.

The range of this value is 0 to 255.


Created in NX9.0.0.

License requirements : None

NXOpen::Display::ImageBaseBuilder::ReferenceDirection NXOpen::Display::ImageBaseBuilder::ReferenceDirectionOption ( )

Returns the image alignment reference direction type.

NXOpen::Display::ImageBaseBuilder::ReferenceDirectionHorizontal means rotate the image to align its horizontal direction with the user-specified reference direction (if defined).


Created in NX9.0.0.

License requirements : None

void NXOpen::Display::ImageBaseBuilder::ResetImageSize ( )

Resets the image to its original size.


Created in NX9.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Display::ImageBaseBuilder::RotateAngleOfReferenceVector ( )

Returns the current rotation angle of image from aligned reference direction
Created in NX9.0.0.



License requirements : None

void NXOpen::Display::ImageBaseBuilder::RotateLeft ( )

Rotates the image 90 degrees counter-clockwise.


Created in NX9.0.0.

License requirements : None

void NXOpen::Display::ImageBaseBuilder::RotateRight ( )

Rotates the image 90 degrees clockwise.


Created in NX9.0.0.

License requirements : None

void NXOpen::Display::ImageBaseBuilder::SetBackgroundColor ( const std::vector< double > &  backgroundColor)

Sets the background color (RGB value) of the image.

Only valid when NXOpen::Display::ImageBaseBuilder::ColorMode is set to NXOpen::Display::ImageBaseBuilder::ImageColorModesGreyscale .

The length of the input array should always be 3. Each color value of the double array must be in the range 0.0 to 1.0.


Created in NX9.0.0.

License requirements : None

Parameters
backgroundColorRGB color array
void NXOpen::Display::ImageBaseBuilder::SetBasePointChoice ( NXOpen::Display::ImageBaseBuilder::BasePointChoices  basePoint)

Sets the image reference base point choice.

If you choose NXOpen::Display::ImageBaseBuilder::BasePointChoicesUserDefined , use NXOpen::Display::ImageBaseBuilder::SetUserBasePoint to set a point as the User-Defined point.


Created in NX9.0.0.

License requirements : None

Parameters
basePointbasepoint
void NXOpen::Display::ImageBaseBuilder::SetColorMode ( NXOpen::Display::ImageBaseBuilder::ImageColorModes  colorMode)

Sets the color mode to display the image.


Created in NX9.0.0.

License requirements : None

Parameters
colorModecolormode
void NXOpen::Display::ImageBaseBuilder::SetCornerPoints ( const NXOpen::Point3d point1,
const NXOpen::Point3d point2,
const NXOpen::Point3d point3,
const NXOpen::Point3d point4 
)

Set the image corner points.

The points must define a rectangular region and be ordered counter-clockwise.


Created in NX9.0.0.

License requirements : None

Parameters
point1first corner point of image
point2second corner point of image
point3third corner point of image
point4fourth corner point of image
void NXOpen::Display::ImageBaseBuilder::SetForegroundColor ( const std::vector< double > &  foregroundColor)

Sets the foreground color (RGB value) of the image.

Only valid when NXOpen::Display::ImageBaseBuilder::ColorMode is set to NXOpen::Display::ImageBaseBuilder::ImageColorModesGreyscale .

The length of the input array should always be 3. Each color value of the double array must be in the range 0.0 to 1.0.


Created in NX9.0.0.

License requirements : None

Parameters
foregroundColorRGB color array
void NXOpen::Display::ImageBaseBuilder::SetImageFile ( const NXString filename)

Sets the image file
Created in NX9.0.0.



License requirements : None

Parameters
filenamefilename
void NXOpen::Display::ImageBaseBuilder::SetImageFile ( const char *  filename)

Sets the image file
Created in NX9.0.0.



License requirements : None

Parameters
filenamefilename
void NXOpen::Display::ImageBaseBuilder::SetImageFromPart ( const NXString imageName)

Set a NXOpen::Display::ImageData object currently stored in the part as the image used by the builder.


Created in NX9.0.0.

License requirements : None

Parameters
imageNameName of NXOpen::Display::ImageData object
void NXOpen::Display::ImageBaseBuilder::SetImageFromPart ( const char *  imageName)

Set a NXOpen::Display::ImageData object currently stored in the part as the image used by the builder.


Created in NX9.0.0.

License requirements : None

Parameters
imageNameName of NXOpen::Display::ImageData object
void NXOpen::Display::ImageBaseBuilder::SetImageReferencePoint1 ( NXOpen::Point imageReferencePoint1)

Sets.

the image reference point1. Only valid when NXOpen::Display::ImageBaseBuilder::SizeOption is set to NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling .

Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.


Created in NX9.0.0.

License requirements : None

Parameters
imageReferencePoint1imagereferencepoint1
void NXOpen::Display::ImageBaseBuilder::SetImageReferencePoint2 ( NXOpen::Point imageReferencePoint2)

Sets.

the image reference point2. Only valid when NXOpen::Display::ImageBaseBuilder::SizeOption is set to NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling .

Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.


Created in NX9.0.0.

License requirements : None

Parameters
imageReferencePoint2imagereferencepoint2
void NXOpen::Display::ImageBaseBuilder::SetImageReferencePoint3 ( NXOpen::Point imageReferencePoint3)

Sets.

the image reference point3. Only valid when NXOpen::Display::ImageBaseBuilder::SizeOption is set to NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling and NXOpen::Display::ImageBaseBuilder::LockAspectRatio is False.

Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.


Created in NX9.0.0.

License requirements : None

Parameters
imageReferencePoint3imagereferencepoint3
void NXOpen::Display::ImageBaseBuilder::SetInsertionPointOption ( NXOpen::Display::ImageBaseBuilder::InsertionPoint  insertPoint)

Sets the image insertion point type
Created in NX9.0.0.



License requirements : None

Parameters
insertPointinsertpoint
void NXOpen::Display::ImageBaseBuilder::SetLockAspectRatio ( bool  lockAspectRatio)

Sets the lock aspect ratio
Created in NX9.0.0.



License requirements : None

Parameters
lockAspectRatiolockaspectratio
void NXOpen::Display::ImageBaseBuilder::SetModelReferencePoint1 ( NXOpen::Point modelReferencePoint1)

Sets.

the model reference point1. Only valid when NXOpen::Display::ImageBaseBuilder::SizeOption is set to NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling .

Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.


Created in NX9.0.0.

License requirements : None

Parameters
modelReferencePoint1modelreferencepoint1
void NXOpen::Display::ImageBaseBuilder::SetModelReferencePoint2 ( NXOpen::Point modelReferencePoint2)

Sets.

the model reference point2. Only valid when NXOpen::Display::ImageBaseBuilder::SizeOption is set to NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling .

Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.


Created in NX9.0.0.

License requirements : None

Parameters
modelReferencePoint2modelreferencepoint2
void NXOpen::Display::ImageBaseBuilder::SetModelReferencePoint3 ( NXOpen::Point modelReferencePoint3)

Sets.

the model reference point3. Only valid when NXOpen::Display::ImageBaseBuilder::SizeOption is set to NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling and NXOpen::Display::ImageBaseBuilder::LockAspectRatio is False.

Reference Scaling provides sizing the image by defining image reference points and matching them with corresponding model reference points.


Created in NX9.0.0.

License requirements : None

Parameters
modelReferencePoint3modelreferencepoint3
void NXOpen::Display::ImageBaseBuilder::SetOverallTranslucency ( int  overallTranslucency)

Sets the overall translucency.

The range of this value is 0 to 100.
Created in NX9.0.0.

License requirements : None

Parameters
overallTranslucencyoveralltranslucency
void NXOpen::Display::ImageBaseBuilder::SetPixelColorTolerance ( int  colorTolerence)

Sets the transparency pixel color tolerance.

The range of this value is 0 to 255.


Created in NX9.0.0.

License requirements : None

Parameters
colorTolerencecolortolerence
void NXOpen::Display::ImageBaseBuilder::SetReferenceDirectionOption ( NXOpen::Display::ImageBaseBuilder::ReferenceDirection  referenceDirection)

Sets the image alignment reference direction type.

NXOpen::Display::ImageBaseBuilder::ReferenceDirectionHorizontal means rotate the image to align its horizontal direction with the user-specified reference direction (if defined).


Created in NX9.0.0.

License requirements : None

Parameters
referenceDirectionreferencedirection
void NXOpen::Display::ImageBaseBuilder::SetSizeOption ( NXOpen::Display::ImageBaseBuilder::SizeOptions  sizeOption)

Sets the size option
Created in NX9.0.0.



License requirements : None

Parameters
sizeOptionsizeoption
void NXOpen::Display::ImageBaseBuilder::SetTransparencyColorOption ( NXOpen::Display::ImageBaseBuilder::TransparencyColorFrom  transparencyColorOption)

Sets the transparency color option
Created in NX9.0.0.



License requirements : None

Parameters
transparencyColorOptiontransparencycoloroption
void NXOpen::Display::ImageBaseBuilder::SetTransparentPixelColor ( const std::vector< double > &  transparencyColor)

Sets the transparency color (RGB value) of the image.

Only valid when NXOpen::Display::ImageBaseBuilder::TransparencyColorOption is set to NXOpen::Display::ImageBaseBuilder::TransparencyColorFromPixelColor .

The length of the input array should always be 3. Each color value of the double array must be in the range 0.0 to 1.0.


Created in NX9.0.0.

License requirements : None

Parameters
transparencyColorRGB color array
void NXOpen::Display::ImageBaseBuilder::SetUserBasePoint ( NXOpen::Point basePoint)

Sets.

the user defined base point. Only valid when NXOpen::Display::ImageBaseBuilder::BasePointChoice is set to NXOpen::Display::ImageBaseBuilder::BasePointChoicesUserDefined .


Created in NX9.0.0.

License requirements : None

Parameters
basePointbasepoint
void NXOpen::Display::ImageBaseBuilder::SetUserInsertionPoint ( NXOpen::Point insertPoint)

Sets the user defined insertion point
Created in NX9.0.0.



License requirements : None

Parameters
insertPointinsertpoint
void NXOpen::Display::ImageBaseBuilder::SetUserReferenceDirection ( NXOpen::Direction userDirection)

Sets the user defined reference direction vector.

A direction normal to the plane of the image is invalid.


Created in NX9.0.0.

License requirements : None

Parameters
userDirectionuserdirection
NXOpen::Display::ImageBaseBuilder::SizeOptions NXOpen::Display::ImageBaseBuilder::SizeOption ( )

Returns the size option
Created in NX9.0.0.



License requirements : None

NXOpen::Display::ImageBaseBuilder::TransparencyColorFrom NXOpen::Display::ImageBaseBuilder::TransparencyColorOption ( )

Returns the transparency color option
Created in NX9.0.0.



License requirements : None

NXOpen::Point* NXOpen::Display::ImageBaseBuilder::UserBasePoint ( )

Returns.

the user defined base point. Only valid when NXOpen::Display::ImageBaseBuilder::BasePointChoice is set to NXOpen::Display::ImageBaseBuilder::BasePointChoicesUserDefined .


Created in NX9.0.0.

License requirements : None

NXOpen::Point* NXOpen::Display::ImageBaseBuilder::UserInsertionPoint ( )

Returns the user defined insertion point
Created in NX9.0.0.



License requirements : None

NXOpen::Direction* NXOpen::Display::ImageBaseBuilder::UserReferenceDirection ( )

Returns the user defined reference direction vector.

A direction normal to the plane of the image is invalid.


Created in NX9.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Display::ImageBaseBuilder::Width ( )

Returns.

the width of the image as an NXOpen::Expression . The returned NXOpen::Expression is not associative to this object.

When NXOpen::Display::ImageBaseBuilder::SizeOption is set to NXOpen::Display::ImageBaseBuilder::SizeOptionsUserDefined , set the size of the image using NXOpen::Display::ImageBaseBuilder::SetCornerPoints .


Created in NX9.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.