For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Triedron disappear

hem's picture
Forums: 

I use Zbuffer triedron in my project.A phenomenon appeared.
When I zoom in my view,the triedron disappeared.

My codes as below:
//setup triedron
myView->ZBufferTriedronSetup();
myView->TriedronDisplay(Aspect_TOTP_LEFT_LOWER, Quantity_NOC_PURPLE, 0.1, V3d_ZBUFFER);

//zoom my view

void DynamicZoom( int minX,int minY,int maxX,int maxY )
{
try
{
myView->Zoom(minX,minY,maxX,maxY);

}
catch (exception& e)
{

}
catch(...)
{

}
}

Any one could provide me solution? Thank you very much