10 More Discussions You Might Find Interesting
1. Linux
Hi all,
I am trying to get below information from linux machine, could you please assist me to get this information using a command(s) or small script:
SectorsPerTrack
TotalCylinders
TotalHeads
TotalTracks
TracksPerCylinder
i am aware of fdisk -l command but the information provided by... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies
2. Red Hat
Can you please help me to remove this error.
Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk... (4 Replies)
Discussion started by: karthik9358
4 Replies
3. Programming
Hello. I need to draw many lines with multicolor (color is set by some pixmap (xpm)) on C++ with standart libs.
Horizontal lines are drawing succsessfully with GC and XSetTile. But non-horizontal - no good.
I rotate pixmap for all lines and then XSetTile for each line with own pixmap, but it's... (1 Reply)
Discussion started by: Yuriy
1 Replies
4. Solaris
Hi everybody,
Sorry to bother you one more time, but I have a problem with my Solaris 8 installation.
Actually, Solaris works well, I can start X and access my desktop (CDE), but I'm having troubles using Cadds (a CAO software). Cadds works, but the 3D visualization is very slow compare to... (4 Replies)
Discussion started by: firstpost
4 Replies
5. Solaris
hi Guys ..
user want mirror disk c3t9d0 (running ) to c2t9d0 (fresh hdd).
when i tried to
bash : prtvtoc /dev/rdsk/c3t9d0s2 | fmthard -s- /dev/rdsk/c2t9d0s2
it showing following error
Partition 0 not aligned on cylinder boundary: " 0 4 222 .....
unable to mirror ....
plz... (1 Reply)
Discussion started by: coolboys
1 Replies
6. Solaris
I am trying to expand the root partition on Solaris 10. I can expand root partition using format/partition command, but usually increasing cylinders on partition is done on back end. In this case I would have to expand from the front end following the table below, meaning I would have to move the... (12 Replies)
Discussion started by: mjaminal
12 Replies
7. What is on Your Mind?
Do you draw flowcharts while you do the programming , design new network or simmilar ? (8 Replies)
Discussion started by: solaris_user
8 Replies
8. Programming
Hi,
please give me, how to code to draw 3D cylinder in openGL, that should be rotated in x-direction.
waiting for your reply .. (2 Replies)
Discussion started by: Ravikishore
2 Replies
9. Ubuntu
Hi,
i am new to opengl, how to work openGL in ubuntu ,,
i am not getting which packages as to be install and how to install those packages.
and how to work with small programs..
Please guide me ,,, it will appriceated ... (7 Replies)
Discussion started by: Ravikishore
7 Replies
10. Solaris
Hi all,
I am working on Solaris 8 . Its default file system is UFS. My problem is regarding to the file system. I create two partition 1) / 1.2 Gb and 2) /home 4.5 GB
In root partition there were 76 Cylinder groups ,when I was traversing the Cylinder Groups I found that the length of one cylinder... (2 Replies)
Discussion started by: sundeep saini
2 Replies
SbCylinderSectionProjector(3) Coin SbCylinderSectionProjector(3)
NAME
SbCylinderSectionProjector -
The SbCylinderSectionProjector projects 2D points to a sliced cylinder.
The projection cylinder for this class is sliced by a clipping plane parallel to its height axis. Projections will be mapped to the
remaining cylinder part.
SYNOPSIS
#include <Inventor/projectors/SbCylinderSectionProjector.h>
Inherits SbCylinderProjector.
Inherited by SbCylinderPlaneProjector.
Public Member Functions
SbCylinderSectionProjector (const float edgetol=0.9f, const SbBool orienttoeye=TRUE)
SbCylinderSectionProjector (const SbCylinder &cyl, const float edgetol=0.9f, const SbBool orienttoeye=TRUE)
virtual SbProjector * copy (void) const
virtual SbVec3f project (const SbVec2f &point)
virtual SbRotation getRotation (const SbVec3f &point1, const SbVec3f &point2)
void setTolerance (const float edgetol)
float getTolerance (void) const
SbBool isWithinTolerance (const SbVec3f &point)
Protected Member Functions
virtual void setupTolerance (void)
Protected Attributes
float tolerance
float tolDist
SbVec3f planeDir
SbLine planeLine
float planeDist
SbPlane tolPlane
Detailed Description
The SbCylinderSectionProjector projects 2D points to a sliced cylinder.
The projection cylinder for this class is sliced by a clipping plane parallel to its height axis. Projections will be mapped to the
remaining cylinder part.
See also:
SbSphereSectionProjector
Constructor & Destructor Documentation
SbCylinderSectionProjector::SbCylinderSectionProjector (const floatedgetol = 0.9f, const SbBoolorienttoeye = TRUE)
Default constructor. See SbCylinderProjector::SbCylinderProjector().
The edgetol value should be within <0, 1], and specifies how much of the cylinder is used as a projection surface. 1.0 means the full front
half is used.
SbCylinderSectionProjector::SbCylinderSectionProjector (const SbCylinder &cyl, const floatedgetol = 0.9f, const SbBoolorienttoeye = TRUE)
Constructor with explicit setting of the projection cylinder.
Member Function Documentation
SbProjector * SbCylinderSectionProjector::copy (void) const [virtual]
Construct and return a copy of this projector. The caller is responsible for destructing the new instance.
Note that if the Coin library has been built as a DLL under Microsoft Windows and you use this method from application code, you must make
sure that both the Coin DLL and the application executable is using the same instance of a C Run-Time (CRT) library. Otherwise, you will
get memory heap corruption upon deallocating the returned instances, eventually leading to mysterious crashes.
Implements SbProjector.
Reimplemented in SbCylinderPlaneProjector.
SbVec3f SbCylinderSectionProjector::project (const SbVec2f &point) [virtual]
Project the 2D point from normalized viewport coordinates to a 3D point. The mapping will be done in accordance with the type of the
projector.
Implements SbCylinderProjector.
Reimplemented in SbCylinderPlaneProjector.
SbRotation SbCylinderSectionProjector::getRotation (const SbVec3f &point1, const SbVec3f &point2) [virtual]
Returns rotation on the projection surface which re-orients point1 to point2.
Implements SbCylinderProjector.
Reimplemented in SbCylinderPlaneProjector.
void SbCylinderSectionProjector::setTolerance (const floatedgetol)
The edgetol value decides how much of the surface of the cylinder is used for projection. 1.0 means the full cylinder half is used.
float SbCylinderSectionProjector::getTolerance (void) const
Returns edge tolerance for the cylinder half.
SbBool SbCylinderSectionProjector::isWithinTolerance (const SbVec3f &point)
Check if point is within the part of the cylinder used for projections.
void SbCylinderSectionProjector::setupTolerance (void) [protected], [virtual]
Recalculate the internal projection surface settings. Needs to be done if any of the parameters influencing the projection surface have
been changed from subclasses without using the access methods.
Member Data Documentation
SbCylinderSectionProjector::tolerance [protected]
Tolerance value, deciding how much of the half-cylinder to do projections against.
SbCylinderSectionProjector::tolDist [protected]
Tolerance value multiplied with the cylinder radius.
SbCylinderSectionProjector::planeDir [protected]
Direction of cutting plane.
SbCylinderSectionProjector::planeLine [protected]
A line within the plane which is parallel to the cylinder axis.
SbCylinderSectionProjector::planeDist [protected]
Distance from plane to cylinder axis.
SbCylinderSectionProjector::tolPlane [protected]
Defines the plane cutting the cylinder into a projection part.
Author
Generated automatically by Doxygen for Coin from the source code.
Version 3.1.3 Wed May 23 2012 SbCylinderSectionProjector(3)