Index

C++ Code Documentation

isight::context::GeomObjectSet

Derived from: isight::context::ContextBase1

Children: isight::context::Write

File: VIEWER/isight/context/GeomObjectSet.H

public:
  • GeomObjectSet( ContextSetBase *base );
    void constructor
  • virtual ~GeomObjectSet();
    destructor
  • geom::Box const &box() const;
  • void set_center( math::Vector3<double> const ¢er, math::Vector3<double> const &position );
protected:
  • virtual void refresh() = 0;
  • void insert_geomobject( geom::SurfaceGL const * );
    insert a geomobject
  • motion::Transform const &geomobject_position( uint id ) const;
    get the position of the id'th surface
  • void geomobject_position( uint id, motion::Transform const &t );
    set the position of all surfaces
  • void geomobject_reset_position();
    reset the position of all surfaces
  • void move( motion::TransformX const &x ) const;
    move all surfaces
  • void draw() const;
    draw all surfaces
private:
  • void compute_box();
  • void _initialize( motion::Transform const &p, motion::Transform const &t );
  • void delete_geomobject( uint id );
    remove surface 'id' from the context
  • void delete_all_geomobjects();
    remove all surfaces form the context
  • bool geomobject_showing( uint id ) const;
  • void geomobject_showing( uint id, bool state );
  • bool geomobject_moving( uint id ) const;
  • void geomobject_moving( bool state );
  • void geomobject_moving( uint id, bool state );
  • void geomobject_reset_position( uint id );
  • virtual uint geomobject_count() const;
  • motion::Place const &initial_place() const;
  • motion::Place &initial_place();
  • motion::Center const ¢er() const;
  • motion::Center ¢er();
  • void geomobject_view_mode( int );
    void compute_initial_place();
  • virtual GeomObject const *geomobject() const;
  • static void initialize( geom::Box &a );
    void _compute_initial_place( geom::Box const &box ); void _compute_center( motion::Center &x ); void _reset();
  • static void merge( geom::Box &a, geom::Box const &b );
  • motion::Place _initial_place;
    motion::Place _initial_place0;
  • motion::Center _center;
  • mutable motion::Mobile _null_object;
  • uint _move_count;
  • geom::Box _box;
  • base::vector< GeomObject *> _;
  • GeomObjectSet( GeomObjectSet const & );
    disabled copy constructor
  • GeomObjectSet &operator=( GeomObjectSet const & );
    disabled assignment operator


isight::context::GeomObjectSet GANG