WT_Units Class Reference
[Support objects]

#include <units.h>

Inheritance diagram for WT_Units:

Inheritance graph
[legend]
Collaboration diagram for WT_Units:

Collaboration graph
[legend]
List of all members.

Detailed Description

Stores the transform between source (authoring tool) coordinate space and WHIP! drawing coordinate space.

Definition at line 36 of file units.h.

Public Member Functions

 WT_Units ()
 Constructs a WT_Units object.
 WT_Units (WT_Matrix const &xform, WT_String units)
 Constructs a WT_Units object with the given data.
 WT_Units (WT_Units const &units)
 Copy Constructor.
virtual ~WT_Units ()
WT_Boolean operator== (WT_Units const &) const
 Returns WD_True if the unit objects are equal.
WT_Boolean operator!= (WT_Units const &u) const
 Returns WD_True if the unit objects are NOT equal.
WT_Matrix const & application_to_dwf_transform () const
 Returns a transform which converts from source (authoring tool) coordinates to WHIP! coordinates.
WT_Matrix const & dwf_to_application_adjoint_transform ()
 Returns a transform which converts from WHIP! coordinates to source (authoring tool) coordinates.
void set_application_to_dwf_transform (WT_Matrix const &xform)
 Sets the transform which converts from source (authoring tool) coordinates to WHIP! coordinates.
void set_units (WT_String const &units)
 Sets the string describing the source unit of measure.
void set_units (int length, WT_Unsigned_Integer16 const *units)
 Sets the string describing the source unit of measure from the given string buffer.
WT_String const & units () const
 Returns the string describing the source unit of measure.
WT_Point3D transform (WT_Logical_Point const &in_pt)
 Transforms the given point from WHIP! coordinates to source (authoring tool) coordinates.
WT_Logical_Point transform (WT_Point3D const &in_pt) const
 Transforms the given point from source (authoring tool) coordinates to WHIP! coordinates.
WT_Point3D transform_from_DWF_to_application (WT_Point3D const &in_pt)
 Transforms the given point from WHIP! coordinates to source (authoring tool) coordinates.
WT_Point3D transform_from_application_to_DWF (WT_Point3D const &in_pt) const
 Transforms the given point from source (authoring tool) coordinates to WHIP! coordinates.
WT_Result materialize (WT_Opcode const &opcode, WT_File &file)
 Materializes the contents of the object from the file and the given opcode.
WT_Object::WT_ID object_id () const
 Returns the WT_ID for this object.
WT_Object::WT_Type object_type () const
 Returns the WT_Type for this object.
WT_Result process (WT_File &file)
 Calls the configured action handler for this object (passes in the file reference.).
WT_Result serialize (WT_File &file) const
 Causes the serialization of the object to the file.
WT_Result skip_operand (WT_Opcode const &opcode, WT_File &file)
 Causes the file reading to proceed to the end of this object.

Static Public Member Functions

static WT_Result default_process (WT_Units &item, WT_File &file)
 Provides a default action handler for this object.

Friends

class WT_Drawing_Info
class WT_W2D_Class_Factory
class WT_Opcode


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:41:27 2009 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.5