C++/CLI in Action is a practical guide that will help you breathe new life into your legacy C++ programs. The book begins with a concise C++/CLI tutorial. It then quickly moves to the key themes of native/managed code interop and mixed-mode programming. You抣l learn to take advantage of GUI frameworks like Windows Forms and WPF while keeping your native C++ business logic. The book also covers methods for accessing C# or VB.NET components and libraries. Written for readers with a working knowledge of C++.
This sample demonstrates how to take pictures and videos using the CameraCaptureDialog
managed API.
If a default filename is used:
- if a still picture is taken, the ".jpg" extension is appended to the default filename.
(Otherwise the CameraCaptureDialog would throw an InvalidArgumentException).
- if a video is recorded, null is passed to the CameraCaptureDialog as the default filename.
The filename returned is then renamed to match the user entered filename while keeping the
extension returned.
In 1960, R.E. Kalman published his famous paper describing a recursive solution to the discretedata
linear filtering problem [Kalman60]. Since that time, due in large part to advances in digital
computing, the
Kalman filter
has been the subject of extensive research and application,
particularly in the area of autonomous or assisted navigation. A very “friendly” introduction to the
general idea of the Kalman filter can be found in Chapter 1 of [Maybeck79], while a more complete
introductory discussion can be found in [Sorenson70], which also contains some interesting
historical narrative.
Streaming refers to the ability of an application to play synchronised media streams like audio and video streams in a continuous way while those streams are being transmitted to the client over a data network.
This paper studies the problem of categorical data clustering,
especially for transactional data characterized by high
dimensionality and large volume. Starting from a heuristic method
of increasing the height-to-width ratio of the cluster histogram, we
develop a novel algorithm – CLOPE, which is very fast and
scalable, while being quite effective. We demonstrate the
performance of our algorithm on two real world
C++ Template Metaprogramming sheds light on the most powerful idioms of today s C++, at long last delivering practical metaprogramming tools and techniques into the hands of the everyday programmer.
A metaprogram is a program that generates or manipulates program code. Ever since generic programming was introduced to C++, programmers have discovered myriad "template tricks" for manipulating programs as they are compiled, effectively eliminating the barrier between program and metaprogram. while excitement among C++ experts about these capabilities has reached the community at large, their practical application remains out of reach for most programmers. This book explains what metaprogramming is and how it is best used. It provides the foundation you ll need to use the template metaprogramming effectively in your own work.
Developers use algorithms and data structures every day of their working lives. Having a good under-standing of these algorithms and knowledge of when to apply them is essential to producing softwarethat not only works correctly, but also performs efficiently.
This book aims to explain those algorithms and data structures most commonly encountered in day-to-day software development, while remaining at all times practical, concise, and to the point, with little orno verbiage to distract from the core concepts and examples.
This paper presents an interactive technique that
produces static hairstyles by generating individual hair strands
of the desired shape and color, subject to the presence of gravity
and collisions. A variety of hairstyles can be generated by
adjusting the wisp parameters, while the deformation is solved
efficiently, accounting for the effects of gravity and collisions.
Wisps are generated employing statistical approaches. As for
hair deformation, we propose a method which is based on
physical simulation concepts but is simplified to efficiently
solve the static shape of hair. On top of the statistical wisp
model and the deformation solver, a constraint-based styler
is proposed to model artificial features that oppose the natural
flow of hair under gravity and hair elasticity, such as a hairpin.
Our technique spans a wider range of human hairstyles than
previously proposed methods, and the styles generated by this
technique are fairly realistic.