NX Open C++ Reference Guide
|
Represents a Raster Image feature
Not supported by KF at this time
Created in NX4.0.0.
More...
Public Types | |
enum | MaxTextureSize { MaxTextureSizeN512, MaxTextureSizeN1024, MaxTextureSizeN2048, MaxTextureSizeN4096, MaxTextureSizeN8192, MaxTextureSizeN16384, MaxTextureSizeN32768 } |
Specifies the maximum number of pixels to allow for the width or height of a raster image. More... | |
Public Member Functions | |
double | Height () |
Returns the height of the image, given in part units (mm or in) Created in NX4.0.0. | |
NXString | ImageFileName () |
Returns the name of the image file used for the raster image. | |
double | Length () |
Returns the length of the image, given in part units (mm or in). | |
NXOpen::Matrix3x3 | Matrix () |
Returns the rotation matrix of the raster image Created in NX4.0.0. | |
NXOpen::Features::RasterImage::MaxTextureSize | MaximumTextureSize () |
Returns the enum value for the maximum size of the image, in pixels Created in NX4.0.0. | |
NXOpen::Point3d | Origin () |
Returns the origin of the raster image Created in NX4.0.0. | |
double | Translucency () |
Returns the translucency of the raster image, in range [0.0, 1.0] Created in NX4.0.0. | |
void | Update (const NXOpen::Point3d &origin, const NXOpen::Matrix3x3 &matrix, double length, double height, const NXString &imageFileName, double translucency, NXOpen::Features::RasterImage::MaxTextureSize maximumTextureSize) |
Updates a raster image feature Created in NX4.0.0. |
Represents a Raster Image feature
Not supported by KF at this time
Created in NX4.0.0.
Specifies the maximum number of pixels to allow for the width or height of a raster image.
If a size is requested which is larger than what the hardware can supported, the largest supported size will be used. All hardware can support at least 512x512 pixels.
double NXOpen::Features::RasterImage::Height | ( | ) |
Returns the height of the image, given in part units (mm or in)
Created in NX4.0.0.
License requirements : None
Returns the name of the image file used for the raster image.
Created in NX4.0.0.
License requirements : None
double NXOpen::Features::RasterImage::Length | ( | ) |
Returns the length of the image, given in part units (mm or in).
This is sometimes considered as the width of the image.
Created in NX4.0.0.
License requirements : None
Returns the rotation matrix of the raster image
Created in NX4.0.0.
License requirements : None
Returns the enum value for the maximum size of the image, in pixels
Created in NX4.0.0.
License requirements : None
Returns the origin of the raster image
Created in NX4.0.0.
License requirements : None
double NXOpen::Features::RasterImage::Translucency | ( | ) |
Returns the translucency of the raster image, in range [0.0, 1.0]
Created in NX4.0.0.
License requirements : None
void NXOpen::Features::RasterImage::Update | ( | const NXOpen::Point3d & | origin, |
const NXOpen::Matrix3x3 & | matrix, | ||
double | length, | ||
double | height, | ||
const NXString & | imageFileName, | ||
double | translucency, | ||
NXOpen::Features::RasterImage::MaxTextureSize | maximumTextureSize | ||
) |
Updates a raster image feature
Created in NX4.0.0.
License requirements : studio_visualize ("STUDIO VISUALIZE")
origin | The origin for the raster image |
matrix | The rotation matrix for the raster image |
length | Length of the image, given in part units (mm or in) |
height | Height of the image, give in part units (mm or in) |
imageFileName | Name of the image file to use. For now, it must be a .tif file NOTE: The full Unicode character set is not supported for this parameter. |
translucency | 0.0 for no translucency, 1.0 for fully tranparent |
maximumTextureSize | maximum texture size |