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

光栅图像构建器 更多...

#include <Annotations_RasterImageBuilder.hxx>

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

Public 成员函数

NXOpen::ViewInsertPointView ()
void SetInsertPointView (NXOpen::View *insertPointView)
Public 成员函数 继承自 NXOpen::Display::ImageBaseBuilder
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 _RasterImageBuilderBuilder

额外继承的成员函数

Public 类型 继承自 NXOpen::Display::ImageBaseBuilder
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 }

详细描述

光栅图像构建器

表示光栅图像构建器类
要创建此类的新实例,请使用 NXOpen::Annotations::DraftingImageCollection::CreateRasterImageBuilder

创建于 NX1847.0.0.

成员函数说明

◆ InsertPointView()

NXOpen::View * NXOpen::Annotations::RasterImageBuilder::InsertPointView ( )

获取 用户定义的插入点视图
创建于 NX1847.0.0.

许可要求:无

◆ SetInsertPointView()

void NXOpen::Annotations::RasterImageBuilder::SetInsertPointView ( NXOpen::View * insertPointView)

设置 用户定义的插入点视图
创建于 NX1847.0.0.

许可要求:drafting ("DRAFTING") 或 nx_2d_edit (" NX 2D Edit")

参数
insertPointViewinsertpointview