Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <CGraphicsRect.hpp>
Public Types | |
enum class | EDashedLineType { Continuous , Dashed4_2 } |
enum class | EDetailLevel { Low , Normal , High , VeryHigh } |
enum class | EDrawSolidType { Smooth , Solid , Wire } |
enum class | ELight { General , Light0 } |
enum class | ELightType { Ambient , Diffuse , Specular } |
enum class | EMatrixModel { ModelView , Projection } |
Public Member Functions | |
CGraphicsRect () | |
CGraphicsRect (const CGraphicsRect &)=delete | |
~CGraphicsRect () override | |
CGraphicsRect & | operator= (const CGraphicsRect &)=delete |
CGraphicsRect (IGraphics *graphics) | |
CLimits * | getLimits () const |
bool | getLimits (double *xMin, double *yMin, double *zMin, double *xMax, double *yMax, double *zMax) const |
void | scale (double sx, double sy, double sz) override |
Static Public Attributes | |
static constexpr uint32_t | BlockNull = UINT_MAX |
Private Member Functions | |
void | setBackGroundColor (iv::types::color rgb) override |
void | setClearColor () override |
void | initDevice () override |
void | initLight () override |
void | clear () override |
void | defineMaterial (const iv::ui::graphics::Material *material, const bool &isChanged) override |
bool | isDefinedMaterial (const std::string &materialName) override |
void | pushMaterial () override |
void | setMaterial (const std::string &layerName) override |
void | popMaterial () override |
void | setColorRGB (iv::types::color rgb) override |
void | setColorARGB (iv::types::color argb) override |
void | setLineWidth (float width) override |
void | setAlpha (float alpha) override |
void | resetAlpha () override |
void | setOnTexture (bool enableTexture) override |
std::shared_ptr< iv::ui::graphics::Image > | loadImage (const iv::ui::resources::ImageResource &resource) override |
void | appendMatrix (const CMatrix4x4 &matrix) override |
void | setModelMatrix (IGraphics::EMatrixModel matrixModel) override |
void | popTransformation () override |
void | pushTransformation () override |
void | resetTransformation () override |
void | defineLight (IGraphics::ELight light, IGraphics::ELightType lightType, double rColor, double gColor, double bColor) override |
void | positionLight (IGraphics::ELight light, double x, double y, double z) override |
void | viewport (int32_t x, int32_t y, uint64_t sizeX, uint64_t sizeY) override |
void | definePerspective (double fovy, double ratioXForY, double zNear, double zFar) override |
void | defineOrthogonal (double xOrg, double yOrg, double zOrg, double xMin, double yMin, double zMin, double xMax, double yMax, double zMax) override |
void | positionCamera (double eyeX, double eyeY, double eyeZ, double pointReferenceX, double pointReferenceY, double pointReferenceZ, double upX, double upY, double upZ) override |
void | rotation (double angleDegrees, double Ux, double Uy, double Uz) override |
void | setNormal (double Nx, double Ny, double Nz) override |
void | translation (double tx, double ty, double tz) override |
void | drawContours (const std::vector< std::shared_ptr< std::vector< iv::math::geometry::Point3d > > > &contours) override |
void | drawFanTriangles (const float *points, const float *normals, const float *textureOpt, const float *rgbaOpt, uint64_t numPoints, const uint32_t *indVertex, uint64_t numVertex) override |
void | drawImage (double x, double y, double width, double height, const iv::ui::resources::ImageResource &resource) override |
void | drawImageRawSize (double x, double y, const iv::ui::resources::ImageResource &resource) override |
void | drawImageWithColor (double x, double y, iv::types::color colorRGB, double width, double height, const iv::ui::resources::ImageResource &resource) override |
void | drawLine (double x1, double y1, double z1, double x2, double y2, double z2) override |
void | drawLineWithStyle (double x1, double y1, double z1, double x2, double y2, double z2, IGraphics::EDashedLineType dashedLineType) override |
void | drawArc (double radiusMark, iv::types::radian angleInitial, iv::types::radian angleFinal, float thickness, uint64_t kPrvNumPoints) override |
void | drawPolyline (const float *vertex, uint64_t numVertex) override |
void | drawPolylineFilled (const float *vertex, uint64_t numVertex) override |
void | drawPolylinesWithColors (const std::shared_ptr< std::vector< iv::math::geometry::Point2d > > &points, const std::vector< iv::math::geometry::Point3d > &rgb) override |
void | drawQuads (double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3, double x4, double y4, double z4) override |
void | drawRect (double x1, double y1, double x2, double y2) override |
void | drawRectFilled (double x1, double y1, double x2, double y2) override |
void | drawStripTriangles (const float *points, const float *normals, const float *textureOpt, const float *rgbaOpt, uint64_t numPoints, const uint32_t *indVertex, uint64_t numVertex) override |
void | drawText (const std::string &text, double x, double y, double height, unsigned char justify) override |
void | drawTextWithDeviceHeight (const std::string &text, double x, double y, double height, unsigned char justify) override |
void | drawTriangle (double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3) override |
void | drawTriangles (const float *points, const float *normals, const float *textureOpt, const float *rgbaOpt, uint64_t numPoints, const uint32_t *indVertex, uint64_t numVertex) override |
void | drawUnitCone (IGraphics::EDetailLevel detailLevel) override |
void | drawUnitCube () override |
void | drawUnitCylinder (IGraphics::EDetailLevel detailLevel) override |
void | drawUnitDisk (IGraphics::EDetailLevel detailLevel) override |
void | drawUnitSphere (IGraphics::EDetailLevel detailLevel) override |
bool | hasDrawPolylineFilled () const override |
void | setModeDraw (IGraphics::EDrawSolidType drawSolidType) override |
uint32_t | blockTextWithModifiers (const std::string &text, const iv::ui::TextModifier &textModifier, double *widthText, double *heightTextOut) override |
void | drawBlockText (uint32_t idBlockText, double x, double y, double widthText, double heightText, unsigned char justify) override |
void | endBlockText (uint32_t *idBlockText) override |
bool | hasBlockText () const override |
uint32_t | beginBlock () override |
void | drawBlock (uint32_t idBlock) override |
void | endBlock (uint32_t idBlock) override |
bool | hasManagerBlocks () const override |
void | removeBlock (uint32_t *idBlock) override |
void | beginStencilBuffer () override |
void | endStencilBuffer () override |
void | offStencilBuffer () override |
void | onStencilBuffer () override |
void | getCoordTextCornerLeftDown (const std::string &text, double x, double y, double heightCharacter, unsigned char justify, double *xCornerLeftDown, double *yCornerLeftDown, double *widthTextOpt, double *heightTextOpt) override |
void | getSizePixelToWorld (double sizePixelX, double sizePixelY, double *sizeWorldXOpt, double *sizeWorldYOpt) override |
void | getSizeText (const std::string &text, double heightCharacter, double *widthText, double *heightText) override |
void | setBlend (bool isEnable) override |
void | setTestDepth (bool isEnable) override |
Private Attributes | |
CLimits * | m_limits {} |
bool | m_hasDelete |
IGraphics * | m_graphicsDestinyOpt {} |
CStackTransformation | m_stackTransformation {} |
|
stronginherited |
|
stronginherited |
|
stronginherited |
|
stronginherited |
|
stronginherited |
|
stronginherited |
CGraphicsRect::CGraphicsRect | ( | ) |
|
delete |
|
override |
|
explicit |
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
nodiscard |
bool CGraphicsRect::getLimits | ( | double * | xMin, |
double * | yMin, | ||
double * | zMin, | ||
double * | xMax, | ||
double * | yMax, | ||
double * | zMax ) const |
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
nodiscardoverrideprivatevirtual |
Implements IGraphics.
|
nodiscardoverrideprivatevirtual |
Implements IGraphics.
|
nodiscardoverrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
delete |
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overridevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
overrideprivatevirtual |
Implements IGraphics.
|
staticconstexprinherited |
|
private |
|
private |
|
private |
|
private |