Class Graphic3d_CullingTool
Methods
CacheClipPtsProjections
- CacheClipPtsProjections(): void
CameraDirection
- CameraDirection(): OpenGl_Vec3d
CameraEye
- CameraEye(): OpenGl_Vec3d
IsCulled
- IsCulled(theCtx: any, theMinPnt: OpenGl_Vec3d, theMaxPnt: OpenGl_Vec3d, theIsInside: boolean): boolean
Parameters
theCtx: any
theMinPnt: OpenGl_Vec3d
theMaxPnt: OpenGl_Vec3d
theIsInside: boolean
Returns boolean
IsOutFrustum
- IsOutFrustum(theMinPnt: OpenGl_Vec3d, theMaxPnt: OpenGl_Vec3d, theIsInside: boolean): boolean
Parameters
theMinPnt: OpenGl_Vec3d
theMaxPnt: OpenGl_Vec3d
theIsInside: boolean
Returns boolean
IsTooDistant
- IsTooDistant(theCtx: any, theMinPnt: OpenGl_Vec3d, theMaxPnt: OpenGl_Vec3d, theIsInside: boolean): boolean
Parameters
theCtx: any
theMinPnt: OpenGl_Vec3d
theMaxPnt: OpenGl_Vec3d
theIsInside: boolean
Returns boolean
IsTooSmall
- IsTooSmall(theCtx: any, theMinPnt: OpenGl_Vec3d, theMaxPnt: OpenGl_Vec3d): boolean
Parameters
theCtx: any
theMinPnt: OpenGl_Vec3d
theMaxPnt: OpenGl_Vec3d
Returns boolean
ProjectionMatrix
- ProjectionMatrix(): OpenGl_Mat4d
SetCullingDistance
- SetCullingDistance(theCtx: any, theDistance: number): void
Parameters
theCtx: any
theDistance: number
Returns void
SetCullingSize
- SetCullingSize(theCtx: any, theSize: number): void
Parameters
theCtx: any
theSize: number
Returns void
SetViewVolume
Parameters
theModelWorld: OpenGl_Mat4d
Returns void
SetViewportSize
- SetViewportSize(theViewportWidth: Graphic3d_ZLayerId, theViewportHeight: Graphic3d_ZLayerId, theResolutionRatio: number): void
Parameters
theViewportWidth: Graphic3d_ZLayerId
theViewportHeight: Graphic3d_ZLayerId
theResolutionRatio: number
Returns void
SignedPlanePointDistance
- SignedPlanePointDistance(theNormal: OpenGl_Vec4d, thePnt: OpenGl_Vec4d): number
Parameters
theNormal: OpenGl_Vec4d
thePnt: OpenGl_Vec4d
Returns number
ViewportHeight
- ViewportHeight(): Graphic3d_ZLayerId
Returns Graphic3d_ZLayerId
ViewportWidth
- ViewportWidth(): Graphic3d_ZLayerId
Returns Graphic3d_ZLayerId
WorldViewMatrix
- WorldViewMatrix(): OpenGl_Mat4d