OEDepictOrientationΒΆ

This namespace contains constants that control the preferred orientation of the 2D coordinates when calling the OEPrepareDepiction function.

The OEDepictOrientation namespace contains the following constants:

Default

The default orientation is OEDepictOrientation::Original.

Horizontal

The orientation of the 2D coordinates is changed in order to maximize the scaling of the molecule for horizontal images. See example above of depicting molecules with OEDepictOrientation::Default and OEDepictOrientation::Horizontal orientations.

OEDepictOrientation::Default OEDepictOrientation::Horizontal
../../_images/OEDepictOrientation_Horizontal_Default.png ../../_images/OEDepictOrientation_Horizontal.png

Original

No-op i.e the orientation of the 2D coordinates are not optimized in order to maximize the molecule scaling.

Square

The orientation of the 2D coordinates is changed in order to maximize the scaling of the molecule for square images. See example above of depicting molecules with OEDepictOrientation::Default and OEDepictOrientation::Square orientations.

OEDepictOrientation::Default OEDepictOrientation::Square
../../_images/OEDepictOrientation_Square_Default.png ../../_images/OEDepictOrientation_Square.png

Vertical

The orientation of the 2D coordinates is changed in order to maximize the scaling of the molecule for vertical images. See example above of depicting molecules with OEDepictOrientation::Default and OEDepictOrientation::Vertical orientations.

OEDepictOrientation::Default OEDepictOrientation::Vertical
../../_images/OEDepictOrientation_Vertical_Default.png ../../_images/OEDepictOrientation_Vertical.png