AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 所有成员列表
AnyCAD::API::ImageNode类 参考

The Image Node -since R2014UR1. 更多...

#include <APIImageNode.h>

类 AnyCAD::API::ImageNode 继承关系图:
AnyCAD::API::CustomizedSceneNode AnyCAD::API::SceneNode AnyCAD::API::Object

Public 成员函数

void SetImage (const Path &fileName)
 
Path GetImage () const
 
void SetWidth (Real _Width)
 
Real GetWidth () const
 
void SetHeight (Real _Height)
 
Real GetHeight () const
 
- Public 成员函数 继承自 AnyCAD::API::SceneNode
ElementId GetId () const
 
void SetId (const ElementId &nId)
 
String GetName () const
 
void SetName (const String &name)
 
void SetVisible (bool bVisible)
 
bool IsVisible () const
 
bool IsPickable () const
 
void SetPickable (bool enabled)
 
bool IsFilterable () const
 
void SetFilterable (bool enabled)
 
bool IsFixedSize () const
 
void SetFixedSize (bool enabled)
 
void SetBBox (const AABox &bbox)
 
AABox GetBBox () const
 
void SetTransform (const Matrix4 &trf)
 
Matrix4 GetTransform () const
 
void SetPointStyle (const PointStyle &pointStyle)
 
PointStyle GetPointStyle () const
 
void SetLineStyle (const LineStyle &lineStyle)
 
LineStyle GetLineStyle () const
 
void SetFaceStyle (const FaceStyle &faceStyle)
 
FaceStyle GetFaceStyle () const
 
void SetRenderOrder (int order)
 
int GetRenderOrder () const
 
virtual void ResetShapeFilter (int nFilter)
 
- Public 成员函数 继承自 AnyCAD::API::Object
String GetObjectClassId () const
 
StringList ListParentClassIds () const
 

详细描述

The Image Node -since R2014UR1.

TODO:

成员函数说明

Real AnyCAD::API::ImageNode::GetHeight ( ) const

Get the height.

返回
the height.
Path AnyCAD::API::ImageNode::GetImage ( ) const

Get Image file name.

返回
the file name.
Real AnyCAD::API::ImageNode::GetWidth ( ) const

Get the width.

返回
the width.
void AnyCAD::API::ImageNode::SetHeight ( Real  _Height)

Set height.

参数
_Heightthe height of the image
void AnyCAD::API::ImageNode::SetImage ( const Path fileName)

Set Image file.

参数
fileNamethe full path name
void AnyCAD::API::ImageNode::SetWidth ( Real  _Width)

Set width.

参数
_Widththe width of the image

该类的文档由以下文件生成: