Miscellaneous Macros(3) Coin Miscellaneous Macros(3)NAME
Miscellaneous Macros - When extending Coin, there are a number of macros one needs to know about and use. .SS "Node Macros"
o SO_NODE_HEADER
o SO_NODE_ABSTRACT_HEADER
o SO_NODE_SOURCE
o SO_NODE_ABSTRACT_SOURCE
o SO_NODE_INIT_CLASS
o SO_NODE_INIT_ABSTRACT_CLASS
o SO_NODE_IS_FIRST_INSTANCE
o SO_NODE_CONSTRUCTOR
o SO_NODE_ADD_FIELD
o SO_NODE_DEFINE_ENUM_VALUE
Author
Generated automatically by Doxygen for Coin from the source code.
Version 3.1.3 Wed May 23 2012 Miscellaneous Macros(3)
Check Out this Related Man Page
Event Classes(3) Coin Event Classes(3)NAME
Event Classes -
Classes
class SoButtonEvent
The SoButtonEvent class is the base class for all button events.
The event classes which results from the user pushing buttons on some device (keyboard, mouse or spaceball) all inherit this class. The
SoButtonEvent class contains methods for setting and getting the state of the button(s). "
class SoEvent
The SoEvent class is the base class for all Coin events.
Coin contains its own set of event classes, independent of the underlying window system. "
class SoKeyboardEvent
The SoKeyboardEvent class contains information about keyboard interaction.
When the user presses any keys on the keyboard, these will be translated from a system specific event into a Coin event and sent to the
scenegraph by using instances of this class. "
class SoLocation2Event
The SoLocation2Event class contains information about 2D movement events.
Location2 events are generated by devices capable of 2D, e.g. pointer devices -- typically computer mice. Instances of this class contains
information about the position of the pointer on the render area. "
class SoMotion3Event
The SoMotion3Event class contains information about 3D movement events.
Motion3 events are generated by devices capable of '3D motion', for instance spaceballs. Instances of this class contains information about
these devices' translations and rotations in all 3 dimensions. "
class SoMouseButtonEvent
The SoMouseButtonEvent class contains information about mousebutton interaction.
When the user presses any buttons on the mouse, these will be translated from a system specific event into a Coin event and sent to the
scenegraph by using instances of this class. "
class SoSpaceballButtonEvent
The SoSpaceballButtonEvent class contains information about spaceball button interaction.
When the user presses any buttons on a spaceball device, these will be translated from a system specific event into a Coin event and sent
to the scenegraph by using instances of this class. "
Detailed Description
These classes are te event types you can send to a scene graph through the SoHandleEventAction. They are a pretty direct mapping from the
various system event types you will have on all the host architectures.
Author
Generated automatically by Doxygen for Coin from the source code.
Version 3.1.3 Wed May 23 2012 Event Classes(3)
Hi,
I'm going write a small handbook. The typesetting software I'm going to use is troff. There are -ms -me -mm macros for troff. Which one is the most suitable? Thanks!
-Tony (2 Replies)
Hi,
I want to just expand the macros in a set of c files from a filelist which are in different directories. I don't want the header files included in the c file to be expanded. I have a perl script which does
gcc -E <infile> -I <path to search for header files> -imacros <infile>
But in... (1 Reply)
The question is , as the topic says, how does one save macros for VIM in the .vimrc.
I had a look on web and it gave all this ****** about how to build turing machines in vim code or something but i just want to store a macro to like :
if(){
}
I know how to do it IN vim but .vimrc??????!?!?!... (3 Replies)
The following is taken from some production code:
#ifdef LOCK_LOCKF
#ifdef HAVE_SYS_FILE_H
#include <sys/lockf.h>
#endif
#ifdef HAVE_SYS_FILE_H
#include <sys/file.h>
#endif
#define LOCK(file) fseek(file, 0L, 0), lockf(file, 1, 0L)
#define UNLOCK(file) fseek(file, 0L, 0),... (2 Replies)
I want to build a Makefile that simply takes a template file and modifies it (sed or perl, probably) before installing the result in the right place - my problem is creating the variable for substitution...
So I have
SYSTEM = SYS1 SYS2
SYS1_CHANNELS = CHANNEL1 CHANNEL2 CHANNEL4... (1 Reply)
Masters,
I am trying to learn the serial mouse driver for linux kernel. On the kernel source tree I find out these macros and I am unable to find out the meaning of these macros. Please anyone help me to understand these.
These macros are defined in linux/serio.h... (2 Replies)
Hi,
I've some existing scripts wherein am using ftp + .netrc. I've defined my macros in .netrc file.
I want to switch to sftp now but it seems it doesn't support macros and .netrc and it gives "command invalid" error.
Is there any other alternative?
Note: I don't want help for... (1 Reply)
Hi,
I've some existing scripts wherein am using ftp + .netrc. I've defined my macros in .netrc file.
I want to switch to sftp now but it seems it doesn't support macros and .netrc and it gives "command invalid" error.
Is there any other alternative?
Note: I don't want help for... (1 Reply)
Hey.
GCC GCOV now outputs a file called sysmacros.h as part of its results.
How can I remove it from the html?
The tags looks like this:
<tr bgcolor="e0f0d0">
<td bgcolor="dae7fe" style="padding-top: 3px; padding-left: 30px; padding-bottom: 3px; padding-right: 30px;">... (3 Replies)
I have a PORT_NUM macro (10 digits long number)
in a server file, if i do
htons(PORT_NUM)
i get
warning: this decimal constant is unsigned only in ISO C90
warning: large integer implicitly truncated to unsigned type
whats wrong with this? (2 Replies)
Hi, all
I just came to new system with RH, and it has alot of macros I was told to use, but I can't find how to open it for display or for edit, can you help me please, is it all about make/makefile?
let say I have macro <trx> like this, that does a lot of things:
>$ trx
... creating new... (1 Reply)
REALLY new to this stuff, sorry.
So I want a shell script to open a program, wait 45 minutes, close it, and then do it all again. I want to do this because I am running an iMacros Script for a long period of time and if Firefox is not constantly restarted, memory leaks start to happen.
Anyway... (6 Replies)
Is there a universal macro for any BSD system. I am currently on FreeBSD where __FreeBSD__ is defined. It looks like on NetBSD systems __NetBSD__ is defined. I have tried using __BSD__ but doesn't appear to exists. Is there a universal way of testing if you are using any BSD system with GCC?... (6 Replies)