class DVaxes: public DVobject

A class for creating axes for use in DataViewer scenes.

Inheritance:


Public Methods

[more] DVaxes()
Default constructor.
[more] DVaxes(float x, float y, float z)
Constructor.
[more] DVaxes(float *center)
Constructor.
[more] DVaxes(float x, float y, float z, float d1x, float d1y, float d1z, float d2x, float d2y, float d2z, float d3x, float d3y, float d3z)
Constructor.
[more] DVaxes(float *center, float *directions)
Constructor.
[more] DVaxes(LCVMarray<float> center)
Constructor.
[more] DVaxes(LCVMarray<float> center, LCVMarray<float> x_dir, LCVMarray<float> y_dir, LCVMarray<float> z_dir)
Constructor.
[more] DVaxes(LCVMarray<float> center, LCVMarray_2D<float> directions)
Constructor.
[more] DVaxes(LCVMarray_2D<float> coords)
Constructor.
[more]void reset_data(LCVMarray<float> center, LCVMarray<float> x_dir, LCVMarray<float> y_dir, LCVMarray<float> z_dir)
Change the position and orientation of the axes.
[more]virtual ~DVaxes()
The destructor
[more]virtual void draw(LCVMstack<DVproperty*>&)
The draw routine.
[more]virtual DVobject* copy()
We also want a routine that returns a pointer to a copy of the object created with new.
[more] DVaxes(const DVaxes &data)
A copy constructor
[more]const DVaxes& operator=(const DVaxes &data)
An assignment operator
[more] DVaxes(FileOption a_file_op)
constructor from the global file with a file format option

Protected Fields

[more]LCVMarray_2D<float> points

Protected Methods

[more]void set_data()
[more]void set_data(float x, float y, float z)
[more]void set_data(float *center)
[more]void set_data(float x, float y, float z, float d1x, float d1y, float d1z, float d2x, float d2y, float d2z, float d3x, float d3y, float d3z)
[more]void set_data(float *center, float *directions)
[more]void set_data(LCVMarray<float> center)
[more]void set_data(LCVMarray<float> center, LCVMarray<float> x_dir, LCVMarray<float> y_dir, LCVMarray<float> z_dir)
[more]void set_data(LCVMarray<float> center, LCVMarray_2D<float> directions)
[more]void set_data(LCVMarray_2D<float> coords)
[more]void set_data(const DVaxes &data)


Inherited from DVobject:

Public Methods

oDVobject& set_translate(LCVMarray<float> &data)
oDVobject& set_translate(const float x, const float y, const float z)
oDVobject& add_translate(LCVMarray<float> &data)
oDVobject& add_translate(const float x, const float y, const float z)
oDVobject& set_rotate(LCVMarray<float> &data, const float angle, const char type='d')
oDVobject& set_rotate( const float x, const float y, const float z, const float angle, const char type='d' )
oDVobject& add_rotate(LCVMarray<float> &data, const float angle, const char type='d')
oDVobject& add_rotate( const float x, const float y, const float z, const float angle, const char type='d' )
ovoid get_translation(LCVMarray<float>&)
ovoid get_rotation(LCVMarray<float>&, float&)
ovoid set_OpenGL_lighting_properties(DVlight_properties_property_item_array &lights)
ovoid set_OpenGL_material_properties(DVmaterial_properties_property_item &material, DVcolor &color)
ovoid set_OpenGL_color(DVcolor &color)
ovirtual DVobject& copy_child(DVobject &child)
ovirtual DVobject& delete_current_child()
oint operator==(const DVobject &data)
oint operator!=(const DVobject &data)
ovirtual void print(ostream &)
ofriend ostream& operator<<(ostream &, DVobject &)
oint ReadProp()
ovoid ReadDVrotate()
ovoid ReadDVtranslation()
ovoid ReadSimpleProps()

Public

o
o

Protected Fields

oclass DVcontainerbase LCVMarray<float> translation
oLCVMarray<float> rotation_axis
ofloat rotation_angle
oLCVMarray<float> rotation_quaterions

Protected Methods

ovoid axis_to_quat(LCVMarray<float> axis, float angle, LCVMarray<float> &quat)
ovoid quat_to_axis(LCVMarray<float> quat, LCVMarray<float> &axis, float &angle)
ovoid add_quat(LCVMarray<float> a, LCVMarray<float> b, LCVMarray<float> &c)


Inherited from DVselect_property:

Public Fields

oDVcolor_select_property_item_array color
oDVpositive_float_select_property_item_array width
oDVcomplexity_int_select_property_item geometry_complexity
oDVcomplexity_int_select_property_item light_complexity
oDVscale_select_property_item scale
oDVcolor_by_data_select_property_item_array color_by_data
oDVrich_light_properties_select_property_item_array lights
oDVrich_material_properties_select_property_item_array material

Public Methods

ovoid extract_properties(DVproperty&)
ovoid default_lighting()
ovoid ReadDVColor()
ovoid ReadDVlightComp()
ovoid ReadDVgeomComp()
ovoid ReadDVscale()
ovoid ReadDVwidth()
ovoid ReadColorMap()


Documentation

A class for creating axes for use in DataViewer scenes.
o DVaxes()
Default constructor. Axes will be centered at (0,0,0)

o DVaxes(float x, float y, float z)
Constructor. Axes will be centered at (x,y,z)

o DVaxes(float *center)
Constructor. Axes will be centered at (center[0],center[1],center[2])

o DVaxes(float x, float y, float z, float d1x, float d1y, float d1z, float d2x, float d2y, float d2z, float d3x, float d3y, float d3z)
Constructor. Axes will be centered at (x,y,z) and will have directors d1,d2, and d3.

o DVaxes(float *center, float *directions)
Constructor. Axes will be centered at (x,y,z) and will have directors d1=(directions[0],...), d2=(directions[3],...), and d3=(directions[6],...).

o DVaxes(LCVMarray<float> center)
Constructor. Axes will be centered at (center[0],center[1],center[2])

o DVaxes(LCVMarray<float> center, LCVMarray<float> x_dir, LCVMarray<float> y_dir, LCVMarray<float> z_dir)
Constructor. Axes will be centered at (x,y,z) and will have directors x_dir,y_dir, and z_dir.

o DVaxes(LCVMarray<float> center, LCVMarray_2D<float> directions)
Constructor. Axes will be centered at (x,y,z) and will have directors d1=(directions[0][0],...), d2=(directions[1][0],...), and d3=(directions[2][0],...).

o DVaxes(LCVMarray_2D<float> coords)
Constructor. Axes will be centered at (0,0,0) and will have directors d1=(coords[0][0],...), d2=(directions[1][0],...), and d3=(coords[2][0],...).

ovoid reset_data(LCVMarray<float> center, LCVMarray<float> x_dir, LCVMarray<float> y_dir, LCVMarray<float> z_dir)
Change the position and orientation of the axes.

ovirtual ~DVaxes()
The destructor

ovirtual void draw(LCVMstack<DVproperty*>&)
The draw routine.

ovirtual DVobject* copy()
We also want a routine that returns a pointer to a copy of the object created with new.

o DVaxes(const DVaxes &data)
A copy constructor

oconst DVaxes& operator=(const DVaxes &data)
An assignment operator

o DVaxes(FileOption a_file_op)
constructor from the global file with a file format option

oLCVMarray_2D<float> points

ovoid set_data()

ovoid set_data(float x, float y, float z)

ovoid set_data(float *center)

ovoid set_data(float x, float y, float z, float d1x, float d1y, float d1z, float d2x, float d2y, float d2z, float d3x, float d3y, float d3z)

ovoid set_data(float *center, float *directions)

ovoid set_data(LCVMarray<float> center)

ovoid set_data(LCVMarray<float> center, LCVMarray<float> x_dir, LCVMarray<float> y_dir, LCVMarray<float> z_dir)

ovoid set_data(LCVMarray<float> center, LCVMarray_2D<float> directions)

ovoid set_data(LCVMarray_2D<float> coords)

ovoid set_data(const DVaxes &data)


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.