Bit Field for Behavior on Graphics

Macros

#define kA3DGraphicsFatherHeritColor   0x0010
 
#define kA3DGraphicsFatherHeritLayer   0x0040
 
#define kA3DGraphicsFatherHeritLinePattern   0x0400
 
#define kA3DGraphicsFatherHeritLineWidth   0x1000
 
#define kA3DGraphicsFatherHeritShow   0x0004
 
#define kA3DGraphicsFatherHeritTransparency   0x0100
 
#define kA3DGraphicsRemoved   0x2000
 
#define kA3DGraphicsShow   0x0001
 
#define kA3DGraphicsSonHeritColor   0x0008
 
#define kA3DGraphicsSonHeritLayer   0x0020
 
#define kA3DGraphicsSonHeritLinePattern   0x0200
 
#define kA3DGraphicsSonHeritLineWidth   0x0800
 
#define kA3DGraphicsSonHeritShow   0x0002
 
#define kA3DGraphicsSonHeritTransparency   0x0080
 

Detailed Description

Version
2.0

This bit field defines the behavior of a given entity, regarding its visibility, color, transparency, layer, line pattern and line width, given its position in the tree of entities. The inheritance works as follows:

Following the path of a leaf in the tree of entities:

To determine the value of a son regarding his father, the following rules can be applied:

Following are different configurations that can be found:

graphicsbits_image001.png
This tree has no flag; each node defines its own color. This is the reference. Each following diagram is the same than this one, but with different flags on some nodes. The 'S' means that the node has a SonHerit flag, the 'F'; that the node has a FatherHerit flag.
graphicsbits_image002.png
The second leaf does not have a SonHerit flag. It takes the pattern of its father.
graphicsbits_image003.png
The second leaf does not have a SonHerit flag, and also its father. So it takes its own value of pattern.
graphicsbits_image004.png
The second node has a FatherHerit flag. Its sons don't have any flag. They take the pattern of their father.
graphicsbits_image005.png
The second node has a FatherHerit flag. The first leaf has a SonHerit flag. It takes its own pattern. But the second leaf doesn't have a SonHerit flag, so it takes the pattern of its father.
graphicsbits_image006.png
The root node has a FatherHerit flag. The entire tree takes its pattern.
graphicsbits_image007.png
The root node has a FatherHerit flag. The second node too, so it takes the pattern of its father. The first leaf has a SonHerit flag, so it takes its own pattern. But the second leaf has no flag, so it takes the pattern of its father.

NB1: The SonHerit flag overrides the FatherHerit flag.

Macro Definition Documentation

◆ kA3DGraphicsShow

#define kA3DGraphicsShow   0x0001

Entity is shown.

◆ kA3DGraphicsSonHeritShow

#define kA3DGraphicsSonHeritShow   0x0002

Show inheritance.

◆ kA3DGraphicsFatherHeritShow

#define kA3DGraphicsFatherHeritShow   0x0004

Show inheritance.

◆ kA3DGraphicsSonHeritColor

#define kA3DGraphicsSonHeritColor   0x0008

Color / material inheritance.

◆ kA3DGraphicsFatherHeritColor

#define kA3DGraphicsFatherHeritColor   0x0010

Color / material inheritance.

◆ kA3DGraphicsSonHeritLayer

#define kA3DGraphicsSonHeritLayer   0x0020

Layer inheritance.

◆ kA3DGraphicsFatherHeritLayer

#define kA3DGraphicsFatherHeritLayer   0x0040

Layer inheritance.

◆ kA3DGraphicsSonHeritTransparency

#define kA3DGraphicsSonHeritTransparency   0x0080

Transparency inheritance.

◆ kA3DGraphicsFatherHeritTransparency

#define kA3DGraphicsFatherHeritTransparency   0x0100

Transparency inheritance.

◆ kA3DGraphicsSonHeritLinePattern

#define kA3DGraphicsSonHeritLinePattern   0x0200

Line pattern inheritance.

◆ kA3DGraphicsFatherHeritLinePattern

#define kA3DGraphicsFatherHeritLinePattern   0x0400

Line pattern inheritance.

◆ kA3DGraphicsSonHeritLineWidth

#define kA3DGraphicsSonHeritLineWidth   0x0800

Line width inheritance.

◆ kA3DGraphicsFatherHeritLineWidth

#define kA3DGraphicsFatherHeritLineWidth   0x1000

Line width inheritance.

◆ kA3DGraphicsRemoved

#define kA3DGraphicsRemoved   0x2000

Entity is removed. As a result, the entity no longer appears in the tree.