NX Open C++ Reference Guide
|
Represents a NXOpen::Display::ImageBaseBuilder . 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< NXString > | GetImagesInPart () |
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::Expression * | Height () |
Returns. More... | |
NXString | ImageFile () |
Returns the image file Created in NX9.0.0. More... | |
NXOpen::Point * | ImageReferencePoint1 () |
Returns. More... | |
NXOpen::Point * | ImageReferencePoint2 () |
Returns. More... | |
NXOpen::Point * | ImageReferencePoint3 () |
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::Point * | ModelReferencePoint1 () |
Returns. More... | |
NXOpen::Point * | ModelReferencePoint2 () |
Returns. More... | |
NXOpen::Point * | ModelReferencePoint3 () |
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::Expression * | RotateAngleOfReferenceVector () |
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::Point * | UserBasePoint () |
Returns. More... | |
NXOpen::Point * | UserInsertionPoint () |
Returns the user defined insertion point Created in NX9.0.0. More... | |
NXOpen::Direction * | UserReferenceDirection () |
Returns the user defined reference direction vector. More... | |
NXOpen::Expression * | Width () |
Returns. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
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::NXObject * | GetObject () |
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... | |
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.
Specifies image reference base point choice.
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.
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
point1 | first corner point of image |
point2 | second corner point of image |
point3 | third corner point of image |
point4 | fourth 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.
std::vector<NXString> NXOpen::Display::ImageBaseBuilder::GetImagesInPart | ( | ) |
Provide a list of names of the NXOpen::Display::ImageData objects saved in current part file.
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.
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
backgroundColor | RGB 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
basePoint | basepoint |
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
colorMode | colormode |
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
point1 | first corner point of image |
point2 | second corner point of image |
point3 | third corner point of image |
point4 | fourth 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
foregroundColor | RGB color array |
void NXOpen::Display::ImageBaseBuilder::SetImageFile | ( | const NXString & | filename | ) |
Sets the image file
Created in NX9.0.0.
License requirements : None
filename | filename |
void NXOpen::Display::ImageBaseBuilder::SetImageFile | ( | const char * | filename | ) |
Sets the image file
Created in NX9.0.0.
License requirements : None
filename | filename |
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
imageName | Name 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
imageName | Name 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
imageReferencePoint1 | imagereferencepoint1 |
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
imageReferencePoint2 | imagereferencepoint2 |
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
imageReferencePoint3 | imagereferencepoint3 |
void NXOpen::Display::ImageBaseBuilder::SetInsertionPointOption | ( | NXOpen::Display::ImageBaseBuilder::InsertionPoint | insertPoint | ) |
Sets the image insertion point type
Created in NX9.0.0.
License requirements : None
insertPoint | insertpoint |
void NXOpen::Display::ImageBaseBuilder::SetLockAspectRatio | ( | bool | lockAspectRatio | ) |
Sets the lock aspect ratio
Created in NX9.0.0.
License requirements : None
lockAspectRatio | lockaspectratio |
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
modelReferencePoint1 | modelreferencepoint1 |
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
modelReferencePoint2 | modelreferencepoint2 |
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
modelReferencePoint3 | modelreferencepoint3 |
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
overallTranslucency | overalltranslucency |
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
colorTolerence | colortolerence |
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
referenceDirection | referencedirection |
void NXOpen::Display::ImageBaseBuilder::SetSizeOption | ( | NXOpen::Display::ImageBaseBuilder::SizeOptions | sizeOption | ) |
Sets the size option
Created in NX9.0.0.
License requirements : None
sizeOption | sizeoption |
void NXOpen::Display::ImageBaseBuilder::SetTransparencyColorOption | ( | NXOpen::Display::ImageBaseBuilder::TransparencyColorFrom | transparencyColorOption | ) |
Sets the transparency color option
Created in NX9.0.0.
License requirements : None
transparencyColorOption | transparencycoloroption |
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
transparencyColor | RGB 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
basePoint | basepoint |
void NXOpen::Display::ImageBaseBuilder::SetUserInsertionPoint | ( | NXOpen::Point * | insertPoint | ) |
Sets the user defined insertion point
Created in NX9.0.0.
License requirements : None
insertPoint | insertpoint |
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
userDirection | userdirection |
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