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

外观纹理编辑器 更多...

#include <Appearance_AppearanceEditTexture.hxx>

类 NXOpen::Appearance::AppearanceEditTexture 继承关系图:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public 类型

enum  AnchorTypes {
  AnchorTypesTopLeft , AnchorTypesCenter , AnchorTypesBottomLeft , AnchorTypesTopMiddle ,
  AnchorTypesTopRight , AnchorTypesLeftMiddle , AnchorTypesRightMiddle , AnchorTypesBottomMiddle ,
  AnchorTypesBottomRight
}
enum  DecalProjectionsType { DecalProjectionsTypePlanar , DecalProjectionsTypeCylindrical , DecalProjectionsTypeSpherical , DecalProjectionsTypeUv }
enum  MaterialProjectionsType {
  MaterialProjectionsTypeUv , MaterialProjectionsTypePlanar , MaterialProjectionsTypeBox , MaterialProjectionsTypeSpherical ,
  MaterialProjectionsTypeCylindrical
}
enum  Scaling { ScalingToFace , ScalingToImageSize , ScalingToUniformScale , ScalingToNonUniformScale }

Public 成员函数

NXOpen::Appearance::AppearanceEditTexture::AnchorTypes AnchorType ()
double AspectRatio ()
int MappingProjection ()
double Scale ()
void SetAnchorType (NXOpen::Appearance::AppearanceEditTexture::AnchorTypes anchorType)
void SetAspectRatio (double aspectRatio)
void SetMappingProjection (int mappingProjection)
void SetScale (double scale)
void SetStudioMaterialName (const char *studioMaterialName)
void SetStudioMaterialName (const NXString &studioMaterialName)
void SetTextureNormalVector (NXOpen::Direction *textureNormalVector)
void SetTextureOrigin (NXOpen::Point *textureOrigin)
void SetTextureUpVector (NXOpen::Direction *textureUpVector)
NXString StudioMaterialName ()
NXOpen::DirectionTextureNormalVector ()
NXOpen::PointTextureOrigin ()
NXOpen::DirectionTextureUpVector ()
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 _AppearanceEditTextureBuilder

详细描述

外观纹理编辑器

表示一个 NXOpen::Appearance::AppearanceEditTexture 用于操作外观指示符的外观材质纹理空间的工具。
要创建此类的新实例,请使用 NXOpen::Appearance::AppearanceManager::CreateAppearanceEditTextureBuilder

创建于 NX1926.0.0.

成员枚举类型说明

◆ AnchorTypes

锚点类型

枚举值
AnchorTypesTopLeft 

左上

AnchorTypesCenter 

中心

AnchorTypesBottomLeft 

左下

AnchorTypesTopMiddle 

上中

AnchorTypesTopRight 

右上

AnchorTypesLeftMiddle 

左中

AnchorTypesRightMiddle 

右中

AnchorTypesBottomMiddle 

下中

AnchorTypesBottomRight 

右下

◆ DecalProjectionsType

贴花映射投影类型

枚举值
DecalProjectionsTypePlanar 

planar

DecalProjectionsTypeCylindrical 

cylindrical

DecalProjectionsTypeSpherical 

spherical

DecalProjectionsTypeUv 

uv

◆ MaterialProjectionsType

基础材质映射投影类型

枚举值
MaterialProjectionsTypeUv 

uv

MaterialProjectionsTypePlanar 

planar

MaterialProjectionsTypeBox 

box

MaterialProjectionsTypeSpherical 

spherical

MaterialProjectionsTypeCylindrical 

cylindrical

◆ Scaling

缩放类型

枚举值
ScalingToFace 

适配到面

ScalingToImageSize 

适配到图像尺寸

ScalingToUniformScale 

均匀缩放

ScalingToNonUniformScale 

非均匀缩放

成员函数说明

◆ AnchorType()

NXOpen::Appearance::AppearanceEditTexture::AnchorTypes NXOpen::Appearance::AppearanceEditTexture::AnchorType ( )

获取锚点类型
创建于NX1926.0.0。

许可要求:appearance_mgmt("原生模式的外观管理作者")或 appearance_mgmt_mgd("托管模式的外观管理作者")

◆ AspectRatio()

double NXOpen::Appearance::AppearanceEditTexture::AspectRatio ( )

获取贴花纵横比
创建于NX1926.0.0。

许可要求:appearance_mgmt("原生模式的外观管理作者")或 appearance_mgmt_mgd("托管模式的外观管理作者")

◆ MappingProjection()

int NXOpen::Appearance::AppearanceEditTexture::MappingProjection ( )

获取映射投影
创建于NX1926.0.0。

许可要求:appearance_mgmt("原生模式的外观管理作者")或 appearance_mgmt_mgd("托管模式的外观管理作者")

◆ Scale()

double NXOpen::Appearance::AppearanceEditTexture::Scale ( )

获取贴花比例
创建于NX1926.0.0。

许可要求:appearance_mgmt("原生模式的外观管理作者")或 appearance_mgmt_mgd("托管模式的外观管理作者")

◆ SetAnchorType()

void NXOpen::Appearance::AppearanceEditTexture::SetAnchorType ( NXOpen::Appearance::AppearanceEditTexture::AnchorTypes anchorType)

设置锚点类型
创建于NX1926.0.0。

许可要求:appearance_mgmt("原生模式的外观管理作者")或 appearance_mgmt_mgd("托管模式的外观管理作者")

参数
anchorTypeanchortype

◆ SetAspectRatio()

void NXOpen::Appearance::AppearanceEditTexture::SetAspectRatio ( double aspectRatio)

设置贴花纵横比
创建于NX1926.0.0。

许可要求:appearance_mgmt("原生模式的外观管理作者")或 appearance_mgmt_mgd("托管模式的外观管理作者")

参数
aspectRatioaspect ratio

◆ SetMappingProjection()

void NXOpen::Appearance::AppearanceEditTexture::SetMappingProjection ( int mappingProjection)

设置映射投影
创建于NX1926.0.0。

许可要求:appearance_mgmt("原生模式的外观管理作者")或 appearance_mgmt_mgd("托管模式的外观管理作者")

参数
mappingProjectionmappingprojection

◆ SetScale()

void NXOpen::Appearance::AppearanceEditTexture::SetScale ( double scale)

设置贴花比例
创建于NX1926.0.0.

许可要求:appearance_mgmt ("原生模式的外观管理作者") 或 appearance_mgmt_mgd ("托管模式的外观管理作者")

参数
scalescale

◆ SetStudioMaterialName() [1/2]

void NXOpen::Appearance::AppearanceEditTexture::SetStudioMaterialName ( const char * studioMaterialName)

设置Studio材质名称
创建于NX1926.0.0。

许可要求:appearance_mgmt("原生模式的外观管理作者")或 appearance_mgmt_mgd("托管模式的外观管理作者")

参数
studioMaterialNamestudiomaterialname

◆ SetStudioMaterialName() [2/2]

void NXOpen::Appearance::AppearanceEditTexture::SetStudioMaterialName ( const NXString & studioMaterialName)

设置Studio材质名称
创建于NX1926.0.0。

许可要求:appearance_mgmt("原生模式的外观管理作者")或 appearance_mgmt_mgd("托管模式的外观管理作者")

参数
studioMaterialNamestudiomaterialname

◆ SetTextureNormalVector()

void NXOpen::Appearance::AppearanceEditTexture::SetTextureNormalVector ( NXOpen::Direction * textureNormalVector)

设置纹理法向矢量
创建于NX1926.0.0。

许可要求:appearance_mgmt("原生模式的外观管理作者")或 appearance_mgmt_mgd("托管模式的外观管理作者")

参数
textureNormalVectortexturenormalvector

◆ SetTextureOrigin()

void NXOpen::Appearance::AppearanceEditTexture::SetTextureOrigin ( NXOpen::Point * textureOrigin)

设置纹理原点
创建于NX1926.0.0。

许可要求:appearance_mgmt("原生模式的外观管理作者")或 appearance_mgmt_mgd("托管模式的外观管理作者")

参数
textureOrigintextureorigin

◆ SetTextureUpVector()

void NXOpen::Appearance::AppearanceEditTexture::SetTextureUpVector ( NXOpen::Direction * textureUpVector)

设置纹理向上矢量
创建于NX1926.0.0。

许可要求:appearance_mgmt("原生模式的外观管理作者")或 appearance_mgmt_mgd("托管模式的外观管理作者")

参数
textureUpVectortextureupvector

◆ StudioMaterialName()

NXString NXOpen::Appearance::AppearanceEditTexture::StudioMaterialName ( )

获取Studio材质名称
创建于NX1926.0.0。

许可要求:appearance_mgmt("原生模式的外观管理作者")或 appearance_mgmt_mgd("托管模式的外观管理作者")

◆ TextureNormalVector()

NXOpen::Direction * NXOpen::Appearance::AppearanceEditTexture::TextureNormalVector ( )

获取纹理法向矢量
创建于NX1926.0.0。

许可要求:appearance_mgmt("原生模式的外观管理作者")或 appearance_mgmt_mgd("托管模式的外观管理作者")

◆ TextureOrigin()

NXOpen::Point * NXOpen::Appearance::AppearanceEditTexture::TextureOrigin ( )

获取纹理原点
创建于NX1926.0.0。

许可要求:appearance_mgmt("原生模式的外观管理作者")或 appearance_mgmt_mgd("托管模式的外观管理作者")

◆ TextureUpVector()

NXOpen::Direction * NXOpen::Appearance::AppearanceEditTexture::TextureUpVector ( )

获取纹理向上矢量
创建于NX1926.0.0。

许可要求:appearance_mgmt("原生模式的外观管理作者")或 appearance_mgmt_mgd("托管模式的外观管理作者")