|
| GeomFTTextObject (const char *fontFilePath, Node *pParent=nullptr) |
| Special constructor for reading text font from the file. More...
|
|
| GeomFTTextObject (const unsigned char *pBufferBytes, size_t bufferSizeInBytes, Node *pParent=nullptr) |
| Default constructor. More...
|
|
virtual | ~GeomFTTextObject () |
| Destructor.
|
|
std::wstring | GetText () const |
| Returns text.
|
|
void | SetText (const std::wstring &text) |
| Sets text.
|
|
Color | GetColorText () const |
| Returns text color.
|
|
void | SetColorText (const Color &clrText) |
| Sets text color.
|
|
float | GetLineLength () const |
| Returns the maximum string length for formatted text. More...
|
|
void | SetLineLength (float lineLength) |
| The maximum string length for formatted text. More...
|
|
uint | GetFaceSize () const |
| Returns the current font size in points (1/72 inch). More...
|
|
bool | SetFaceSize (uint size, uint res=72) |
| Sets symbol size for the current font. More...
|
|
MbCube | GetFormattedBoundingBox (const wchar_t *string, int len=-1, MbCartPoint3D position=MbCartPoint3D()) const |
| Returns bounding box of formatted string. More...
|
|
MbCube | GetBoundingBox (const wchar_t *string, int len=-1, MbCartPoint3D position=MbCartPoint3D(), MbCartPoint3D spacing=MbCartPoint3D()) const |
| Returns string bounding box. More...
|
|
MbCube | GetBoxCharacter () |
| NOT TRANSLATED. More...
|
|
void | SetPosition (const MbCartPoint3D &val) |
| NOT TRANSLATED. More...
|
|
const MbCartPoint3D & | GetPosition () const |
| NOT TRANSLATED. More...
|
|
void | SetBoxLineSpacing (double v) |
| NOT TRANSLATED. More...
|
|
virtual const MbCube & | GetBoundingBox () const override |
| Returns bounding box.
|
|
bool | isEmpty () const |
| Checks if object is empty.
|
|
void | Clear () |
| Clears content and makes it empty.
|
|
| WireframeGeometry (Node *pParent=nullptr) |
| Constructor.
|
|
virtual | ~WireframeGeometry () |
| Destructor.
|
|
bool | IsValid () const |
| Checks if geometry is valid.
|
|
bool | HasMaterial () const |
| Checks if material is set.
|
|
Material * | GetHeadMaterial () const |
| Returns the first material from the table.
|
|
size_t | GetMaterialCount () const override |
| Returns material count from the table.
|
|
Material * | GetMaterialById (NodeKey id) const |
| Returns the pointer corresponding to the identifier.
|
|
std::set< Material * > | GetMaterialSet () const override |
| Returns material table.
|
|
std::list< NodeKey > | GetMaterialIds () const |
| Returns material identifier list.
|
|
virtual bool | HasMaterialById (const NodeKey &key) const override |
| Checks if the material with set identifier exists in the table.
|
|
const MbCube & | GetWireBoundingBox () const |
| Returns wireframe bounding box.
|
|
bool | IsBoundingBoxValid () const override |
| Checks if bounding box is valid.
|
|
bool | IsTransparent () const override |
| Checks if geometry is transparent.
|
|
bool | IsExistTransparentMaterials () const |
| Checks if transparent material exists in the table.
|
|
bool | IsColorEachVertex () const |
| Checks if color of each vertex is set.
|
|
void | SetColorEachVertex (bool bColorEachVertex) |
| Sets flag of setting color for each vertex.
|
|
bool | IsWireframe () const |
| Checks if geometry is wireframe.
|
|
virtual size_t | GetFaceCount (size_t indexLod=0) const override |
| Returns face count.
|
|
virtual size_t | GetVertexCount () const override |
| Returns vertex count.
|
|
float | GetLineWidth () const |
| Returns line width(functions are overloaded for convenience).
|
|
void | SetLineWidth (float lineWidth) |
| Sets line width(functions are overloaded for convenience).
|
|
float | GetSelectedLineWidth () const |
| Returns width of the selected line(functions are overloaded for convenience).
|
|
void | SetSelectedLineWidth (float lineWidth) |
| Sets width of the selected line(functions are overloaded for convenience).
|
|
Color | GetWireframeColor () const |
| Returns wireframe color(functions are overloaded for convenience).
|
|
void | SetWireframeColor (const Color &color) |
| Sets wireframe color(functions are overloaded for convenience).
|
|
virtual Pen | GetPen () const override |
| Get pen.
|
|
virtual void | SetPen (const Pen &pen) override |
| Set pen.
|
|
bool | IsWireframeEmpty () const |
| Checks if wireframe is empty.
|
|
std::vector< float > | GetWireFrameVertexPositions () const |
| Returns vertex positions.
|
|
int | GetPolylineCount () const |
| Returns polyline count.
|
|
uint | GetPolylineOffset (int index) const |
| Returns polyline offset with set index in the container.
|
|
int | GetPolylineSize (int index) const |
| Returns size of polyline with given index.
|
|
virtual bool | IsIgnorePixelCulling () const override |
| NO TRANSLATION.
|
|
virtual void | IgnorePixelCulling (bool value) |
| NO TRANSLATION.
|
|
virtual void | TransformVerticesByMatrix (const Matrix3DF &matrix) override |
| Transforms mesh vertices by the matrix.
|
|
virtual void | ReplaceMainMaterial (Material *) override |
| Replaces the main material.
|
|
void | AddMaterial (Material *pMaterial) |
| Adds material to the table.
|
|
virtual void | UpdateTransparentMaterialCount () override |
| Updates transparent material count after table operations.
|
|
virtual void | InvertNormals () override |
| Inverts direction of all vertex normals.
|
|
virtual void | SetLevelDetail (int value) override |
| \ ru Задать уровень детализации в диапазоне от 0 до 100. Sets LOD in the range from 0 to 100.
|
|
uint | AddPolygonGroup (const std::vector< float > &vector, uint id=0) |
| Adds vertex group and returns its identifier.
|
|
uint | AddPoligonQuadrangleGroup (const std::vector< float > &vector) |
| Adds vertex quadrangle grid group and returns its identifier.
|
|
void | SetUseGlobalIdentifier (int global) |
| Sets if the global identifier will be used.
|
|
virtual void | CopyVertexBufferToClientSide () |
| Copies vertex buffer into memory.
|
|
virtual void | ReleaseVertexBufferClientSide (bool update=false) |
| Creates vertex buffer.
|
|
virtual void | PickObjectsInsideRect (const MbRect &rect, const Matrix3DF &viewMatrix, const Matrix3DF &mx, Filter filter, bool bUnifying, HitList &hits) override |
| NO TRANSLATION.
|
|
virtual TranslucentValue | GetTranslucentValue () const override |
| Translucent value.
|
|
virtual void | DoRender (const RenderState &) override |
| Performs rendering.
|
|
virtual void | Render (RenderContext &) override |
| Performs rendering.
|
|
| Geometry (Node *pParent=nullptr) |
| Default constructor.
|
|
virtual | ~Geometry () |
| Destructor.
|
|
void | SetDoubleSidedLighting (bool value) |
| Set double side lighting.
|
|
bool | IsDoubleSidedLighting () const |
| Does geometry use double sided lighting.
|
|
void | SetVisible (bool value) |
| Set the visibility value to the geometry object.
|
|
bool | IsVisible () const |
| Check the visibility value.
|
|
virtual bool | IsAnnotation () const |
| NO TRANSLATION.
|
|
virtual float | GetVolume () |
| Returns geometry volume.
|
|
virtual void | UpdateGeometry () |
| Updates geometry by new data.
|
|
| Node (Node *pParent=nullptr) |
| Constructor with parent.
|
|
virtual | ~Node () |
| Destructor.
|
|
NodeKey | GetUniqueKey () const |
| Returns key identifing Node instance.
|
|
void | SetUniqueKey (const NodeKey &key) |
| Sets the unique key for the instance.
|
|
NodeKey | GetCustomKey () const |
| Returns custom key identifing Node instance.
|
|
void | SetCustomKey (const NodeKey &key) |
| Sets the custom unique key for the instance.
|
|
Node * | GetParentNode () const |
| Returns pointer to the parent object or nullptr if no parent.
|
|
bool | IsEnabled () const |
| Returns the Node enabled flag. By default, the flag is always on.
|
|
ObjectList< Node * > | GetChildNodes () const |
| Return an array of child nodes for this node.
|
|
void | SetParent (Node *pParent) |
| Sets parent object to the object.
|
|
bool | IsNotificationsBlocked () const |
| True if notifications are blocked, otherwise, False.
|
|
bool | SetBlockNotifications (bool block) |
| Sets blocking of notifications and returns the previous blocking value.
|
|
| Object (Object *pParent=nullptr) |
| Default constructor. More...
|
|
virtual | ~Object () |
| Destructor.
|
|
void | SetParent (Object *pParent) |
| NO TRANSLATION.
|
|
Mutex * | GetMutex () |
| Object mutex.
|
|
String | GetObjectName () const |
| Returns name.
|
|
void | SetObjectName (const String &name) |
| Sets name.
|
|
bool | IsControlType () const |
| TRANSLATION.
|
|
Object * | GetParent () const |
| NO TRANSLATION.
|
|
Variant | GetProperty (const String &name) const |
| NO TRANSLATION.
|
|
bool | IsSignalsBlocked () const |
| NO TRANSLATION.
|
|
bool | SetBlockSignals (bool bBlock) |
| NO TRANSLATION.
|
|
void | AddEventListener (Object *pObject) |
| NO TRANSLATION.
|
|
void | RemoveEventListener (Object *pObject) |
| NO TRANSLATION.
|
|
Object * | GetSender () const |
| NO TRANSLATION.
|
|
Thread * | GetThread () const |
| NO TRANSLATION.
|
|
void | BindWithThread (Thread *thread) |
| NO TRANSLATION.
|
|
int | StartTimer (int interval, TimerType timerType=tt_CoarseTimer) |
| NO TRANSLATION.
|
|
void | KillTimer (int id) |
| NO TRANSLATION.
|
|
const ObjectList< Object * > & | GetChildren () const |
| NO TRANSLATION.
|
|
template<typename T > |
T | FindChild (const String &objName=String()) const |
| NO TRANSLATION.
|
|
template<typename T > |
ObjectList< T > | FindChildren (const String &objName=String(), VSN::ChildFindingPolicies policies=VSN::FindAllNestedChildren) const |
| NO TRANSLATION.
|
|
| BasicObject () |
| Default constructor.
|
|
virtual | ~BasicObject () |
| Destructor.
|
|
GeomFTTextObject class generates text string for outputting on the screen.