NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
NXOpen::Display::ImageBaseBuilder类 参考

图像基类构建器 更多...

#include <Display_ImageBaseBuilder.hxx>

类 NXOpen::Display::ImageBaseBuilder 继承关系图:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder NXOpen::Annotations::RasterImageBuilder NXOpen::Display::RasterImageBuilder NXOpen::TDP::TemplateImageBuilder NXOpen::Tooling::RasterImageBuilder

Public 类型

enum  BasePointChoices {
  BasePointChoicesBottomLeft , BasePointChoicesBottomCenter , BasePointChoicesBottomRight , BasePointChoicesMiddleLeft ,
  BasePointChoicesMiddleCenter , BasePointChoicesMiddleRight , BasePointChoicesTopLeft , BasePointChoicesTopCenter ,
  BasePointChoicesTopRight , BasePointChoicesUserDefined
}
enum  ImageColorModes { ImageColorModesRgb , ImageColorModesGreyscale , ImageColorModesMonochrome }
enum  InsertionPoint { InsertionPointDefault , InsertionPointUserDefined }
enum  ReferenceDirection { ReferenceDirectionHorizontal , ReferenceDirectionVertical }
enum  SizeOptions { SizeOptionsUserDefined , SizeOptionsImageSize , SizeOptionsReferenceScaling }
enum  TransparencyColorFrom { TransparencyColorFromNone , TransparencyColorFromFromImage , TransparencyColorFromPixelColor }

Public 成员函数

void AlignImageToReferenceDirection ()
NXOpen::Display::ImageBaseBuilder::BasePointChoices BasePointChoice ()
NXOpen::Display::ImageBaseBuilder::ImageColorModes ColorMode ()
void FlipHorizontal ()
void FlipVertical ()
std::vector< double > GetBackgroundColor ()
 获取图像的背景色(RGB值)。仅当 NXOpen::Display::ImageBaseBuilder::ColorMode 设置为 NXOpen::Display::ImageBaseBuilder::ImageColorModesGreyscale 时有效。 输出数组的长度始终为3。双精度数组中的每个颜色值范围为0.0至1.0。
void GetCornerPoints (NXOpen::Point3d *point1, NXOpen::Point3d *point2, NXOpen::Point3d *point3, NXOpen::Point3d *point4)
std::vector< double > GetForegroundColor ()
 获取图像的前景色(RGB值)。仅当 NXOpen::Display::ImageBaseBuilder::ColorMode 设置为 NXOpen::Display::ImageBaseBuilder::ImageColorModesGreyscale 时有效。 输出数组的长度始终为3。双精度数组中的每个颜色值范围为0.0至1.0。
std::vector< NXStringGetImagesInPart ()
std::vector< double > GetTransparentPixelColor ()
 获取图像的透明色(RGB值)。仅当 NXOpen::Display::ImageBaseBuilder::TransparencyColorOption 设置为 NXOpen::Display::ImageBaseBuilder::TransparencyColorFromPixelColor 时有效。 输出数组的长度始终为3。双精度数组中的每个颜色值范围为0.0至1.0。
NXOpen::ExpressionHeight ()
NXString ImageFile ()
NXOpen::PointImageReferencePoint1 ()
NXOpen::PointImageReferencePoint2 ()
NXOpen::PointImageReferencePoint3 ()
 获取图像参考点3。仅当 NXOpen::Display::ImageBaseBuilder::SizeOption 设置为 NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScalingNXOpen::Display::ImageBaseBuilder::LockAspectRatio 为 False 时有效。 参考缩放通过定义图像参考点并将其与对应的模型参考点匹配来调整图像大小。
创建于 NX9.0.0。

许可证要求:无
NXOpen::Point3d InsertionPointLocation ()
NXOpen::Display::ImageBaseBuilder::InsertionPoint InsertionPointOption ()
bool LockAspectRatio ()
NXOpen::PointModelReferencePoint1 ()
NXOpen::PointModelReferencePoint2 ()
 获取模型参考点2。仅当 NXOpen::Display::ImageBaseBuilder::SizeOption 设置为 NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling 时有效。 参考缩放通过定义图像参考点并将其与对应的模型参考点匹配来调整图像大小。
创建于 NX9.0.0。

许可证要求:无
NXOpen::PointModelReferencePoint3 ()
 获取模型参考点3。仅当 NXOpen::Display::ImageBaseBuilder::SizeOption 设置为 NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScalingNXOpen::Display::ImageBaseBuilder::LockAspectRatio 为 False 时有效。 参考缩放通过定义图像参考点并将其与对应的模型参考点匹配来调整图像大小。
创建于 NX9.0.0。

许可证要求:无
void OrientViewToImage ()
int OverallTranslucency ()
int PixelColorTolerance ()
NXOpen::Display::ImageBaseBuilder::ReferenceDirection ReferenceDirectionOption ()
void ResetImageSize ()
NXOpen::ExpressionRotateAngleOfReferenceVector ()
void RotateLeft ()
void RotateRight ()
void SetBackgroundColor (const std::vector< double > &backgroundColor)
 设置图像的背景色(RGB值)。仅当 NXOpen::Display::ImageBaseBuilder::ColorMode 设置为 NXOpen::Display::ImageBaseBuilder::ImageColorModesGreyscale 时有效。 输入数组的长度应始终为3。双精度数组中的每个颜色值必须在0.0至1.0范围内。
于NX9.0.0中创建。

许可证要求:无
void SetBasePointChoice (NXOpen::Display::ImageBaseBuilder::BasePointChoices basePoint)
void SetColorMode (NXOpen::Display::ImageBaseBuilder::ImageColorModes colorMode)
void SetCornerPoints (const NXOpen::Point3d &point1, const NXOpen::Point3d &point2, const NXOpen::Point3d &point3, const NXOpen::Point3d &point4)
void SetForegroundColor (const std::vector< double > &foregroundColor)
 设置图像的前景色(RGB值)。仅当 NXOpen::Display::ImageBaseBuilder::ColorMode 设置为 NXOpen::Display::ImageBaseBuilder::ImageColorModesGreyscale 时有效。 输入数组的长度应始终为3。双精度数组中的每个颜色值必须在0.0至1.0范围内。
于NX9.0.0中创建。

许可证要求:无
void SetImageFile (const char *filename)
void SetImageFile (const NXString &filename)
void SetImageFromPart (const char *imageName)
void SetImageFromPart (const NXString &imageName)
void SetImageReferencePoint1 (NXOpen::Point *imageReferencePoint1)
void SetImageReferencePoint2 (NXOpen::Point *imageReferencePoint2)
void SetImageReferencePoint3 (NXOpen::Point *imageReferencePoint3)
 设置图像参考点3。仅当 NXOpen::Display::ImageBaseBuilder::SizeOption 设置为 NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScalingNXOpen::Display::ImageBaseBuilder::LockAspectRatio 为 False 时有效。 参考缩放通过定义图像参考点并将其与对应的模型参考点匹配来调整图像大小。
创建于 NX9.0.0。

许可证要求:无
void SetInsertionPointLocation (const NXOpen::Point3d &insertPoint)
void SetInsertionPointOption (NXOpen::Display::ImageBaseBuilder::InsertionPoint insertPoint)
void SetLockAspectRatio (bool lockAspectRatio)
void SetModelReferencePoint1 (NXOpen::Point *modelReferencePoint1)
void SetModelReferencePoint2 (NXOpen::Point *modelReferencePoint2)
 设置模型参考点2。仅当 NXOpen::Display::ImageBaseBuilder::SizeOption 设置为 NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling 时有效。 参考缩放通过定义图像参考点并将其与对应的模型参考点匹配来调整图像大小。
创建于 NX9.0.0。

许可证要求:无
void SetModelReferencePoint3 (NXOpen::Point *modelReferencePoint3)
 设置模型参考点3。仅当 NXOpen::Display::ImageBaseBuilder::SizeOption 设置为 NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScalingNXOpen::Display::ImageBaseBuilder::LockAspectRatio 为 False 时有效。 参考缩放通过定义图像参考点并将其与对应的模型参考点匹配来调整图像大小。
创建于 NX9.0.0。

许可证要求:无
void SetOverallTranslucency (int overallTranslucency)
void SetPixelColorTolerance (int colorTolerence)
void SetReferenceDirectionOption (NXOpen::Display::ImageBaseBuilder::ReferenceDirection referenceDirection)
void SetSizeOption (NXOpen::Display::ImageBaseBuilder::SizeOptions sizeOption)
void SetTransparencyColorOption (NXOpen::Display::ImageBaseBuilder::TransparencyColorFrom transparencyColorOption)
void SetTransparentPixelColor (const std::vector< double > &transparencyColor)
 设置图像的透明色(RGB值)。仅当 NXOpen::Display::ImageBaseBuilder::TransparencyColorOption 设置为 NXOpen::Display::ImageBaseBuilder::TransparencyColorFromPixelColor 时有效。 输入数组的长度应始终为3。双精度数组中的每个颜色值必须在0.0至1.0范围内。
于NX9.0.0中创建。

许可证要求:无
void SetUserBasePoint (NXOpen::Point *basePoint)
void SetUserInsertionPoint (NXOpen::Point *insertPoint)
void SetUserReferenceDirection (NXOpen::Direction *userDirection)
NXOpen::Display::ImageBaseBuilder::SizeOptions SizeOption ()
NXOpen::Display::ImageBaseBuilder::TransparencyColorFrom TransparencyColorOption ()
NXOpen::PointUserBasePoint ()
NXOpen::PointUserInsertionPoint ()
NXOpen::DirectionUserReferenceDirection ()
NXOpen::ExpressionWidth ()
 获取图像宽度作为 NXOpen::Expression。 返回的 NXOpen::Expression 与此对象**不**关联。 当 NXOpen::Display::ImageBaseBuilder::SizeOption 设置为 NXOpen::Display::ImageBaseBuilder::SizeOptionsUserDefined 时, 使用 NXOpen::Display::ImageBaseBuilder::SetCornerPoints 设置图像大小。
创建于 NX9.0.0。

许可证要求:无
Public 成员函数 继承自 NXOpen::Builder
NXOpen::NXObjectCommit ()
void Destroy ()
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
NXOpen::NXObjectGetObject ()
NXOpen::PreviewBuilderPreviewBuilder ()
void ShowResults ()
virtual bool Validate ()
Public 成员函数 继承自 NXOpen::TaggedObject
tag_t Tag () const

友元

class _ImageBaseBuilderBuilder

详细描述

图像基类构建器

表示 NXOpen::Display::ImageBaseBuilder 。 用作所有 NXOpen::Display::ImageBase 构建器的基类。 NXOpen::Display::ImageBase 基类提供基于图像的对象的定义、定向、 尺寸设置和显示设置控件。
这是一个抽象类,无法实例化。

于 NX9.0.0 版本创建。

成员枚举类型说明

◆ BasePointChoices

指定图像参考基点选择。

枚举值
BasePointChoicesBottomLeft 

左下

BasePointChoicesBottomCenter 

底部中心

BasePointChoicesBottomRight 

左下

BasePointChoicesMiddleLeft 

左中

BasePointChoicesMiddleCenter 

中心

BasePointChoicesMiddleRight 

右中

BasePointChoicesTopLeft 

左上

BasePointChoicesTopCenter 

顶部中心

BasePointChoicesTopRight 

右上

BasePointChoicesUserDefined 

用户定义

◆ ImageColorModes

描述图像颜色模式。

枚举值
ImageColorModesRgb 

RGB颜色模式

ImageColorModesGreyscale 

灰度颜色模式

ImageColorModesMonochrome 

单色颜色模式

◆ InsertionPoint

描述插入点类型。

枚举值
InsertionPointDefault 

默认插入点类型

InsertionPointUserDefined 

用户定义插入点类型

◆ ReferenceDirection

指定图像对齐参考方向类型。

枚举值
ReferenceDirectionHorizontal 

水平参考方向

ReferenceDirectionVertical 

垂直参考方向

◆ SizeOptions

描述尺寸选项。

枚举值
SizeOptionsUserDefined 

用户定义选项

SizeOptionsImageSize 

图像尺寸选项

SizeOptionsReferenceScaling 

参考缩放选项

◆ TransparencyColorFrom

透明色来源

枚举值
TransparencyColorFromNone 

无透明色

TransparencyColorFromFromImage 

图像透明色

TransparencyColorFromPixelColor 

像素颜色

成员函数说明

◆ AlignImageToReferenceDirection()

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

将图像对齐到参考方向
创建于NX9.0.0。

许可证要求:无

◆ BasePointChoice()

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

获取图像参考基准点选项。若选择 NXOpen::Display::ImageBaseBuilder::BasePointChoicesUserDefined , 使用 NXOpen::Display::ImageBaseBuilder::SetUserBasePoint 设置一个点作为用户定义点。
创建于NX9.0.0.

许可要求: 无

◆ ColorMode()

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

获取图像的显示颜色模式。
于NX9.0.0版本创建。

许可证要求:无

◆ FlipHorizontal()

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

水平翻转图像。
创建于NX9.0.0。

许可证要求:无

◆ FlipVertical()

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

垂直翻转图像。
创建于NX9.0.0。

许可证要求:无

◆ GetBackgroundColor()

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

获取图像的背景色(RGB值)。仅当 NXOpen::Display::ImageBaseBuilder::ColorMode 设置为 NXOpen::Display::ImageBaseBuilder::ImageColorModesGreyscale 时有效。 输出数组的长度始终为3。双精度数组中的每个颜色值范围为0.0至1.0。

返回
RGB颜色数组
于NX9.0.0中创建。

许可证要求:无

◆ GetCornerPoints()

void NXOpen::Display::ImageBaseBuilder::GetCornerPoints ( NXOpen::Point3d * point1,
NXOpen::Point3d * point2,
NXOpen::Point3d * point3,
NXOpen::Point3d * point4 )

获取图像角点。这些点定义一个矩形区域,并按逆时针顺序排列。
创建于NX9.0.0。

许可证要求:无

参数
point1图像的第一个角点
point2图像的第二个角点
point3图像的第三个角点
point4图像的第四个角点

◆ GetForegroundColor()

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

获取图像的前景色(RGB值)。仅当 NXOpen::Display::ImageBaseBuilder::ColorMode 设置为 NXOpen::Display::ImageBaseBuilder::ImageColorModesGreyscale 时有效。 输出数组的长度始终为3。双精度数组中的每个颜色值范围为0.0至1.0。

返回
RGB颜色数组
于NX9.0.0中创建。

许可证要求:无

◆ GetImagesInPart()

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

提供当前部件文件中保存的NXOpen::Display::ImageData 对象的名称列表。

返回
NXOpen::Display::ImageData 名称数组
创建于NX9.0.0。

许可证要求:无

◆ GetTransparentPixelColor()

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

获取图像的透明色(RGB值)。仅当 NXOpen::Display::ImageBaseBuilder::TransparencyColorOption 设置为 NXOpen::Display::ImageBaseBuilder::TransparencyColorFromPixelColor 时有效。 输出数组的长度始终为3。双精度数组中的每个颜色值范围为0.0至1.0。

返回
RGB颜色数组
于NX9.0.0中创建。

许可证要求:无

◆ Height()

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

获取图像高度,返回一个NXOpen::Expression 对象。 返回的NXOpen::Expression 与该对象关联。 当NXOpen::Display::ImageBaseBuilder::SizeOption 设置为NXOpen::Display::ImageBaseBuilder::SizeOptionsUserDefined 时, 使用NXOpen::Display::ImageBaseBuilder::SetCornerPoints 设置图像尺寸。
于NX9.0.0版本创建。

许可证要求:无

◆ ImageFile()

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

返回图像文件
创建于NX9.0.0。

许可证要求:无

◆ ImageReferencePoint1()

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

返回图像参考点1。仅当 NXOpen::Display::ImageBaseBuilder::SizeOption 设为 NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling 时有效。 参考缩放通过定义图像参考点并将其与对应的模型参考点匹配来调整图像尺寸。
于NX9.0.0版本创建。

许可证要求:无

◆ ImageReferencePoint2()

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

返回图像参考点2。仅当 NXOpen::Display::ImageBaseBuilder::SizeOption 设为 NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling 时有效。 参考缩放通过定义图像参考点并将其与对应的模型参考点匹配来调整图像尺寸。
于NX9.0.0版本创建。

许可证要求:无

◆ InsertionPointLocation()

NXOpen::Point3d NXOpen::Display::ImageBaseBuilder::InsertionPointLocation ( )

获取图像的插入点。
于NX1847.0.0版本创建。

许可证要求:无

◆ InsertionPointOption()

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

获取图像插入点类型
创建于NX9.0.0.

许可要求: 无

◆ LockAspectRatio()

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

返回锁定宽高比
于NX9.0.0版本创建。

许可证要求:无

◆ ModelReferencePoint1()

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

返回模型参考点1。仅当 NXOpen::Display::ImageBaseBuilder::SizeOption 设为 NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling 时有效。 参考缩放通过定义图像参考点并将其与对应的模型参考点匹配来调整图像尺寸。
于NX9.0.0版本创建。

许可证要求:无

◆ OrientViewToImage()

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

定向并调整工作视图的观察方向,使其沿图像的反向法线方向
创建于NX9.0.0。

许可证要求:无

◆ OverallTranslucency()

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

获取整体透明度。取值范围为0到100。
于NX9.0.0版本创建。

许可证要求:无

◆ PixelColorTolerance()

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

获取透明像素颜色容差。取值范围为0到255。
于NX9.0.0版本创建。

许可证要求:无

◆ ReferenceDirectionOption()

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

获取图像对齐参考方向类型。 NXOpen::Display::ImageBaseBuilder::ReferenceDirectionHorizontal 表示旋转图像使其水平方向与用户指定的参考方向(如果已定义)对齐。
创建于NX9.0.0.

许可要求: 无

◆ ResetImageSize()

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

将图像重置为原始尺寸。
于NX9.0.0版本创建。

许可证要求:无

◆ RotateAngleOfReferenceVector()

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

返回图像从对齐参考方向的当前旋转角度
创建于NX9.0.0。

许可证要求:无

◆ RotateLeft()

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

将图像逆时针旋转90度。
创建于NX9.0.0。

许可证要求:无

◆ RotateRight()

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

将图像顺时针旋转90度。
创建于NX9.0.0。

许可证要求:无

◆ SetBackgroundColor()

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

设置图像的背景色(RGB值)。仅当 NXOpen::Display::ImageBaseBuilder::ColorMode 设置为 NXOpen::Display::ImageBaseBuilder::ImageColorModesGreyscale 时有效。 输入数组的长度应始终为3。双精度数组中的每个颜色值必须在0.0至1.0范围内。
于NX9.0.0中创建。

许可证要求:无

参数
backgroundColorRGB颜色数组

◆ SetBasePointChoice()

void NXOpen::Display::ImageBaseBuilder::SetBasePointChoice ( NXOpen::Display::ImageBaseBuilder::BasePointChoices basePoint)

设置图像参考基准点选项。若选择 NXOpen::Display::ImageBaseBuilder::BasePointChoicesUserDefined , 使用 NXOpen::Display::ImageBaseBuilder::SetUserBasePoint 设置一个点作为用户定义点。
创建于NX9.0.0.

许可要求: 无

参数
basePoint基准点

◆ SetColorMode()

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

设置图像的显示颜色模式。
于NX9.0.0版本创建。

许可证要求:无

参数
colorModecolormode

◆ SetCornerPoints()

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

设置图像角点。这些点必须定义一个矩形区域,并按逆时针顺序排列。
于NX9.0.0中创建。

许可证要求:无

参数
point1图像的第一个角点
point2图像的第二个角点
point3图像的第三个角点
point4图像的第四个角点

◆ SetForegroundColor()

void NXOpen::Display::ImageBaseBuilder::SetForegroundColor ( const std::vector< double > & foregroundColor)

设置图像的前景色(RGB值)。仅当 NXOpen::Display::ImageBaseBuilder::ColorMode 设置为 NXOpen::Display::ImageBaseBuilder::ImageColorModesGreyscale 时有效。 输入数组的长度应始终为3。双精度数组中的每个颜色值必须在0.0至1.0范围内。
于NX9.0.0中创建。

许可证要求:无

参数
foregroundColorRGB颜色数组

◆ SetImageFile() [1/2]

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

设置图像文件
创建于NX9.0.0。

许可证要求:无

参数
filename文件名

◆ SetImageFile() [2/2]

void NXOpen::Display::ImageBaseBuilder::SetImageFile ( const NXString & filename)

设置图像文件
创建于NX9.0.0。

许可证要求:无

参数
filename文件名

◆ SetImageFromPart() [1/2]

void NXOpen::Display::ImageBaseBuilder::SetImageFromPart ( const char * imageName)

将当前存储在部件中的NXOpen::Display::ImageData 对象设置为构建器使用的图像。
创建于NX9.0.0。

许可证要求:无

参数
imageNameNXOpen::Display::ImageData 对象的名称

◆ SetImageFromPart() [2/2]

void NXOpen::Display::ImageBaseBuilder::SetImageFromPart ( const NXString & imageName)

将当前存储在部件中的NXOpen::Display::ImageData 对象设置为构建器使用的图像。
创建于NX9.0.0。

许可证要求:无

参数
imageNameNXOpen::Display::ImageData 对象的名称

◆ SetImageReferencePoint1()

void NXOpen::Display::ImageBaseBuilder::SetImageReferencePoint1 ( NXOpen::Point * imageReferencePoint1)

设置图像参考点1。仅当 NXOpen::Display::ImageBaseBuilder::SizeOption 设为 NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling 时有效。 参考缩放通过定义图像参考点并将其与对应的模型参考点匹配来调整图像尺寸。
于NX9.0.0版本创建。

许可证要求:无

参数
imageReferencePoint1图像参考点1

◆ SetImageReferencePoint2()

void NXOpen::Display::ImageBaseBuilder::SetImageReferencePoint2 ( NXOpen::Point * imageReferencePoint2)

设置图像参考点2。仅当 NXOpen::Display::ImageBaseBuilder::SizeOption 设为 NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling 时有效。 参考缩放通过定义图像参考点并将其与对应的模型参考点匹配来调整图像尺寸。
于NX9.0.0版本创建。

许可证要求:无

参数
imageReferencePoint2图像参考点2

◆ SetImageReferencePoint3()

void NXOpen::Display::ImageBaseBuilder::SetImageReferencePoint3 ( NXOpen::Point * imageReferencePoint3)

设置图像参考点3。仅当 NXOpen::Display::ImageBaseBuilder::SizeOption 设置为 NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScalingNXOpen::Display::ImageBaseBuilder::LockAspectRatio 为 False 时有效。 参考缩放通过定义图像参考点并将其与对应的模型参考点匹配来调整图像大小。
创建于 NX9.0.0。

许可证要求:无

参数
imageReferencePoint3imagereferencepoint3

◆ SetInsertionPointLocation()

void NXOpen::Display::ImageBaseBuilder::SetInsertionPointLocation ( const NXOpen::Point3d & insertPoint)

设置图像的插入点。
于NX1847.0.0版本创建。

许可证要求:无

参数
insertPointinsertpoint

◆ SetInsertionPointOption()

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

设置图像插入点类型
创建于NX9.0.0.

许可要求: 无

参数
insertPoint插入点

◆ SetLockAspectRatio()

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

设置锁定宽高比
于NX9.0.0版本创建。

许可证要求:无

参数
lockAspectRatio锁定宽高比

◆ SetModelReferencePoint1()

void NXOpen::Display::ImageBaseBuilder::SetModelReferencePoint1 ( NXOpen::Point * modelReferencePoint1)

设置模型参考点1。仅当 NXOpen::Display::ImageBaseBuilder::SizeOption 设为 NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling 时有效。 参考缩放通过定义图像参考点并将其与对应的模型参考点匹配来调整图像尺寸。
于NX9.0.0版本创建。

许可证要求:无

参数
modelReferencePoint1模型参考点1

◆ SetModelReferencePoint2()

void NXOpen::Display::ImageBaseBuilder::SetModelReferencePoint2 ( NXOpen::Point * modelReferencePoint2)

设置模型参考点2。仅当 NXOpen::Display::ImageBaseBuilder::SizeOption 设置为 NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScaling 时有效。 参考缩放通过定义图像参考点并将其与对应的模型参考点匹配来调整图像大小。
创建于 NX9.0.0。

许可证要求:无

参数
modelReferencePoint2modelreferencepoint2

◆ SetModelReferencePoint3()

void NXOpen::Display::ImageBaseBuilder::SetModelReferencePoint3 ( NXOpen::Point * modelReferencePoint3)

设置模型参考点3。仅当 NXOpen::Display::ImageBaseBuilder::SizeOption 设置为 NXOpen::Display::ImageBaseBuilder::SizeOptionsReferenceScalingNXOpen::Display::ImageBaseBuilder::LockAspectRatio 为 False 时有效。 参考缩放通过定义图像参考点并将其与对应的模型参考点匹配来调整图像大小。
创建于 NX9.0.0。

许可证要求:无

参数
modelReferencePoint3modelreferencepoint3

◆ SetOverallTranslucency()

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

设置整体透明度。取值范围为0到100。
于NX9.0.0版本创建。

许可证要求:无

参数
overallTranslucencyoveralltranslucency

◆ SetPixelColorTolerance()

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

设置透明像素颜色容差。取值范围为0到255。
于NX9.0.0版本创建。

许可证要求:无

参数
colorTolerencecolortolerence

◆ SetReferenceDirectionOption()

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

设置图像对齐参考方向类型。 NXOpen::Display::ImageBaseBuilder::ReferenceDirectionHorizontal 表示旋转图像使其水平方向与用户指定的参考方向(如果已定义)对齐。
创建于NX9.0.0.

许可要求: 无

参数
referenceDirection参考方向

◆ SetSizeOption()

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

设置尺寸选项
于NX9.0.0版本创建。

许可证要求:无

参数
sizeOption尺寸选项

◆ SetTransparencyColorOption()

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

设置透明色选项
于NX9.0.0中创建。

许可证要求:无

参数
transparencyColorOption透明色选项

◆ SetTransparentPixelColor()

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

设置图像的透明色(RGB值)。仅当 NXOpen::Display::ImageBaseBuilder::TransparencyColorOption 设置为 NXOpen::Display::ImageBaseBuilder::TransparencyColorFromPixelColor 时有效。 输入数组的长度应始终为3。双精度数组中的每个颜色值必须在0.0至1.0范围内。
于NX9.0.0中创建。

许可证要求:无

参数
transparencyColorRGB颜色数组

◆ SetUserBasePoint()

void NXOpen::Display::ImageBaseBuilder::SetUserBasePoint ( NXOpen::Point * basePoint)

设置用户定义的基准点。仅当 NXOpen::Display::ImageBaseBuilder::BasePointChoice 设置为 NXOpen::Display::ImageBaseBuilder::BasePointChoicesUserDefined 时有效。
创建于NX9.0.0.

许可要求: 无

参数
basePoint基准点

◆ SetUserInsertionPoint()

void NXOpen::Display::ImageBaseBuilder::SetUserInsertionPoint ( NXOpen::Point * insertPoint)

设置用户定义的插入点
创建于NX9.0.0.

许可要求: 无

参数
insertPoint插入点

◆ SetUserReferenceDirection()

void NXOpen::Display::ImageBaseBuilder::SetUserReferenceDirection ( NXOpen::Direction * userDirection)

设置用户定义的参考方向矢量。垂直于图像平面的方向无效。
创建于NX9.0.0。

许可证要求:无

参数
userDirection用户方向

◆ SizeOption()

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

返回尺寸选项
于NX9.0.0版本创建。

许可证要求:无

◆ TransparencyColorOption()

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

获取透明色选项
于NX9.0.0中创建。

许可证要求:无

◆ UserBasePoint()

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

获取用户定义的基准点。仅当 NXOpen::Display::ImageBaseBuilder::BasePointChoice 设置为 NXOpen::Display::ImageBaseBuilder::BasePointChoicesUserDefined 时有效。
创建于NX9.0.0.

许可要求: 无

◆ UserInsertionPoint()

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

获取用户定义的插入点
创建于NX9.0.0.

许可要求: 无

◆ UserReferenceDirection()

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

获取用户定义的参考方向矢量。垂直于图像平面的方向无效。
创建于NX9.0.0.

许可要求: 无