NX Open C++ Reference Guide
|
Represents a Display::DecalBuilder
This class is restricted to being called from a program running during an Interactive NX session.
More...
Public Types | |
enum | Anchor { AnchorTopLeft, AnchorCenter, AnchorBottomLeft, AnchorTopMiddle, AnchorTopRight, AnchorLeftMiddle, AnchorRightMiddle, AnchorBottomMiddle, AnchorBottomRight } |
image anchor More... | |
enum | DecalIllumination { DecalIlluminationUseUnderlyingMaterial, DecalIlluminationUseDecalMaterial } |
decal illumination type More... | |
enum | ImageSize { ImageSizeTrueSize, ImageSizeOneTwentyEight, ImageSizeTwoFiftySix, ImageSizeFiveTwelve, ImageSizeOneOTwoFour, ImageSizeTwoOFourEight, ImageSizeFourONineSix } |
image size type More... | |
enum | Scaling { ScalingToFace, ScalingToImageSize, ScalingToUniformScale, ScalingToNonUniformScale } |
decal scaling type More... | |
Public Member Functions | |
NXOpen::Display::DecalBuilder::Anchor | AnchorType () |
Returns the anchor type Created in NX6.0.0. | |
double | AspectRatio () |
Returns the decal image aspect ratio Created in NX6.0.0. | |
NXString | DecalName () |
Returns the decal name Created in NX6.0.0. | |
double | DecalReflectivity () |
Returns the decal reflectivity Created in NX6.0.0. | |
bool | EnableEngraving () |
Returns the engraving enable toggle Created in NX6.0.0. | |
double | EngravingAmplitude () |
Returns the decal engraving amplitude Created in NX6.0.0. | |
double | EngravingSoftness () |
Returns the engraving softness Created in NX6.0.0. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
std::vector< double > | GetTransparencyColor () |
Returns the transparency color. | |
double | HeightScale () |
Returns the decal height scale Created in NX6.0.0. | |
NXOpen::Display::DecalBuilder::DecalIllumination | IlluminationType () |
Returns the illumination type Created in NX6.0.0. | |
NXOpen::Display::Image * | Image () |
Returns the image builder Created in NX6.0.0. | |
NXString | ImageFilename () |
Returns the decal image file name Created in NX6.0.0. | |
NXOpen::Display::DecalBuilder::ImageSize | ImageSizeType () |
Returns the image size type Created in NX6.0.0. | |
NXOpen::Direction * | NormalVector () |
Returns the decal normal vector Created in NX6.0.0. | |
NXOpen::Vector3d | NormalVectorValue () |
Returns the decal normal vector value Created in NX6.0.0. | |
NXOpen::SelectNXObjectList * | Object () |
Returns the object(face, body and facetted body) to apply the decal to Created in NX6.0.0. | |
NXOpen::Point * | Origin () |
Returns the origin Created in NX6.0.0. | |
NXOpen::Point3d | OriginPosition () |
Returns the origin_pos Created in NX6.0.0. | |
double | Rotation () |
Returns the decal rotation Created in NX6.0.0. | |
double | Scale () |
Returns the decal scale Created in NX6.0.0. | |
NXOpen::Display::DecalBuilder::Scaling | ScalingType () |
Returns the scaling type Created in NX6.0.0. | |
void | SetAnchorType (NXOpen::Display::DecalBuilder::Anchor anchorType) |
Sets the anchor type Created in NX6.0.0. | |
void | SetAspectRatio (double aspectRatio) |
Sets the decal image aspect ratio Created in NX6.0.0. | |
void | SetDecalName (const NXString &decalName) |
Sets the decal name Created in NX6.0.0. | |
void | SetDecalName (const char *decalName) |
Sets the decal name Created in NX6.0.0. | |
void | SetDecalReflectivity (double decalReflectivity) |
Sets the decal reflectivity Created in NX6.0.0. | |
void | SetEnableEngraving (bool enableEngraving) |
Sets the engraving enable toggle Created in NX6.0.0. | |
void | SetEngravingAmplitude (double engravingAmplitude) |
Sets the decal engraving amplitude Created in NX6.0.0. | |
void | SetEngravingSoftness (double engravingSoftness) |
Sets the engraving softness Created in NX6.0.0. | |
void | SetHeightScale (double heightScale) |
Sets the decal height scale Created in NX6.0.0. | |
void | SetIlluminationType (NXOpen::Display::DecalBuilder::DecalIllumination illuminationType) |
Sets the illumination type Created in NX6.0.0. | |
void | SetImage (NXOpen::Display::Image *imageBuilder) |
Sets the image builder Created in NX6.0.0. | |
void | SetImageFilename (const NXString &imageFileName) |
Sets the decal image file name Created in NX6.0.0. | |
void | SetImageFilename (const char *imageFileName) |
Sets the decal image file name Created in NX6.0.0. | |
void | SetImageSizeType (NXOpen::Display::DecalBuilder::ImageSize imageSizeType) |
Sets the image size type Created in NX6.0.0. | |
void | SetNormalVector (NXOpen::Direction *normalVector) |
Sets the decal normal vector Created in NX6.0.0. | |
void | SetNormalVectorValue (const NXOpen::Vector3d &normalVectorValue) |
Sets the decal normal vector value Created in NX6.0.0. | |
void | SetOrigin (NXOpen::Point *origin) |
Sets the origin Created in NX6.0.0. | |
void | SetOriginPosition (const NXOpen::Point3d &originPosition) |
Sets the origin_pos Created in NX6.0.0. | |
void | SetRotation (double rotation) |
Sets the decal rotation Created in NX6.0.0. | |
void | SetScale (double scale) |
Sets the decal scale Created in NX6.0.0. | |
void | SetScalingType (NXOpen::Display::DecalBuilder::Scaling scalingType) |
Sets the scaling type Created in NX6.0.0. | |
void | SetStencilPreview (bool stencilPreview) |
Sets the stencil preview toggle Created in NX6.0.0. | |
void | SetTransparencyColor (const std::vector< double > &transparencyColor) |
Sets the transparency color Created in NX6.0.0. | |
void | SetTransparencyTolerance (int transparencyTolerance) |
Sets the transparency tolerance Created in NX6.0.0. | |
void | SetUpVector (NXOpen::Direction *upVector) |
Sets the decal up vector Created in NX6.0.0. | |
void | SetUpVectorValue (const NXOpen::Vector3d &upVectorValue) |
Sets the decal up vector value Created in NX6.0.0. | |
void | SetWidthScale (double widthScale) |
Sets the decal width scale Created in NX6.0.0. | |
bool | StencilPreview () |
Returns the stencil preview toggle Created in NX6.0.0. | |
int | TransparencyTolerance () |
Returns the transparency tolerance Created in NX6.0.0. | |
NXOpen::Direction * | UpVector () |
Returns the decal up vector Created in NX6.0.0. | |
NXOpen::Vector3d | UpVectorValue () |
Returns the decal up vector value Created in NX6.0.0. | |
double | WidthScale () |
Returns the decal width scale Created in NX6.0.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a Display::DecalBuilder
This class is restricted to being called from a program running during an Interactive NX session.
If run from a non-interactive session it will return NULL.
Created in NX6.0.0.
image anchor
image size type
NXOpen::Display::DecalBuilder::Anchor NXOpen::Display::DecalBuilder::AnchorType | ( | ) |
Returns the anchor type
Created in NX6.0.0.
License requirements : None
double NXOpen::Display::DecalBuilder::AspectRatio | ( | ) |
Returns the decal image aspect ratio
Created in NX6.0.0.
License requirements : None
NXString NXOpen::Display::DecalBuilder::DecalName | ( | ) |
Returns the decal name
Created in NX6.0.0.
License requirements : None
double NXOpen::Display::DecalBuilder::DecalReflectivity | ( | ) |
Returns the decal reflectivity
Created in NX6.0.0.
License requirements : None
bool NXOpen::Display::DecalBuilder::EnableEngraving | ( | ) |
Returns the engraving enable toggle
Created in NX6.0.0.
License requirements : None
double NXOpen::Display::DecalBuilder::EngravingAmplitude | ( | ) |
Returns the decal engraving amplitude
Created in NX6.0.0.
License requirements : None
double NXOpen::Display::DecalBuilder::EngravingSoftness | ( | ) |
Returns the engraving softness
Created in NX6.0.0.
License requirements : None
NXOpen::NXObject* NXOpen::Display::DecalBuilder::GetObject | ( | ) |
Returns the object currently being edited by this builder.
If a new object is being created, and the builder has not yet been commited, returns NULL.
std::vector<double> NXOpen::Display::DecalBuilder::GetTransparencyColor | ( | ) |
Returns the transparency color.
double NXOpen::Display::DecalBuilder::HeightScale | ( | ) |
Returns the decal height scale
Created in NX6.0.0.
License requirements : None
NXOpen::Display::DecalBuilder::DecalIllumination NXOpen::Display::DecalBuilder::IlluminationType | ( | ) |
Returns the illumination type
Created in NX6.0.0.
License requirements : None
NXOpen::Display::Image* NXOpen::Display::DecalBuilder::Image | ( | ) |
Returns the image builder
Created in NX6.0.0.
License requirements : None
NXString NXOpen::Display::DecalBuilder::ImageFilename | ( | ) |
Returns the decal image file name
Created in NX6.0.0.
License requirements : None
NXOpen::Display::DecalBuilder::ImageSize NXOpen::Display::DecalBuilder::ImageSizeType | ( | ) |
Returns the image size type
Created in NX6.0.0.
License requirements : None
NXOpen::Direction* NXOpen::Display::DecalBuilder::NormalVector | ( | ) |
Returns the decal normal vector
Created in NX6.0.0.
License requirements : None
NXOpen::Vector3d NXOpen::Display::DecalBuilder::NormalVectorValue | ( | ) |
Returns the decal normal vector value
Created in NX6.0.0.
License requirements : None
NXOpen::SelectNXObjectList* NXOpen::Display::DecalBuilder::Object | ( | ) |
Returns the object(face, body and facetted body) to apply the decal to
Created in NX6.0.0.
License requirements : None
NXOpen::Point* NXOpen::Display::DecalBuilder::Origin | ( | ) |
Returns the origin
Created in NX6.0.0.
License requirements : None
NXOpen::Point3d NXOpen::Display::DecalBuilder::OriginPosition | ( | ) |
Returns the origin_pos
Created in NX6.0.0.
License requirements : None
double NXOpen::Display::DecalBuilder::Rotation | ( | ) |
Returns the decal rotation
Created in NX6.0.0.
License requirements : None
double NXOpen::Display::DecalBuilder::Scale | ( | ) |
Returns the decal scale
Created in NX6.0.0.
License requirements : None
NXOpen::Display::DecalBuilder::Scaling NXOpen::Display::DecalBuilder::ScalingType | ( | ) |
Returns the scaling type
Created in NX6.0.0.
License requirements : None
void NXOpen::Display::DecalBuilder::SetAnchorType | ( | NXOpen::Display::DecalBuilder::Anchor | anchorType | ) |
Sets the anchor type
Created in NX6.0.0.
License requirements : None
anchorType | anchortype |
void NXOpen::Display::DecalBuilder::SetAspectRatio | ( | double | aspectRatio | ) |
Sets the decal image aspect ratio
Created in NX6.0.0.
License requirements : None
aspectRatio | aspectratio |
void NXOpen::Display::DecalBuilder::SetDecalName | ( | const NXString & | decalName | ) |
Sets the decal name
Created in NX6.0.0.
License requirements : None
decalName | decalname |
void NXOpen::Display::DecalBuilder::SetDecalName | ( | const char * | decalName | ) |
Sets the decal name
Created in NX6.0.0.
License requirements : None
decalName | decalname |
void NXOpen::Display::DecalBuilder::SetDecalReflectivity | ( | double | decalReflectivity | ) |
Sets the decal reflectivity
Created in NX6.0.0.
License requirements : None
decalReflectivity | decalreflectivity |
void NXOpen::Display::DecalBuilder::SetEnableEngraving | ( | bool | enableEngraving | ) |
Sets the engraving enable toggle
Created in NX6.0.0.
License requirements : None
enableEngraving | enableengraving |
void NXOpen::Display::DecalBuilder::SetEngravingAmplitude | ( | double | engravingAmplitude | ) |
Sets the decal engraving amplitude
Created in NX6.0.0.
License requirements : None
engravingAmplitude | engravingamplitude |
void NXOpen::Display::DecalBuilder::SetEngravingSoftness | ( | double | engravingSoftness | ) |
Sets the engraving softness
Created in NX6.0.0.
License requirements : None
engravingSoftness | engravingsoftness |
void NXOpen::Display::DecalBuilder::SetHeightScale | ( | double | heightScale | ) |
Sets the decal height scale
Created in NX6.0.0.
License requirements : None
heightScale | height scale |
void NXOpen::Display::DecalBuilder::SetIlluminationType | ( | NXOpen::Display::DecalBuilder::DecalIllumination | illuminationType | ) |
Sets the illumination type
Created in NX6.0.0.
License requirements : None
illuminationType | illuminationtype |
void NXOpen::Display::DecalBuilder::SetImage | ( | NXOpen::Display::Image * | imageBuilder | ) |
Sets the image builder
Created in NX6.0.0.
License requirements : None
imageBuilder | image builder |
void NXOpen::Display::DecalBuilder::SetImageFilename | ( | const NXString & | imageFileName | ) |
Sets the decal image file name
Created in NX6.0.0.
License requirements : None
imageFileName | image file name |
void NXOpen::Display::DecalBuilder::SetImageFilename | ( | const char * | imageFileName | ) |
Sets the decal image file name
Created in NX6.0.0.
License requirements : None
imageFileName | image file name |
void NXOpen::Display::DecalBuilder::SetImageSizeType | ( | NXOpen::Display::DecalBuilder::ImageSize | imageSizeType | ) |
Sets the image size type
Created in NX6.0.0.
License requirements : None
imageSizeType | imagesizetype |
void NXOpen::Display::DecalBuilder::SetNormalVector | ( | NXOpen::Direction * | normalVector | ) |
Sets the decal normal vector
Created in NX6.0.0.
License requirements : None
normalVector | normalvector |
void NXOpen::Display::DecalBuilder::SetNormalVectorValue | ( | const NXOpen::Vector3d & | normalVectorValue | ) |
Sets the decal normal vector value
Created in NX6.0.0.
License requirements : None
normalVectorValue | normalvectorvalue |
void NXOpen::Display::DecalBuilder::SetOrigin | ( | NXOpen::Point * | origin | ) |
Sets the origin
Created in NX6.0.0.
License requirements : None
origin | origin |
void NXOpen::Display::DecalBuilder::SetOriginPosition | ( | const NXOpen::Point3d & | originPosition | ) |
Sets the origin_pos
Created in NX6.0.0.
License requirements : None
originPosition | originposition |
void NXOpen::Display::DecalBuilder::SetRotation | ( | double | rotation | ) |
Sets the decal rotation
Created in NX6.0.0.
License requirements : None
rotation | rotation |
void NXOpen::Display::DecalBuilder::SetScale | ( | double | scale | ) |
Sets the decal scale
Created in NX6.0.0.
License requirements : None
scale | scale |
void NXOpen::Display::DecalBuilder::SetScalingType | ( | NXOpen::Display::DecalBuilder::Scaling | scalingType | ) |
Sets the scaling type
Created in NX6.0.0.
License requirements : None
scalingType | scalingtype |
void NXOpen::Display::DecalBuilder::SetStencilPreview | ( | bool | stencilPreview | ) |
Sets the stencil preview toggle
Created in NX6.0.0.
License requirements : None
stencilPreview | stencilpreview |
void NXOpen::Display::DecalBuilder::SetTransparencyColor | ( | const std::vector< double > & | transparencyColor | ) |
Sets the transparency color
Created in NX6.0.0.
License requirements : None
transparencyColor | transparencycolor |
void NXOpen::Display::DecalBuilder::SetTransparencyTolerance | ( | int | transparencyTolerance | ) |
Sets the transparency tolerance
Created in NX6.0.0.
License requirements : None
transparencyTolerance | transparencytolerance |
void NXOpen::Display::DecalBuilder::SetUpVector | ( | NXOpen::Direction * | upVector | ) |
Sets the decal up vector
Created in NX6.0.0.
License requirements : None
upVector | upvector |
void NXOpen::Display::DecalBuilder::SetUpVectorValue | ( | const NXOpen::Vector3d & | upVectorValue | ) |
Sets the decal up vector value
Created in NX6.0.0.
License requirements : None
upVectorValue | upvectorvalue |
void NXOpen::Display::DecalBuilder::SetWidthScale | ( | double | widthScale | ) |
Sets the decal width scale
Created in NX6.0.0.
License requirements : None
widthScale | width scale |
bool NXOpen::Display::DecalBuilder::StencilPreview | ( | ) |
Returns the stencil preview toggle
Created in NX6.0.0.
License requirements : None
int NXOpen::Display::DecalBuilder::TransparencyTolerance | ( | ) |
Returns the transparency tolerance
Created in NX6.0.0.
License requirements : None
NXOpen::Direction* NXOpen::Display::DecalBuilder::UpVector | ( | ) |
Returns the decal up vector
Created in NX6.0.0.
License requirements : None
NXOpen::Vector3d NXOpen::Display::DecalBuilder::UpVectorValue | ( | ) |
Returns the decal up vector value
Created in NX6.0.0.
License requirements : None
double NXOpen::Display::DecalBuilder::WidthScale | ( | ) |
Returns the decal width scale
Created in NX6.0.0.
License requirements : None