GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SOXTPRINTDIALOG (3)

NAME

SoXtPrintDialog — dialog box for controlling printing

CONTENTS

Inherits From
Synopsis
Description
Methods
See Also

INHERITS FROM

SoXtComponent > SoXtPrintDialog

SYNOPSIS

#include <Inventor/Xt/SoXtPrintDialog.h>

    typedef void    
                    
typedef void         SoXtPrintDialogCB(void *userData, SoXtPrintDialog *dialog)

Methods from class SoXtPrintDialog:

       
                    
                     SoXtPrintDialog(Widget parent = NULL, const char *name = NULL, SbBool buildInsideParent = TRUE)    
   
                    
                     ~SoXtPrintDialog()    
void    
                    
void                 setSceneGraph(SoNode *root )    
SoNode *    
                    
SoNode *             getSceneGraph()    
void    
                    
void                 setSceneGraph(SoPath *path )    
SoPath *    
                    
SoPath *             getSceneGraphPath()    
void    
                    
void                 setGLRenderAction(const SoGLRenderAction *act)    
SoGLRenderAction *    
                    
SoGLRenderAction *   getGLRenderAction()    
void    
                    
void                 setPrintSize(SbVec2f &inches)    
void    
                    
void                 setPrintSize(SbVec2s & )    
void    
                    
void                 setBeforePrintCallback(SoXtPrintDialogCB *f, void *userData = NULL)    
void    
                    
void                 setAfterPrintCallback(SoXtPrintDialogCB *f, void *userData = NULL)

Methods from class SoXtComponent:

    virtual void    
                        
virtual void             show()    
virtual void    
                        
virtual void             hide()    
SbBool    
                        
SbBool                   isVisible()    
Widget    
                        
Widget                   getWidget() const    
SbBool    
                        
SbBool                   isTopLevelShell() const    
Widget    
                        
Widget                   getShellWidget() const    
Widget    
                        
Widget                   getParentWidget() const    
void    
                        
void                     setSize(const SbVec2s &size)    
SbVec2s    
                        
SbVec2s                  getSize()    
Display *    
                        
Display *                getDisplay()    
void    
                        
void                     setTitle(const char *newTitle)    
const char *    
                        
const char *             getTitle() const    
void    
                        
void                     setIconTitle(const char *newIconTitle)    
const char *    
                        
const char *             getIconTitle() const    
void    
                        
void                     setWindowCloseCallback(SoXtComponentCB *func, void *data = NULL)    
static SoXtComponent *    
                        
static SoXtComponent *   getComponent(Widget w)    
const char *    
                        
const char *             getWidgetName() const    
const char *    
                        
const char *             getClassName() const

DESCRIPTION

This class provides an interactive widget for setting available options used in printing with the SoPrintAction and its subclasses. Options include whether to print with hidden lines or not, whether to print using the Landscape format, whether to print to a file or a printer.

METHODS

       
                    
                     SoXtPrintDialog(Widget parent = NULL, const char *name = NULL, SbBool buildInsideParent = TRUE)    
   
                    
                     ~SoXtPrintDialog()
Constructors and destructor.

    void    
                    
void                 setSceneGraph(SoNode *root )    
SoNode *    
                    
SoNode *             getSceneGraph()    
void    
                    
void                 setSceneGraph(SoPath *path )    
SoPath *    
                    
SoPath *             getSceneGraphPath()
Sets/gets the root node or path to nodes to be used for printing.

    void    
                    
void                 setGLRenderAction(const SoGLRenderAction *act)    
SoGLRenderAction *    
                    
SoGLRenderAction *   getGLRenderAction()
Sets/gets the render action to be used when printing.

    void    
                    
void                 setPrintSize(SbVec2f &inches)    
void    
                    
void                 setPrintSize(SbVec2s & )
Sets/gets the size of the printed image. This is typically the same size as the window displaying the scene to be printed.

    void    
                    
void                 setBeforePrintCallback(SoXtPrintDialogCB *f, void *userData = NULL)    
void    
                    
void                 setAfterPrintCallback(SoXtPrintDialogCB *f, void *userData = NULL)
Two callbacks are maintained, one which gets called just before a print is executed, and one which gets called after a print is executed. These two methods sets the appropriate callback function (set these to NULL to remove the callback).

SEE ALSO

SoGLRenderAction, SoXtComponent

Search for    or go to Top of page |  Section 3 |  Main Index


SOXTPRINTDIALOG(3IV) (-->)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.