A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/phylo__image__grabber_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/widgets/phylo_tree/phylo_image_grabber.cpp Source File

44

, m_TileViewportWidth(0)

45

, m_TileViewportHeight(0)

68  int

viewport_x, viewport_y;

83  if

(tile_aspect > 1.0f) {

203  double

width, height, left, bottom;

208

width = ceil(((

double

)full_rect.

Width

())/(

double

)(partitions.

X

()+1)) *

210

height = ceil(((

double

)full_rect.

Height

())/(

double

)(partitions.

Y

()+1)) *

216  double

one_pix_x = width/(double)vp_width;

217  double

one_pix_y = height/(double)vp_height;

219

left = full_rect.

Left

() + ((double)(index.

X

()))*width;

220

bottom = full_rect.

Top

() - (index.

Y

() + 1)*height;

221

pane_rect.

Init

(left - one_pix_x,

223

left + width + one_pix_x,

224

bottom + height + one_pix_y);

238  if

(index.

Y

() == partitions.

Y

() && index.

X

() == partitions.

X

())

CGlRect reprsents rectangle in the coordinate system with origin located in the left bottom corner.

int m_TileViewportWidth

Width and height of individual images being saved.

CPhyloTreePane & m_Pane

Pane display canvas for the tree we are saving.

CPhyloTreeScheme::TLabelTruncation m_LabelsTruncated

eCaptureResult x_CaptureImage(CVect2< int > partitions, CVect2< int > index, CVect2< size_t > &capture_size)

Capture the image at tile position 'index'.

CPhyloImageGrabber(CPhyloTreePane &pane)

void x_BeginCaptures(int buffer_size)

Called to setup values before image capturing starts.

CGlPane m_PreviousGlPane

We change some rendering options.

void x_EndCaptures()

Called to restore values (in pane) when capturing stops.

CVect2< float > m_ModelViewScaler

Ratio scalers for the drawing area that maps to the images.

IPhyloTreeRender * GetCurrRenderer(void)

void SetupHardcopyRender()

TLabelTruncation & GetLabelTruncation()

void GetMargins(GLdouble &left, GLdouble &top, GLdouble &right, GLdouble &bottom) const

TZoomBehavior GetZoomBehavior(const string &renderer)

void SetMargins(const GLdouble &left, const GLdouble &top, const GLdouble &right, const GLdouble &bottom)

void SetLabelTruncation(TLabelTruncation lt)

bool m_GuidesEnabled

If true, printing guides (like where to cut paper) will be added to image edges.

int m_GuideWidthX

If we are making space for printing guides (margins) on the sides, those margins may have different s...

CVect2< int > m_ImagePartitions

Number of partitions (tilings) in x and 1.

float m_ImageAspectRatio

Aspect ratio of image from which we are generating tiles.

static const int m_GuideWidth

Width of printing guides, if enabled.

float m_TileAspectRatio

Ratio of width to height (w/h) in captured images.

void SetRenderScale(bool s)

virtual string GetDescription(void)=0

bool GetRenderScale() const

CPhyloTreeScheme & GetScheme(void)

void SetViewport(const TVPRect &R)

TModelRect & GetModelLimitsRect(void)

void SetVisibleRect(const TModelRect &R)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

unsigned int

A callback function used to compare two keys in a database.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4