Version: 6.3.1

Point Marker


You can change the representation of points in the 3D viewer either by selecting one of the predefined shapes or by loading a custom texture from an external file.

  • Standard point markers

The Post-Pro module provides a set of predefined point marker shapes which can be used to display points in the 3D viewer. Each standard point marker has two attributes: type (defines shape form) and scale factor (defines shape size).

point_marker_dlg1.png


std_point_marker.png

Presentation with standard point markers


There is also an additional type of point marker - Point Sprite marker, which allows to display points as OpenGL point sprites with predefined shape and alpha mask. This marker is added to the end of the list of standard markers.

Note:
The Point Sprite marker is insensitive to scale factor parameter, but it is possible to change its magnification by pressing "m" and "M" (Shift + "m") buttons in the view, just like for Gauss Points presentation.
point_marker_dlg3.png


point_sprite_marker.png

Presentation with Point Sprite marker

  • Custom point markers

It is also possible to load a point marker shape from an external file. This file should provide a description of the point texture as a set of lines; each line is represented as a sequence of "0" and "1" symbols, where "1" symbol means an opaque pixel and "0" symbol means a transparent pixel. The width of the texture corresponds to the length of the longest line in the file, expanded to the nearest byte-aligned value. The height of the texture is equal to the number of non-empty lines in the file. Note that missing symbols are replaced by "0".

Here is a texture file sample:

00111100
00111100
11111111
11111111
11111111
11111111
00111100
00111100
point_marker_dlg2.png


custom_point_marker.png

Presentation with custom point markers

See Also a sample script of using Point Marker functionality via TUI.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS